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

Go to the source code of this file.

Namespaces

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

Enumerations

enum  sycl::_V1::memory_order : int {
  sycl::_V1::memory_order::relaxed = 0, sycl::_V1::memory_order::acquire = 1, sycl::_V1::memory_order::__consume_unsupported, sycl::_V1::memory_order::release = 3,
  sycl::_V1::memory_order::acq_rel = 4, sycl::_V1::memory_order::seq_cst = 5
}
 
enum  sycl::_V1::memory_scope : int {
  sycl::_V1::memory_scope::work_item = 0, sycl::_V1::memory_scope::sub_group = 1, sycl::_V1::memory_scope::work_group = 2, sycl::_V1::memory_scope::device = 3,
  sycl::_V1::memory_scope::system = 4
}
 

Functions

std::vector< memory_order > sycl::_V1::detail::readMemoryOrderBitfield (pi_memory_order_capabilities bits)
 
std::vector< memory_scope > sycl::_V1::detail::readMemoryScopeBitfield (pi_memory_scope_capabilities bits)
 
static constexpr std::memory_order sycl::_V1::detail::getStdMemoryOrder (sycl::memory_order order)
 

Variables

constexpr auto sycl::_V1::memory_scope_work_item = memory_scope::work_item
 
constexpr auto sycl::_V1::memory_scope_sub_group = memory_scope::sub_group
 
constexpr auto sycl::_V1::memory_scope_work_group = memory_scope::work_group
 
constexpr auto sycl::_V1::memory_scope_device = memory_scope::device
 
constexpr auto sycl::_V1::memory_scope_system = memory_scope::system
 
constexpr auto sycl::_V1::memory_order_relaxed = memory_order::relaxed
 
constexpr auto sycl::_V1::memory_order_acquire = memory_order::acquire
 
constexpr auto sycl::_V1::memory_order_release = memory_order::release
 
constexpr auto sycl::_V1::memory_order_acq_rel = memory_order::acq_rel
 
constexpr auto sycl::_V1::memory_order_seq_cst = memory_order::seq_cst