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::NegateDecorated< access::decorated::yes >
 
struct  sycl::_V1::detail::NegateDecorated< access::decorated::no >
 
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, 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_decoration_impl< T >
 
struct  sycl::_V1::remove_decoration< T >
 
struct  sycl::_V1::remove_decoration< const T >
 
struct  sycl::_V1::remove_decoration< T * >
 
struct  sycl::_V1::remove_decoration< const T * >
 
struct  sycl::_V1::remove_decoration< T & >
 
struct  sycl::_V1::remove_decoration< const T & >
 

Namespaces

 sycl
 
 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
 
template<typename T >
using sycl::_V1::remove_decoration_t = typename remove_decoration< T >::type
 

Enumerations

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

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)
 
template<typename ToT , typename FromT >
ToT sycl::_V1::detail::cast_AS (FromT from)
 

Variables

constexpr mode_tag_t< access_mode::read > sycl::_V1::read_only {}
 
constexpr mode_tag_t< access_mode::read_write > sycl::_V1::read_write {}
 
constexpr mode_tag_t< access_mode::write > sycl::_V1::write_only {}
 
constexpr mode_target_tag_t< access_mode::read, target::constant_buffer > sycl::_V1::read_constant {}
 
constexpr mode_target_tag_t< access_mode::read, target::host_task > sycl::_V1::read_only_host_task
 
constexpr mode_target_tag_t< access_mode::read_write, target::host_task > sycl::_V1::read_write_host_task
 
constexpr mode_target_tag_t< access_mode::write, target::host_task > sycl::_V1::write_only_host_task
 

Macro Definition Documentation

◆ __OPENCL_CONSTANT_AS__

#define __OPENCL_CONSTANT_AS__

Definition at line 136 of file access.hpp.

◆ __OPENCL_GLOBAL_AS__

#define __OPENCL_GLOBAL_AS__

Definition at line 132 of file access.hpp.

◆ __OPENCL_GLOBAL_DEVICE_AS__

#define __OPENCL_GLOBAL_DEVICE_AS__

Definition at line 133 of file access.hpp.

◆ __OPENCL_GLOBAL_HOST_AS__

#define __OPENCL_GLOBAL_HOST_AS__

Definition at line 134 of file access.hpp.

◆ __OPENCL_LOCAL_AS__

#define __OPENCL_LOCAL_AS__

Definition at line 135 of file access.hpp.

◆ __OPENCL_PRIVATE_AS__

#define __OPENCL_PRIVATE_AS__

Definition at line 137 of file access.hpp.