DPC++ Runtime
Runtime libraries for oneAPI Data Parallel C++
cl::sycl::access Namespace Reference

Enumerations

enum  target {
  target::global_buffer = 2014, target::constant_buffer = 2015, target::local = 2016, target::image = 2017,
  target::host_buffer = 2018, target::host_image = 2019, target::image_array = 2020, target::device = global_buffer
}
 
enum  mode {
  mode::read = 1024, mode::write = 1025, mode::read_write = 1026, mode::discard_write = 1027,
  mode::discard_read_write = 1028, mode::atomic = 1029
}
 
enum  fence_space { fence_space::local_space = 0, fence_space::global_space = 1, fence_space::global_and_local = 2 }
 
enum  placeholder { placeholder::false_t = 0, placeholder::true_t = 1 }
 
enum  address_space : int {
  address_space::private_space = 0, address_space::global_space = 1, address_space::constant_space = 2, address_space::local_space = 3,
  address_space::ext_intel_global_device_space = 4, address_space::ext_intel_host_device_space = 5, address_space::__SYCL2020_DEPRECATED, address_space::__SYCL2020_DEPRECATED
}
 

Enumeration Type Documentation

◆ address_space

Enumerator
private_space 
global_space 
constant_space 
local_space 
ext_intel_global_device_space 
ext_intel_host_device_space 
__SYCL2020_DEPRECATED 
__SYCL2020_DEPRECATED 

Definition at line 45 of file access.hpp.

◆ fence_space

Enumerator
local_space 
global_space 
global_and_local 

Definition at line 37 of file access.hpp.

◆ mode

Enumerator
read 
write 
read_write 
discard_write 
discard_read_write 
atomic 

Definition at line 28 of file access.hpp.

◆ placeholder

Enumerator
false_t 
true_t 

Definition at line 43 of file access.hpp.

◆ target

Enumerator
global_buffer 
constant_buffer 
local 
image 
host_buffer 
host_image 
image_array 
device 

Definition at line 17 of file access.hpp.