syclreference.com
  1. SYCL
  2. | API Reference
  3. | multi_ptr
  4. | multi_ptr

multi_ptr<dataType, asp>

multi_ptr, generic pointer class. This class have the same interface as the explicit pointer classes (global_ptr, private_ptr, local_ptr and constant_ptr). The address space where the data point to is defined by the template parameter Space. A cast operator allow the conversion from a multi_ptr object to its equivalent explicit one.

template <typename dataType, cl::sycl::access::address_space asp>
class cl::sycl::multi_ptr;

Types

Type Definition Notes
const_pointer_t
typename multi_ptr_base::const_pointer_t
const_reference_t
const typename multi_ptr_base::asp_type &

Raw reference-to-const definition.

difference_type
typename multi_ptr_base::difference_type
element_type
typename multi_ptr_base::element_type
pointer_t
typename multi_ptr_base::pointer_t
reference_t
typename multi_ptr_base::asp_type &

Raw reference definition.

Member Functions

(constructor)
operator--

MISSING

operator-

Creates a new multi_ptr that points r backward compared to *this

operator-=

Decrements the underlying pointer by r

operator*

MISSING

operator+

Creates a new multi_ptr that points r forward compared to *this

operator++

MISSING

operator+=

Increments the underlying pointer by r

operator=

MISSING

operator[]

MISSING

syclreference.com — SYCL Reference Pages

Last updated: 2019-01-24 00:24:52 +0000