Defines the iteration domain of both the work-groups and the overall dispatch. More...
#include <sycl/nd_range.hpp>
Public Member Functions | |
nd_range (range< Dimensions > globalSize, range< Dimensions > localSize, id< Dimensions > offset) | |
nd_range (range< Dimensions > globalSize, range< Dimensions > localSize) | |
range< Dimensions > | get_global_range () const |
range< Dimensions > | get_local_range () const |
range< Dimensions > | get_group_range () const |
id< Dimensions > | get_offset () const |
nd_range (const nd_range< Dimensions > &rhs)=default | |
nd_range (nd_range< Dimensions > &&rhs)=default | |
nd_range< Dimensions > & | operator= (const nd_range< Dimensions > &rhs)=default |
nd_range< Dimensions > & | operator= (nd_range< Dimensions > &&rhs)=default |
nd_range ()=default | |
bool | operator== (const nd_range< Dimensions > &rhs) const |
bool | operator!= (const nd_range< Dimensions > &rhs) const |
Static Public Attributes | |
static constexpr int | dimensions = Dimensions |
Defines the iteration domain of both the work-groups and the overall dispatch.
Definition at line 22 of file nd_range.hpp.
|
inline |
Definition at line 35 of file nd_range.hpp.
|
inline |
Definition at line 39 of file nd_range.hpp.
|
default |
|
default |
|
default |
|
inline |
Definition at line 43 of file nd_range.hpp.
Referenced by syclcompat::detail::transform_nd_range(), and sycl::_V1::detail::writeNDRange().
|
inline |
Definition at line 47 of file nd_range.hpp.
Referenced by sycl::_V1::detail::reduCGFuncMulti(), sycl::_V1::detail::NDRangeReduction< reduction::strategy::group_reduce_and_last_wg_detection >::run(), sycl::_V1::detail::NDRangeReduction< reduction::strategy::range_basic >::run(), sycl::_V1::detail::NDRangeReduction< reduction::strategy::group_reduce_and_multiple_kernels >::run(), sycl::_V1::detail::NDRangeReduction< reduction::strategy::basic >::run(), and sycl::_V1::detail::NDRangeReduction< reduction::strategy::multi >::run().
|
inline |
Definition at line 45 of file nd_range.hpp.
Referenced by sycl::_V1::detail::reduCGFuncMulti(), sycl::_V1::detail::NDRangeReduction< reduction::strategy::group_reduce_and_last_wg_detection >::run(), sycl::_V1::detail::NDRangeReduction< reduction::strategy::range_basic >::run(), sycl::_V1::detail::NDRangeReduction< reduction::strategy::local_mem_tree_and_atomic_cross_wg >::run(), sycl::_V1::detail::NDRangeReduction< reduction::strategy::group_reduce_and_multiple_kernels >::run(), sycl::_V1::detail::NDRangeReduction< reduction::strategy::basic >::run(), sycl::_V1::detail::NDRangeReduction< reduction::strategy::multi >::run(), syclcompat::detail::transform_nd_range(), and sycl::_V1::detail::writeNDRange().
|
inline |
Definition at line 50 of file nd_range.hpp.
Referenced by sycl::_V1::detail::writeNDRange().
|
inline |
Definition at line 65 of file nd_range.hpp.
|
default |
|
default |
|
inline |
Definition at line 60 of file nd_range.hpp.
|
staticconstexpr |
Definition at line 24 of file nd_range.hpp.