#include <sycl/detail/cg_types.hpp>
Public Member Functions | |
NDRDescT () | |
template<int Dims_> | |
void | set (sycl::range< Dims_ > NumWorkItems) |
template<int Dims_> | |
void | set (sycl::range< Dims_ > NumWorkItems, sycl::id< Dims_ > Offset) |
template<int Dims_> | |
void | set (sycl::nd_range< Dims_ > ExecutionRange) |
void | set (int Dims_, sycl::nd_range< 3 > ExecutionRange) |
template<int Dims_> | |
void | setNumWorkGroups (sycl::range< Dims_ > N) |
Public Attributes | |
sycl::range< 3 > | GlobalSize |
sycl::range< 3 > | LocalSize |
sycl::id< 3 > | GlobalOffset |
sycl::range< 3 > | NumWorkGroups |
Number of workgroups, used to record the number of workgroups from the simplest form of parallel_for_work_group. More... | |
size_t | Dims |
Definition at line 53 of file cg_types.hpp.
|
inline |
Definition at line 66 of file cg_types.hpp.
|
inline |
Definition at line 106 of file cg_types.hpp.
References Dims, sycl::_V1::nd_range< Dimensions >::get_global_range(), sycl::_V1::nd_range< Dimensions >::get_local_range(), sycl::_V1::nd_range< Dimensions >::get_offset(), GlobalOffset, GlobalSize, LocalSize, and NumWorkGroups.
|
inline |
Definition at line 95 of file cg_types.hpp.
References Dims, sycl::_V1::nd_range< Dimensions >::get_global_range(), sycl::_V1::nd_range< Dimensions >::get_local_range(), sycl::_V1::nd_range< Dimensions >::get_offset(), GlobalOffset, GlobalSize, LocalSize, and NumWorkGroups.
|
inline |
Definition at line 70 of file cg_types.hpp.
References Dims, GlobalOffset, GlobalSize, LocalSize, and NumWorkGroups.
Referenced by sycl::_V1::detail::adjustNDRangePerKernel(), and sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::call().
|
inline |
Definition at line 84 of file cg_types.hpp.
References Dims, GlobalOffset, GlobalSize, LocalSize, and NumWorkGroups.
|
inline |
Definition at line 117 of file cg_types.hpp.
References Dims, GlobalOffset, GlobalSize, LocalSize, and NumWorkGroups.
size_t sycl::_V1::detail::NDRDescT::Dims |
Definition at line 136 of file cg_types.hpp.
Referenced by sycl::_V1::detail::adjustNDRangePerKernel(), sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::call(), sycl::_V1::detail::checkDevSupportDeviceRequirements(), sycl::_V1::detail::enqueueImpCommandBufferKernel(), sycl::_V1::detail::enqueue_kernel_launch::handleInvalidValue(), sycl::_V1::detail::enqueue_kernel_launch::handleInvalidWorkItemSize(), sycl::_V1::detail::ReverseRangeDimensionsForKernel(), set(), sycl::_V1::detail::SetKernelParamsAndLaunch(), and setNumWorkGroups().
sycl::id<3> sycl::_V1::detail::NDRDescT::GlobalOffset |
Definition at line 131 of file cg_types.hpp.
Referenced by sycl::_V1::detail::enqueueImpCommandBufferKernel(), sycl::_V1::detail::ReverseRangeDimensionsForKernel(), sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::runOnHost(), set(), sycl::_V1::detail::SetKernelParamsAndLaunch(), and setNumWorkGroups().
sycl::range<3> sycl::_V1::detail::NDRDescT::GlobalSize |
Definition at line 129 of file cg_types.hpp.
Referenced by sycl::_V1::detail::adjustNDRangePerKernel(), sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::call(), sycl::_V1::detail::enqueueImpCommandBufferKernel(), sycl::_V1::detail::enqueue_kernel_launch::handleInvalidValue(), sycl::_V1::detail::enqueue_kernel_launch::handleInvalidWorkGroupSize(), sycl::_V1::detail::ReverseRangeDimensionsForKernel(), sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::runOnHost(), set(), sycl::_V1::detail::SetKernelParamsAndLaunch(), and setNumWorkGroups().
sycl::range<3> sycl::_V1::detail::NDRDescT::LocalSize |
Definition at line 130 of file cg_types.hpp.
Referenced by sycl::_V1::detail::adjustNDRangePerKernel(), sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::call(), sycl::_V1::detail::enqueueImpCommandBufferKernel(), sycl::_V1::detail::enqueue_kernel_launch::handleInvalidValue(), sycl::_V1::detail::enqueue_kernel_launch::handleInvalidWorkGroupSize(), sycl::_V1::detail::enqueue_kernel_launch::handleInvalidWorkItemSize(), sycl::_V1::detail::ReverseRangeDimensionsForKernel(), sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::runOnHost(), set(), sycl::_V1::detail::SetKernelParamsAndLaunch(), and setNumWorkGroups().
sycl::range<3> sycl::_V1::detail::NDRDescT::NumWorkGroups |
Number of workgroups, used to record the number of workgroups from the simplest form of parallel_for_work_group.
If set, all other fields must be zero
Definition at line 135 of file cg_types.hpp.
Referenced by sycl::_V1::detail::adjustNDRangePerKernel(), sycl::_V1::detail::HostKernel< KernelType, KernelArgType, Dims >::call(), set(), and setNumWorkGroups().