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  cl::sycl::mode_tag_t< mode >
 
struct  cl::sycl::mode_target_tag_t< mode, trgt >
 
struct  cl::sycl::detail::TargetToAS< accessTarget >
 
struct  cl::sycl::detail::TargetToAS< access::target::local >
 
struct  cl::sycl::detail::TargetToAS< access::target::constant_buffer >
 
struct  cl::sycl::detail::DecoratedType< ElementType, addressSpace >
 
struct  cl::sycl::detail::DecoratedType< ElementType, access::address_space::private_space >
 
struct  cl::sycl::detail::DecoratedType< ElementType, access::address_space::generic_space >
 
struct  cl::sycl::detail::DecoratedType< ElementType, access::address_space::global_space >
 
struct  cl::sycl::detail::DecoratedType< ElementType, access::address_space::ext_intel_global_device_space >
 
struct  cl::sycl::detail::DecoratedType< ElementType, access::address_space::ext_intel_global_host_space >
 
struct  cl::sycl::detail::DecoratedType< ElementType, access::address_space::constant_space >
 
struct  cl::sycl::detail::DecoratedType< ElementType, access::address_space::local_space >
 
struct  cl::sycl::detail::remove_AS< T >
 

Namespaces

 cl
 We provide new interfaces for matrix muliply in this patch:
 
 cl::sycl
 
 cl::sycl::access
 
 cl::sycl::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 cl::sycl::access_mode = access::mode
 

Enumerations

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

Functions

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

Macro Definition Documentation

◆ __OPENCL_CONSTANT_AS__

#define __OPENCL_CONSTANT_AS__

Definition at line 135 of file access.hpp.

◆ __OPENCL_GLOBAL_AS__

#define __OPENCL_GLOBAL_AS__

Definition at line 131 of file access.hpp.

◆ __OPENCL_GLOBAL_DEVICE_AS__

#define __OPENCL_GLOBAL_DEVICE_AS__

Definition at line 132 of file access.hpp.

◆ __OPENCL_GLOBAL_HOST_AS__

#define __OPENCL_GLOBAL_HOST_AS__

Definition at line 133 of file access.hpp.

◆ __OPENCL_LOCAL_AS__

#define __OPENCL_LOCAL_AS__

Definition at line 134 of file access.hpp.

◆ __OPENCL_PRIVATE_AS__

#define __OPENCL_PRIVATE_AS__

Definition at line 136 of file access.hpp.