APIs for computing reductions and scans over columns. More...
#include <cudf/aggregation.hpp>#include <cudf/scalar/scalar.hpp>#include <cudf/utilities/export.hpp>#include <cudf/utilities/memory_resource.hpp>#include <optional>Go to the source code of this file.
Namespaces | |
| cudf | |
| cuDF interfaces | |
| cudf::reduction | |
| Reduction namespace. | |
Enumerations | |
| enum class | cudf::scan_type : bool { INCLUSIVE , EXCLUSIVE } |
| Enum to describe scan operation type. | |
Functions | |
| std::unique_ptr< scalar > | cudf::reduce (column_view const &col, reduce_aggregation const &agg, data_type output_type, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
| Computes the reduction of the values in all rows of a column. More... | |
| std::unique_ptr< scalar > | cudf::reduce (column_view const &col, reduce_aggregation const &agg, data_type output_type, std::optional< std::reference_wrapper< scalar const >> init, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
| Computes the reduction of the values in all rows of a column with an initial value. More... | |
| std::unique_ptr< column > | cudf::segmented_reduce (column_view const &segmented_values, device_span< size_type const > offsets, segmented_reduce_aggregation const &agg, data_type output_type, null_policy null_handling, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
| Compute reduction of each segment in the input column. More... | |
| std::unique_ptr< column > | cudf::segmented_reduce (column_view const &segmented_values, device_span< size_type const > offsets, segmented_reduce_aggregation const &agg, data_type output_type, 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=cudf::get_current_device_resource_ref()) |
| Compute reduction of each segment in the input column with an initial value. Only SUM, PRODUCT, MIN, MAX, ANY, and ALL aggregations are supported. More... | |
| std::unique_ptr< column > | cudf::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=cudf::get_current_device_resource_ref()) |
| Computes the scan of a column. More... | |
| std::pair< std::unique_ptr< scalar >, std::unique_ptr< scalar > > | cudf::minmax (column_view const &col, rmm::cuda_stream_view stream=cudf::get_default_stream(), rmm::device_async_resource_ref mr=cudf::get_current_device_resource_ref()) |
| Determines the minimum and maximum values of a column. More... | |
| bool | cudf::reduction::is_valid_aggregation (data_type source, aggregation::Kind kind) |
| Indicate if a reduction is supported for a source datatype. More... | |
APIs for computing reductions and scans over columns.
Definition in file reduction.hpp.