Description
cl_khr_ adds built-in OpenCL functions for
clustered reductions that operate on a subset of work items in the
sub-group.
See the Clustered Reductions section of the OpenCL C specification for more information.
Summary of New OpenCL C Functions
// These functions are available to devices supporting
// cl_khr_subgroup_clustered_reduce:
gentype sub_group_clustered_reduce_add( gentype value, uint clustersize )
gentype sub_group_clustered_reduce_mul( gentype value, uint clustersize )
gentype sub_group_clustered_reduce_min( gentype value, uint clustersize )
gentype sub_group_clustered_reduce_max( gentype value, uint clustersize )
gentype sub_group_clustered_reduce_and( gentype value, uint clustersize )
gentype sub_group_clustered_reduce_or( gentype value, uint clustersize )
gentype sub_group_clustered_reduce_xor( gentype value, uint clustersize )
int sub_group_clustered_reduce_logical_and( int predicate, uint clustersize )
int sub_group_clustered_reduce_logical_or( int predicate, uint clustersize )
int sub_group_clustered_reduce_logical_xor( int predicate, uint clustersize )
Document Notes
For more information, see the OpenCL Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.