Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions cpp/include/cudf/reduction.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,20 @@ std::pair<std::unique_ptr<scalar>, std::unique_ptr<scalar>> minmax(
rmm::cuda_stream_view stream = cudf::get_default_stream(),
rmm::device_async_resource_ref mr = cudf::get_current_device_resource_ref());

/**
* @brief Reduction namespace
*/
namespace reduction {
/**
* @brief Indicate if a reduction is supported for a source datatype.
*
* @param source The source data type.
* @param kind The reduction aggregation.
* @returns true if the reduction is supported.
*/
bool is_valid_aggregation(data_type source, aggregation::Kind kind);
} // namespace reduction

/** @} */ // end of group

} // namespace CUDF_EXPORT cudf
Loading
Loading