struct Metadata
Declaration
struct Metadata { /* full declaration omitted */ };
Description
In-memory representation of kernel attributes metadata.
Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:121
Member Variables
- public std::vector<uint32_t> mReqdWorkGroupSize = std::vector<unsigned int, std::allocator<unsigned int>>()
- 'reqd_work_group_size' attribute. Optional.
- public std::vector<uint32_t> mWorkGroupSizeHint = std::vector<unsigned int, std::allocator<unsigned int>>()
- 'work_group_size_hint' attribute. Optional.
- public std::string mVecTypeHint = std::basic_string<char, std::char_traits<char>, std::allocator<char>>()
- 'vec_type_hint' attribute. Optional.
- public std::string mRuntimeHandle = std::basic_string<char, std::char_traits<char>, std::allocator<char>>()
- External symbol created by runtime to store the kernel address for enqueued blocks.
Method Overview
Methods
¶Metadata()
Metadata()
Description
Default constructor.
Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:133
¶bool empty() const
bool empty() const
Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:136
Returns
True if kernel attributes metadata is empty, false otherwise.
¶bool notEmpty() const
bool notEmpty() const
Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:141
Returns
True if kernel attributes metadata is not empty, false otherwise.