Identifies an instance of the function object executing at each point in a range. More...
#include <CL/sycl/detail/helpers.hpp>
Public Member Functions | |
item ()=delete | |
id< dimensions > | get_id () const |
size_t __SYCL_ALWAYS_INLINE | get_id (int dimension) const |
size_t __SYCL_ALWAYS_INLINE | operator[] (int dimension) const |
range< dimensions > | get_range () const |
size_t __SYCL_ALWAYS_INLINE | get_range (int dimension) const |
operator EnableIfT< dimensions==1, std::size_t > () const | |
template<bool has_offset = with_offset> | |
detail::enable_if_t< has_offset, id< dimensions > > | get_offset () const |
template<bool has_offset = with_offset> | |
detail::enable_if_t< has_offset, size_t > __SYCL_ALWAYS_INLINE | get_offset (int dimension) const |
template<bool has_offset = with_offset> | |
operator detail::enable_if_t<!has_offset, item< dimensions, true >> () const | |
size_t __SYCL_ALWAYS_INLINE | get_linear_id () const |
item (const item &rhs)=default | |
item (item< dimensions, with_offset > &&rhs)=default | |
item & | operator= (const item &rhs)=default |
item & | operator= (item &&rhs)=default |
bool | operator== (const item &rhs) const |
bool | operator!= (const item &rhs) const |
Protected Member Functions | |
template<bool has_offset = with_offset> | |
item (detail::enable_if_t< has_offset, const range< dimensions >> &extent, const id< dimensions > &index, const id< dimensions > &offset) | |
template<bool has_offset = with_offset> | |
item (detail::enable_if_t<!has_offset, const range< dimensions >> &extent, const id< dimensions > &index) | |
Friends | |
class | detail::Builder |
template<typename , int , typename > | |
class | detail::RoundedRangeKernel |
template<typename , int , typename > | |
class | detail::RoundedRangeKernelWithKH |
Identifies an instance of the function object executing at each point in a range.
Definition at line 28 of file helpers.hpp.
|
delete |
|
default |
|
default |
|
inlineprotected |
|
inlineprotected |
|
inline |
Definition at line 50 of file item.hpp.
Referenced by cl::sycl::detail::ItemToStr(), and cl::sycl::detail::writeItem().
|
inline |
|
inline |
Definition at line 95 of file item.hpp.
Referenced by cl::sycl::private_memory< T, Dimensions >::operator()().
|
inline |
Definition at line 76 of file item.hpp.
Referenced by cl::sycl::detail::writeItem().
|
inline |
|
inline |
Definition at line 64 of file item.hpp.
Referenced by cl::sycl::detail::ItemToStr(), and cl::sycl::detail::writeItem().
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |