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

#include <CL/__spirv/spirv_types.hpp>

Collaboration diagram for __spv::StorageClass:

Public Types

enum  Flag : uint32_t {
  UniformConstant = 0, Input = 1, Uniform = 2, Output = 3,
  Workgroup = 4, CrossWorkgroup = 5, Private = 6, Function = 7,
  Generic = 8, PushConstant = 9, AtomicCounter = 10, Image = 11,
  StorageBuffer = 12, CallableDataKHR = 5328, CallableDataNV = 5328, IncomingCallableDataKHR = 5329,
  IncomingCallableDataNV = 5329, RayPayloadKHR = 5338, RayPayloadNV = 5338, HitAttributeKHR = 5339,
  HitAttributeNV = 5339, IncomingRayPayloadKHR = 5342, IncomingRayPayloadNV = 5342, ShaderRecordBufferKHR = 5343,
  ShaderRecordBufferNV = 5343, PhysicalStorageBuffer = 5349, PhysicalStorageBufferEXT = 5349, CodeSectionINTEL = 5605,
  CapabilityUSMStorageClassesINTEL = 5935, DeviceOnlyINTEL = 5936, HostOnlyINTEL = 5937, Max = 0x7fffffff
}
 

Public Member Functions

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

Public Attributes

Flag flag_value
 

Detailed Description

Definition at line 42 of file spirv_types.hpp.

Member Enumeration Documentation

◆ Flag

enum __spv::StorageClass::Flag : uint32_t
Enumerator
UniformConstant 
Input 
Uniform 
Output 
Workgroup 
CrossWorkgroup 
Private 
Function 
Generic 
PushConstant 
AtomicCounter 
Image 
StorageBuffer 
CallableDataKHR 
CallableDataNV 
IncomingCallableDataKHR 
IncomingCallableDataNV 
RayPayloadKHR 
RayPayloadNV 
HitAttributeKHR 
HitAttributeNV 
IncomingRayPayloadKHR 
IncomingRayPayloadNV 
ShaderRecordBufferKHR 
ShaderRecordBufferNV 
PhysicalStorageBuffer 
PhysicalStorageBufferEXT 
CodeSectionINTEL 
CapabilityUSMStorageClassesINTEL 
DeviceOnlyINTEL 
HostOnlyINTEL 
Max 

Definition at line 43 of file spirv_types.hpp.

Constructor & Destructor Documentation

◆ StorageClass()

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

Definition at line 77 of file spirv_types.hpp.

Member Function Documentation

◆ operator uint32_t()

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

Definition at line 78 of file spirv_types.hpp.

References flag_value.

Member Data Documentation

◆ flag_value

Flag __spv::StorageClass::flag_value

Definition at line 79 of file spirv_types.hpp.

Referenced by operator uint32_t().


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