struct Metadata

Declaration

struct Metadata { /* full declaration omitted */ };

Description

In-memory representation of kernel attributes metadata.

Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:138

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()

Description

Default constructor.

Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:150

bool empty() const

Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:153

Returns

True if kernel attributes metadata is empty, false otherwise.

bool notEmpty() const

Declared at: llvm/include/llvm/Support/AMDGPUMetadata.h:158

Returns

True if kernel attributes metadata is not empty, false otherwise.