DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::NDRangeReduction< reduction::strategy::auto_select > Struct Reference

#include <sycl/reduction.hpp>

Public Types

template<reduction::strategy Strategy>
using Impl = NDRangeReduction< Strategy >
 
using Strat = reduction::strategy
 

Static Public Member Functions

template<typename KernelName , int Dims, typename PropertiesT , typename KernelType , typename Reduction >
static void run (handler &CGH, std::shared_ptr< detail::queue_impl > &Queue, nd_range< Dims > NDRange, PropertiesT &Properties, Reduction &Redu, KernelType &KernelFunc)
 
template<typename KernelName , int Dims, typename PropertiesT , typename... RestT>
static void run (handler &CGH, std::shared_ptr< detail::queue_impl > &Queue, nd_range< Dims > NDRange, PropertiesT &Properties, RestT... Rest)
 

Detailed Description

Definition at line 2635 of file reduction.hpp.

Member Typedef Documentation

◆ Impl

template<reduction::strategy Strategy>
using sycl::_V1::detail::NDRangeReduction< reduction::strategy::auto_select >::Impl = NDRangeReduction<Strategy>

Definition at line 2638 of file reduction.hpp.

◆ Strat

Member Function Documentation

◆ run() [1/2]

template<typename KernelName , int Dims, typename PropertiesT , typename KernelType , typename Reduction >
static void sycl::_V1::detail::NDRangeReduction< reduction::strategy::auto_select >::run ( handler CGH,
std::shared_ptr< detail::queue_impl > &  Queue,
nd_range< Dims >  NDRange,
PropertiesT &  Properties,
Reduction &  Redu,
KernelType &  KernelFunc 
)
inlinestatic

Definition at line 2643 of file reduction.hpp.

References sycl::_V1::detail::getDeviceFromHandler().

◆ run() [2/2]

template<typename KernelName , int Dims, typename PropertiesT , typename... RestT>
static void sycl::_V1::detail::NDRangeReduction< reduction::strategy::auto_select >::run ( handler CGH,
std::shared_ptr< detail::queue_impl > &  Queue,
nd_range< Dims >  NDRange,
PropertiesT &  Properties,
RestT...  Rest 
)
inlinestatic

Definition at line 2690 of file reduction.hpp.


The documentation for this struct was generated from the following file: