Identifies an instance of the function object executing at each point in a range. More...
#include <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 |
template<int Dims> | |
item< Dims, false > | detail::reduction::getDelinearizedItem (range< Dims > Range, id< Dims > Id) |
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 53 of file item.hpp.
Referenced by sycl::_V1::detail::ItemToStr(), and sycl::_V1::detail::writeItem().
|
inline |
|
inline |
Definition at line 98 of file item.hpp.
Referenced by sycl::_V1::__SYCL_TYPE().
|
inline |
Definition at line 79 of file item.hpp.
Referenced by sycl::_V1::detail::writeItem().
|
inline |
|
inline |
Definition at line 67 of file item.hpp.
Referenced by sycl::_V1::detail::ItemToStr(), and sycl::_V1::detail::writeItem().
|
inline |
|
inline |
|
inline |
|
inline |
|
default |
|
default |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |