Functions
cudf::reduction Namespace Reference

Reduction namespace. More...

Functions

bool is_valid_aggregation (data_type source, aggregation::Kind kind)
 Indicate if a reduction is supported for a source datatype. More...
 

Detailed Description

Reduction namespace.

Function Documentation

◆ is_valid_aggregation()

bool cudf::reduction::is_valid_aggregation ( data_type  source,
aggregation::Kind  kind 
)

Indicate if a reduction is supported for a source datatype.

Parameters
sourceThe source data type.
kindThe reduction aggregation.
Returns
true if the reduction is supported.