LLVM  8.0.1
Public Member Functions | Public Attributes | List of all members
llvm::AMDGPU::HSAMD::Kernel::Attrs::Metadata Struct Referencefinal

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

#include "llvm/Support/AMDGPUMetadata.h"

Collaboration diagram for llvm::AMDGPU::HSAMD::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 120 of file AMDGPUMetadata.h.

Constructor & Destructor Documentation

◆ Metadata()

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

Default constructor.

Member Function Documentation

◆ empty()

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

Definition at line 135 of file AMDGPUMetadata.h.

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

◆ notEmpty()

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

Definition at line 140 of file AMDGPUMetadata.h.

Member Data Documentation

◆ mReqdWorkGroupSize

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

'reqd_work_group_size' attribute. Optional.

Definition at line 122 of file AMDGPUMetadata.h.

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

◆ mRuntimeHandle

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

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

Definition at line 129 of file AMDGPUMetadata.h.

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

◆ mVecTypeHint

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

'vec_type_hint' attribute. Optional.

Definition at line 126 of file AMDGPUMetadata.h.

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

◆ mWorkGroupSizeHint

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

'work_group_size_hint' attribute. Optional.

Definition at line 124 of file AMDGPUMetadata.h.

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


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