Defines the iteration domain of both the work-groups and the overall dispatch. More...
#include <CL/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 |
Defines the iteration domain of both the work-groups and the overall dispatch.
Definition at line 23 of file nd_range.hpp.
|
inline |
Definition at line 32 of file nd_range.hpp.
|
inline |
Definition at line 36 of file nd_range.hpp.
|
default |
|
default |
|
default |
|
inline |
Definition at line 40 of file nd_range.hpp.
Referenced by cl::sycl::detail::NDRDescT::set(), and cl::sycl::detail::writeNDRange().
|
inline |
Definition at line 44 of file nd_range.hpp.
Referenced by cl::sycl::handler::parallel_for(), cl::sycl::handler::parallel_for_Impl(), cl::sycl::ext::oneapi::detail::reduCGFunc(), and cl::sycl::ext::oneapi::detail::reduCGFuncImpl().
|
inline |
|
inline |
Definition at line 47 of file nd_range.hpp.
Referenced by cl::sycl::detail::NDRDescT::set(), and cl::sycl::detail::writeNDRange().
|
inline |
Definition at line 62 of file nd_range.hpp.
|
default |
|
default |
|
inline |
Definition at line 57 of file nd_range.hpp.