cl::sycl::nd_range< dimensions > Class Template Reference
Implements the nd_range class of the SYCL specification. More...
#include <base.h>
Public Member Functions | |
nd_range (const range< dimensions > globalRange, const range< dimensions > localRange, const id< dimensions > globalOffset=id< dimensions >()) | |
Construct a nd_range object specifying the global and local range and an optional offset. More... | |
nd_range (const detail::nd_range_base &ndRangeBase) | |
Copy constructor. More... | |
COMPUTECPP_DEPRECATED_API ("SYCL 1.2.1 revision 3 replaces nd_range::get_global with " "nd_range::get_global_range.") range< dimensions > get_global() const | |
Return the global range. More... | |
range< dimensions > | get_global_range () const |
Return the global range. More... | |
COMPUTECPP_DEPRECATED_API ("SYCL 1.2.1 revision 3 replaces nd_range::get_local with " "nd_range::get_local_range.") range< dimensions > get_local() const | |
Return the local range. More... | |
range< dimensions > | get_local_range () const |
Return the local range. More... | |
COMPUTECPP_DEPRECATED_API ("SYCL 1.2.1 revision 3 replaces nd_range::get_group with " "nd_range::get_group_range.") range< dimensions > get_group() const | |
Compute the group range. More... | |
range< dimensions > | get_group_range () const |
Compute the group range. More... | |
id< dimensions > | get_offset () const |
Return the queue offset. More... | |
Friends | |
bool | operator== (const nd_range &lhs, const nd_range &rhs) |
Equality operator. More... | |
bool | operator!= (const nd_range &lhs, const nd_range &rhs) |
Non-equality operator. More... | |
Detailed Description
template<int dimensions = 1>
class cl::sycl::nd_range< dimensions >
Implements the nd_range class of the SYCL specification.
An nd_range contains a global and a local range and an offset.
Constructor & Destructor Documentation
◆ nd_range() [1/2]
|
inline |
Construct a nd_range object specifying the global and local range and an optional offset.
Note that the global range must divisible by the local range in order to be usable by a handler::parallel_for.
◆ nd_range() [2/2]
|
inline |
Member Function Documentation
◆ COMPUTECPP_DEPRECATED_API() [1/3]
|
inline |
◆ COMPUTECPP_DEPRECATED_API() [2/3]
|
inline |
◆ COMPUTECPP_DEPRECATED_API() [3/3]
|
inline |
◆ get_global_range()
|
inline |
◆ get_group_range()
|
inline |
◆ get_local_range()
|
inline |
◆ get_offset()
|
inline |
Friends And Related Function Documentation
◆ operator!=
◆ operator==
The documentation for this class was generated from the following files: