#include <sycl/detail/cg_types.hpp>
Public Member Functions | |
HostKernel (KernelType Kernel) | |
void | call (const NDRDescT &NDRDesc, HostProfilingInfo *HPI) override |
char * | getPtr () override |
template<class ArgT = KernelArgType> | |
std::enable_if_t< std::is_same_v< ArgT, void > > | runOnHost (const NDRDescT &) |
template<class ArgT = KernelArgType> | |
std::enable_if_t< std::is_same_v< ArgT, sycl::id< Dims > > > | runOnHost (const NDRDescT &NDRDesc) |
template<class ArgT = KernelArgType> | |
std::enable_if_t< std::is_same_v< ArgT, item< Dims, false > > > | runOnHost (const NDRDescT &NDRDesc) |
template<class ArgT = KernelArgType> | |
std::enable_if_t< std::is_same_v< ArgT, item< Dims, true > > > | runOnHost (const NDRDescT &NDRDesc) |
template<class ArgT = KernelArgType> | |
std::enable_if_t< std::is_same_v< ArgT, nd_item< Dims > > > | runOnHost (const NDRDescT &NDRDesc) |
template<typename ArgT = KernelArgType> | |
std::enable_if_t< std::is_same_v< ArgT, sycl::group< Dims > > > | runOnHost (const NDRDescT &NDRDesc) |
~HostKernel ()=default | |
Public Member Functions inherited from sycl::_V1::detail::HostKernelBase | |
virtual | ~HostKernelBase ()=default |
Friends | |
class | sycl::handler |
Definition at line 263 of file cg_types.hpp.
|
inline |
Definition at line 271 of file cg_types.hpp.
|
default |
|
inlineoverridevirtual |
Implements sycl::_V1::detail::HostKernelBase.
Definition at line 272 of file cg_types.hpp.
References sycl::_V1::detail::NDRDescT::Dims, sycl::_V1::detail::HostProfilingInfo::end(), sycl::_V1::detail::NDRDescT::GlobalSize, sycl::_V1::if(), sycl::_V1::detail::NDRDescT::LocalSize, sycl::_V1::detail::NDRDescT::NumWorkGroups, sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::runOnHost(), sycl::_V1::detail::NDRDescT::set(), and sycl::_V1::detail::HostProfilingInfo::start().
|
inlineoverridevirtual |
Implements sycl::_V1::detail::HostKernelBase.
Definition at line 299 of file cg_types.hpp.
|
inline |
Definition at line 303 of file cg_types.hpp.
References sycl::_V1::detail::runKernelWithoutArg().
Referenced by sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::call().
|
inline |
Definition at line 309 of file cg_types.hpp.
References sycl::_V1::detail::NDRDescT::GlobalOffset, sycl::_V1::detail::NDRDescT::GlobalSize, and sycl::_V1::detail::NDLoop< NDims >::iterate().
|
inline |
Definition at line 334 of file cg_types.hpp.
References sycl::_V1::detail::NDRDescT::GlobalSize.
|
inline |
Definition at line 351 of file cg_types.hpp.
References sycl::_V1::detail::NDRDescT::GlobalOffset, sycl::_V1::detail::NDRDescT::GlobalSize, sycl::_V1::detail::NDLoop< NDims >::iterate(), and sycl::_V1::detail::runKernelWithArg().
|
inline |
Definition at line 376 of file cg_types.hpp.
References sycl::_V1::detail::NDRDescT::GlobalOffset, sycl::_V1::detail::NDRDescT::GlobalSize, sycl::_V1::detail::NDLoop< NDims >::iterate(), and sycl::_V1::detail::NDRDescT::LocalSize.
|
inline |
Definition at line 417 of file cg_types.hpp.
References sycl::_V1::detail::NDRDescT::GlobalSize, sycl::_V1::detail::NDLoop< NDims >::iterate(), and sycl::_V1::detail::NDRDescT::LocalSize.
|
friend |
Definition at line 268 of file cg_types.hpp.