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 class  sycl::_V1::memory_order : int {
  sycl::_V1::relaxed = 0 , sycl::_V1::acquire = 1 , sycl::_V1::__consume_unsupported , sycl::_V1::release = 3 ,
  sycl::_V1::acq_rel = 4 , sycl::_V1::seq_cst = 5
}
 
enum class  sycl::_V1::memory_scope : int {
  sycl::_V1::work_item = 0 , sycl::_V1::sub_group = 1 , sycl::_V1::work_group = 2 , sycl::_V1::device = 3 ,
  sycl::_V1::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)