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

multi_ptr<void, asp>

MISSING


multi_ptr<void, asp>()
(1)
multi_ptr<void, asp>(cl::sycl::multi_ptr<void, asp>::pointer_t ptr)
(2)
template <int dimensions, access::mode Mode, access::placeholder isPlaceholder, typename overloadDependantT, typename >
multi_ptr<void, asp>(cl::sycl::accessor<void, dimensions, Mode, detail::address_space_trait<void, asp>::target, isPlaceholder> acc)
(3)
template <typename ElementType, int dimensions, access::mode Mode, access::placeholder isPlaceholder, typename overloadDependantT, typename >
multi_ptr<void, asp>(accessor<ElementType, dimensions, Mode, detail::address_space_trait<ElementType, asp>::target, isPlaceholder> acc)
(4)
template <typename ElementType, typename overloadDependantT, typename >
explicit multi_ptr<void, asp>(const multi_ptr<ElementType, asp> & ptr)
(5)
template <typename overloadDependantT, typename >
multi_ptr<void, asp>(void * ptr)
(6)
  1. (default) Default constructor
  2. Initialize the object using the given pointer.
    Parameters:
    • cl::sycl::multi_ptr<void, asp>::pointer_t ptr : Pointer that the class should manipulate.
  3. Initialize the object using an accessor
    Parameters:
    • cl::sycl::accessor<void, dimensions, Mode, detail::address_space_trait<void, asp>::target, isPlaceholder> acc : Accessor to retrieve the pointer from
  4. Initialize the object using an accessor
    Parameters:
    • accessor<ElementType, dimensions, Mode, detail::address_space_trait<ElementType, asp>::target, isPlaceholder> acc : Accessor to retrieve the pointer from
  5. Explicit conversion from a multi_ptr
    Parameters:
    • const multi_ptr<ElementType, asp> & ptr : Pointer to convert to multi_ptr
  6. Initialize the object using the given non address space qualified pointer.
    Parameters:
    • void * ptr : Pointer that is not address space qualified

syclreference.com — SYCL Reference Pages

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