DPC++ Runtime
Runtime libraries for oneAPI DPC++
reduction.hpp File Reference
Include dependency graph for reduction.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cl
 We provide new interfaces for matrix muliply in this patch:
 
 cl::sycl
 

Functions

template<typename T , typename AllocatorT , typename BinaryOperation >
std::enable_if_t< has_known_identity< BinaryOperation, T >::value, ext::oneapi::detail::reduction_impl< T, BinaryOperation, 0, 1, ext::oneapi::detail::default_reduction_algorithm< false, access::placeholder::true_t, 1 > > > cl::sycl::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, and optional reduction properties. More...
 
template<typename T , typename AllocatorT , typename BinaryOperation >
std::enable_if_t<!has_known_identity< BinaryOperation, T >::value, ext::oneapi::detail::reduction_impl< T, BinaryOperation, 0, 1, ext::oneapi::detail::default_reduction_algorithm< false, access::placeholder::true_t, 1 > > > cl::sycl::reduction (buffer< T, 1, AllocatorT >, handler &, BinaryOperation, const property_list &PropList={})
 Constructs a reduction object using the given buffer Var, handler CGH, reduction operation Combiner, and optional reduction properties. More...
 
template<typename T , typename BinaryOperation >
std::enable_if_t< has_known_identity< BinaryOperation, T >::value, ext::oneapi::detail::reduction_impl< T, BinaryOperation, 0, 1, ext::oneapi::detail::default_reduction_algorithm< true, access::placeholder::false_t, 1 > > > cl::sycl::reduction (T *Var, BinaryOperation, const property_list &PropList={})
 Constructs a reduction object using the reduction variable referenced by the given USM pointer Var, handler CGH, reduction operation Combiner, and optional reduction properties. More...
 
template<typename T , typename BinaryOperation >
std::enable_if_t<!has_known_identity< BinaryOperation, T >::value, ext::oneapi::detail::reduction_impl< T, BinaryOperation, 0, 1, ext::oneapi::detail::default_reduction_algorithm< true, access::placeholder::false_t, 1 > > > cl::sycl::reduction (T *, BinaryOperation, const property_list &PropList={})
 Constructs a reduction object using the reduction variable referenced by the given USM pointer Var, handler CGH, reduction operation Combiner, and optional reduction properties. More...
 
template<typename T , typename AllocatorT , typename BinaryOperation >
ext::oneapi::detail::reduction_impl< T, BinaryOperation, 0, 1, ext::oneapi::detail::default_reduction_algorithm< false, access::placeholder::true_t, 1 > > cl::sycl::reduction (buffer< T, 1, AllocatorT > Var, handler &CGH, const T &Identity, BinaryOperation Combiner, const property_list &PropList={})
 Constructs a reduction object using the given buffer Var, handler CGH, reduction identity value Identity, reduction operation Combiner, and optional reduction properties. More...
 
template<typename T , typename BinaryOperation >
ext::oneapi::detail::reduction_impl< T, BinaryOperation, 0, 1, ext::oneapi::detail::default_reduction_algorithm< true, access::placeholder::false_t, 1 > > cl::sycl::reduction (T *Var, const T &Identity, BinaryOperation Combiner, const property_list &PropList={})
 Constructs a reduction object using the reduction variable referenced by the given USM pointer Var, reduction identity value Identity, binary operation Combiner, and optional reduction properties. More...