LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata Struct Referencefinal

In-memory representation of kernel attributes metadata. More...

#include "llvm/Support/AMDGPUCodeObjectMetadata.h"

Collaboration diagram for llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata:
Collaboration graph
[legend]

Public Member Functions

 Metadata ()=default
 Default constructor. More...
 
bool empty () const
 
bool notEmpty () const
 

Public Attributes

std::vector< uint32_tmReqdWorkGroupSize = std::vector<uint32_t>()
 'reqd_work_group_size' attribute. Optional. More...
 
std::vector< uint32_tmWorkGroupSizeHint = std::vector<uint32_t>()
 'work_group_size_hint' attribute. Optional. More...
 
std::string mVecTypeHint = std::string()
 'vec_type_hint' attribute. Optional. More...
 
std::string mRuntimeHandle = std::string()
 External symbol created by runtime to store the kernel address for enqueued blocks. More...
 

Detailed Description

In-memory representation of kernel attributes metadata.

Definition at line 123 of file AMDGPUCodeObjectMetadata.h.

Constructor & Destructor Documentation

◆ Metadata()

llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::Metadata ( )
default

Default constructor.

Member Function Documentation

◆ empty()

bool llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::empty ( ) const
inline
Returns
True if kernel attributes metadata is empty, false otherwise.

Definition at line 138 of file AMDGPUCodeObjectMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Metadata >::mapping().

◆ notEmpty()

bool llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::notEmpty ( ) const
inline
Returns
True if kernel attributes metadata is not empty, false otherwise.

Definition at line 144 of file AMDGPUCodeObjectMetadata.h.

Member Data Documentation

◆ mReqdWorkGroupSize

std::vector<uint32_t> llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::mReqdWorkGroupSize = std::vector<uint32_t>()

'reqd_work_group_size' attribute. Optional.

Definition at line 125 of file AMDGPUCodeObjectMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Attrs::Metadata >::mapping().

◆ mRuntimeHandle

std::string llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::mRuntimeHandle = std::string()

External symbol created by runtime to store the kernel address for enqueued blocks.

Definition at line 132 of file AMDGPUCodeObjectMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Attrs::Metadata >::mapping().

◆ mVecTypeHint

std::string llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::mVecTypeHint = std::string()

'vec_type_hint' attribute. Optional.

Definition at line 129 of file AMDGPUCodeObjectMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Attrs::Metadata >::mapping().

◆ mWorkGroupSizeHint

std::vector<uint32_t> llvm::AMDGPU::CodeObject::Kernel::Attrs::Metadata::mWorkGroupSizeHint = std::vector<uint32_t>()

'work_group_size_hint' attribute. Optional.

Definition at line 127 of file AMDGPUCodeObjectMetadata.h.

Referenced by llvm::yaml::MappingTraits< Kernel::Attrs::Metadata >::mapping().


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