syclreference.com
  1. SYCL
  2. | API Reference
  3. | Atomics
  4. | get_atomic_address_space

get_atomic_address_space<accessTarget>

Retrieves the address space, suitable for use in an atomic, from the access target.

template <access::target accessTarget>
struct cl::sycl::detail::get_atomic_address_space;

Member Fields

Field Type Notes
value const cl::sycl::access::address_space

Most targets will correspond to the global address space, even though it’s only valid for access::target::global_buffer

syclreference.com — SYCL Reference Pages

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