22 #include <rmm/mr/device/per_device_resource.hpp>
36 enum class scan_type : bool { INCLUSIVE, EXCLUSIVE };
84 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
105 std::optional<std::reference_wrapper<scalar const>> init,
106 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
156 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
180 std::optional<std::reference_wrapper<scalar const>> init,
181 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
205 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
216 std::pair<std::unique_ptr<scalar>, std::unique_ptr<scalar>>
minmax(
218 rmm::mr::device_memory_resource* mr = rmm::mr::get_current_device_resource());
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.
std::pair< std::unique_ptr< scalar >, std::unique_ptr< scalar > > minmax(column_view const &col, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Determines the minimum and maximum values of a column.
scan_type
Enum to describe scan operation type.
std::unique_ptr< scalar > reduce(column_view const &col, reduce_aggregation const &agg, data_type output_dtype, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Computes the reduction of the values in all rows 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, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Compute reduction of each segment in the input column.
std::unique_ptr< column > scan(column_view const &input, scan_aggregation const &agg, scan_type inclusive, null_policy null_handling=null_policy::EXCLUDE, rmm::mr::device_memory_resource *mr=rmm::mr::get_current_device_resource())
Computes the scan of a column.
inclusive
Enum used to define whether or not bins include their boundary points.
null_policy
Enum to specify whether to include nulls or exclude nulls.
@ EXCLUDE
exclude null elements
Class definitions for cudf::scalar.
Device version of C++20 std::span with reduced feature set.