DPC++ Runtime
Runtime libraries for oneAPI DPC++
__spv::MemorySemanticsMask Struct Reference

#include <CL/__spirv/spirv_types.hpp>

Collaboration diagram for __spv::MemorySemanticsMask:

Public Types

enum  Flag : uint32_t {
  None = 0x0, Acquire = 0x2, Release = 0x4, AcquireRelease = 0x8,
  SequentiallyConsistent = 0x10, UniformMemory = 0x40, SubgroupMemory = 0x80, WorkgroupMemory = 0x100,
  CrossWorkgroupMemory = 0x200, AtomicCounterMemory = 0x400, ImageMemory = 0x800
}
 

Public Member Functions

constexpr MemorySemanticsMask (Flag flag)
 
constexpr operator uint32_t () const
 

Public Attributes

Flag flag_value
 

Detailed Description

Definition at line 82 of file spirv_types.hpp.

Member Enumeration Documentation

◆ Flag

Enumerator
None 
Acquire 
Release 
AcquireRelease 
SequentiallyConsistent 
UniformMemory 
SubgroupMemory 
WorkgroupMemory 
CrossWorkgroupMemory 
AtomicCounterMemory 
ImageMemory 

Definition at line 84 of file spirv_types.hpp.

Constructor & Destructor Documentation

◆ MemorySemanticsMask()

constexpr __spv::MemorySemanticsMask::MemorySemanticsMask ( Flag  flag)
inlineconstexpr

Definition at line 98 of file spirv_types.hpp.

Member Function Documentation

◆ operator uint32_t()

constexpr __spv::MemorySemanticsMask::operator uint32_t ( ) const
inlineconstexpr

Definition at line 100 of file spirv_types.hpp.

References flag_value.

Member Data Documentation

◆ flag_value

Flag __spv::MemorySemanticsMask::flag_value

Definition at line 102 of file spirv_types.hpp.

Referenced by operator uint32_t().


The documentation for this struct was generated from the following file: