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

#include <CL/__spirv/spirv_types.hpp>

Collaboration diagram for __spv::Scope:

Public Types

enum  Flag : uint32_t {
  CrossDevice = 0, Device = 1, Workgroup = 2, Subgroup = 3,
  Invocation = 4
}
 

Public Member Functions

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

Public Attributes

Flag flag_value
 

Detailed Description

Definition at line 25 of file spirv_types.hpp.

Member Enumeration Documentation

◆ Flag

enum __spv::Scope::Flag : uint32_t
Enumerator
CrossDevice 
Device 
Workgroup 
Subgroup 
Invocation 

Definition at line 27 of file spirv_types.hpp.

Constructor & Destructor Documentation

◆ Scope()

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

Definition at line 35 of file spirv_types.hpp.

Member Function Documentation

◆ operator uint32_t()

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

Definition at line 37 of file spirv_types.hpp.

References flag_value.

Member Data Documentation

◆ flag_value

Flag __spv::Scope::flag_value

Definition at line 39 of file spirv_types.hpp.

Referenced by operator uint32_t().


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