DPC++ Runtime
Runtime libraries for oneAPI DPC++
access.hpp File Reference
Include dependency graph for access.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sycl::_V1::mode_tag_t< mode >
 
struct  sycl::_V1::mode_target_tag_t< mode, trgt >
 
struct  sycl::_V1::detail::TargetToAS< accessTarget >
 
struct  sycl::_V1::detail::TargetToAS< access::target::local >
 
struct  sycl::_V1::detail::TargetToAS< access::target::constant_buffer >
 
struct  sycl::_V1::detail::DecoratedType< ElementType, addressSpace >
 
struct  sycl::_V1::detail::DecoratedType< ElementType, access::address_space::private_space >
 
struct  sycl::_V1::detail::DecoratedType< ElementType, access::address_space::generic_space >
 
struct  sycl::_V1::detail::DecoratedType< ElementType, access::address_space::global_space >
 
struct  sycl::_V1::detail::DecoratedType< ElementType, access::address_space::ext_intel_global_device_space >
 
struct  sycl::_V1::detail::DecoratedType< ElementType, access::address_space::ext_intel_global_host_space >
 
struct  sycl::_V1::detail::DecoratedType< ElementType, access::address_space::constant_space >
 
struct  sycl::_V1::detail::DecoratedType< ElementType, access::address_space::local_space >
 
struct  sycl::_V1::detail::remove_AS< T >
 

Namespaces

 sycl
 ---— Error handling, matching OpenCL plugin semantics.
 
 sycl::_V1
 
 sycl::_V1::access
 
 sycl::_V1::detail
 

Macros

#define __OPENCL_GLOBAL_AS__
 
#define __OPENCL_GLOBAL_DEVICE_AS__
 
#define __OPENCL_GLOBAL_HOST_AS__
 
#define __OPENCL_LOCAL_AS__
 
#define __OPENCL_CONSTANT_AS__
 
#define __OPENCL_PRIVATE_AS__
 

Typedefs

using sycl::_V1::access_mode = access::mode
 

Enumerations

enum  sycl::_V1::access::target {
  sycl::_V1::access::target::__SYCL2020_DEPRECATED =("use 'target::device' instead") = 2014, sycl::_V1::access::target::constant_buffer = 2015, sycl::_V1::access::target::__SYCL2020_DEPRECATED =("use `local_accessor` instead") = 2016, sycl::_V1::access::target::image = 2017,
  sycl::_V1::access::target::host_buffer = 2018, sycl::_V1::access::target::host_image = 2019, sycl::_V1::access::target::image_array = 2020, sycl::_V1::access::target::device = global_buffer
}
 
enum  sycl::_V1::access::mode {
  sycl::_V1::access::mode::read = 1024, sycl::_V1::access::mode::write = 1025, sycl::_V1::access::mode::read_write = 1026, sycl::_V1::access::mode::discard_write = 1027,
  sycl::_V1::access::mode::discard_read_write = 1028, sycl::_V1::access::mode::atomic = 1029
}
 
enum  sycl::_V1::access::fence_space { sycl::_V1::access::fence_space::local_space = 0, sycl::_V1::access::fence_space::global_space = 1, sycl::_V1::access::fence_space::global_and_local = 2 }
 
enum  sycl::_V1::access::placeholder { sycl::_V1::access::placeholder::false_t = 0, sycl::_V1::access::placeholder::true_t = 1 }
 
enum  sycl::_V1::access::address_space : int {
  sycl::_V1::access::address_space::private_space = 0, sycl::_V1::access::address_space::global_space = 1, sycl::_V1::access::address_space::__SYCL2020_DEPRECATED, sycl::_V1::access::address_space::local_space = 3,
  sycl::_V1::access::address_space::ext_intel_global_device_space = 4, sycl::_V1::access::address_space::ext_intel_global_host_space = 5, sycl::_V1::access::address_space::generic_space = 6
}
 
enum  sycl::_V1::access::decorated : int { sycl::_V1::access::decorated::no = 0, sycl::_V1::access::decorated::yes = 1, sycl::_V1::access::decorated::legacy = 2 }
 

Functions

constexpr bool sycl::_V1::detail::isTargetHostAccess (access::target T)
 
constexpr bool sycl::_V1::detail::modeNeedsOldData (access::mode m)
 
constexpr bool sycl::_V1::detail::modeWritesNewData (access::mode m)
 

Macro Definition Documentation

◆ __OPENCL_CONSTANT_AS__

#define __OPENCL_CONSTANT_AS__

Definition at line 128 of file access.hpp.

◆ __OPENCL_GLOBAL_AS__

#define __OPENCL_GLOBAL_AS__

Definition at line 124 of file access.hpp.

◆ __OPENCL_GLOBAL_DEVICE_AS__

#define __OPENCL_GLOBAL_DEVICE_AS__

Definition at line 125 of file access.hpp.

◆ __OPENCL_GLOBAL_HOST_AS__

#define __OPENCL_GLOBAL_HOST_AS__

Definition at line 126 of file access.hpp.

◆ __OPENCL_LOCAL_AS__

#define __OPENCL_LOCAL_AS__

Definition at line 127 of file access.hpp.

◆ __OPENCL_PRIVATE_AS__

#define __OPENCL_PRIVATE_AS__

Definition at line 129 of file access.hpp.