20 template <
typename T,
class BinaryOperation,
int Dims,
size_t Extent,
22 class reduction_impl_algo;
52 template <
typename KernelName,
54 int Dims,
typename PropertiesT,
typename... RestT>
56 PropertiesT Properties, RestT... Rest);
58 template <
typename KernelName,
60 int Dims,
typename PropertiesT,
typename... RestT>
62 PropertiesT Properties, RestT... Rest);
64 template <
typename T>
struct IsReduction;
65 template <
typename FirstT,
typename... RestT>
struct AreAllButLastReductions;
Command group handler class.
Identifies an instance of the function object executing at each point in a range.
Defines the iteration domain of both the work-groups and the overall dispatch.
#define __SYCL_INLINE_VER_NAMESPACE(X)
item< Dims, false > getDelinearizedItem(range< Dims > Range, id< Dims > Id)
void withAuxHandler(handler &CGH, FunctorTy Func)
@ group_reduce_and_last_wg_detection
@ group_reduce_and_atomic_cross_wg
@ local_atomic_and_atomic_cross_wg
@ local_mem_tree_and_atomic_cross_wg
@ group_reduce_and_multiple_kernels
void finalizeHandler(handler &CGH)
void reduction_parallel_for(handler &CGH, nd_range< Dims > NDRange, PropertiesT Properties, RestT... Rest)
auto reduction(buffer< T, 1, AllocatorT > Var, handler &CGH, BinaryOperation, const property_list &PropList={})
Constructs a reduction object using the given buffer Var, handler CGH, reduction operation Combiner,...
---— Error handling, matching OpenCL plugin semantics.