21 #include <cudf/utilities/export.hpp>
28 namespace CUDF_EXPORT
cudf {
38 enum class scan_type : bool { INCLUSIVE, EXCLUSIVE };
110 std::optional<std::reference_wrapper<scalar const>> init,
189 std::optional<std::reference_wrapper<scalar const>> init,
229 std::pair<std::unique_ptr<scalar>, std::unique_ptr<scalar>>
minmax(
Representation for specifying desired aggregations from aggregation-based APIs, e....
A non-owning, immutable view of device data as a column of elements, some of which may be null as ind...
Indicator for the logical data type of an element in a column.
Derived class intended for reduction usage.
Derived class intended for scan usage.
Derived class intended for segmented reduction usage.
scan_type
Enum to describe scan operation type.
std::pair< std::unique_ptr< scalar >, std::unique_ptr< scalar > > minmax(column_view const &col, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Determines the minimum and maximum values of a column.
std::unique_ptr< column > segmented_reduce(column_view const &segmented_values, device_span< size_type const > offsets, segmented_reduce_aggregation const &agg, data_type output_dtype, null_policy null_handling, std::optional< std::reference_wrapper< scalar const >> init, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Compute reduction of each segment in the input column with an initial value. Only SUM,...
std::unique_ptr< column > scan(column_view const &input, scan_aggregation const &agg, scan_type inclusive, null_policy null_handling=null_policy::EXCLUDE, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Computes the scan of a column.
std::unique_ptr< scalar > reduce(column_view const &col, reduce_aggregation const &agg, data_type output_dtype, std::optional< std::reference_wrapper< scalar const >> init, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=rmm::mr::get_current_device_resource())
Computes the reduction of the values in all rows of a column with an initial value.
rmm::cuda_stream_view const get_default_stream()
Get the current default stream.
inclusive
Enum used to define whether or not bins include their boundary points.
cuda::mr::async_resource_ref< cuda::mr::device_accessible > device_async_resource_ref
device_memory_resource * get_current_device_resource()
null_policy
Enum to specify whether to include nulls or exclude nulls.
Class definitions for cudf::scalar.
Device version of C++20 std::span with reduced feature set.