LLVM: llvm::offloading::amdgpu::AMDGPUKernelMetaData Struct Reference (original) (raw)

Struct for holding metadata related to AMDGPU kernels, for more information about the metadata and its meaning see: https://llvm.org/docs/AMDGPUUsage.html#code-object-v3. More...

#include "[llvm/Frontend/Offloading/Utility.h](Frontend%5F2Offloading%5F2Utility%5F8h%5Fsource.html)"

Public Attributes
uint32_t GroupSegmentList = KInvalidValue
The amount of group segment memory required by a work-group in bytes.
uint32_t PrivateSegmentSize = KInvalidValue
The amount of fixed private address space memory required for a work-item in bytes.
uint32_t SGPRCount = KInvalidValue
Number of scalar registers required by a wavefront.
uint32_t VGPRCount = KInvalidValue
Number of vector registers required by each work-item.
uint32_t SGPRSpillCount = KInvalidValue
Number of stores from a scalar register to a register allocator created spill location.
uint32_t VGPRSpillCount = KInvalidValue
Number of stores from a vector register to a register allocator created spill location.
uint32_t AGPRCount = KInvalidValue
Number of accumulator registers required by each work-item.
uint32_t RequestedWorkgroupSize [3]
Corresponds to the OpenCL reqd_work_group_size attribute.
uint32_t WorkgroupSizeHint [3] = {KInvalidValue, KInvalidValue, KInvalidValue}
Corresponds to the OpenCL work_group_size_hint attribute.
uint32_t WavefrontSize = KInvalidValue
Wavefront size.
uint32_t MaxFlatWorkgroupSize = KInvalidValue
Maximum flat work-group size supported by the kernel in work-items.
Static Public Attributes
static constexpr uint32_t KInvalidValue
Constant indicating that a value is invalid.

Struct for holding metadata related to AMDGPU kernels, for more information about the metadata and its meaning see: https://llvm.org/docs/AMDGPUUsage.html#code-object-v3.

Definition at line 121 of file Utility.h.

AGPRCount

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::AGPRCount = KInvalidValue

Number of accumulator registers required by each work-item.

Definition at line 141 of file Utility.h.

GroupSegmentList

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::GroupSegmentList = KInvalidValue

The amount of group segment memory required by a work-group in bytes.

Definition at line 126 of file Utility.h.

KInvalidValue

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::KInvalidValue staticconstexpr

Initial value:

=

std::numeric_limits<uint32_t>::max()

Constant indicating that a value is invalid.

Definition at line 123 of file Utility.h.

MaxFlatWorkgroupSize

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::MaxFlatWorkgroupSize = KInvalidValue

Maximum flat work-group size supported by the kernel in work-items.

Definition at line 150 of file Utility.h.

PrivateSegmentSize

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::PrivateSegmentSize = KInvalidValue

The amount of fixed private address space memory required for a work-item in bytes.

Definition at line 129 of file Utility.h.

RequestedWorkgroupSize

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::RequestedWorkgroupSize[3]

Initial value:

Corresponds to the OpenCL reqd_work_group_size attribute.

Definition at line 143 of file Utility.h.

SGPRCount

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::SGPRCount = KInvalidValue

Number of scalar registers required by a wavefront.

Definition at line 131 of file Utility.h.

SGPRSpillCount

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::SGPRSpillCount = KInvalidValue

Number of stores from a scalar register to a register allocator created spill location.

Definition at line 136 of file Utility.h.

VGPRCount

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::VGPRCount = KInvalidValue

Number of vector registers required by each work-item.

Definition at line 133 of file Utility.h.

VGPRSpillCount

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::VGPRSpillCount = KInvalidValue

Number of stores from a vector register to a register allocator created spill location.

Definition at line 139 of file Utility.h.

WavefrontSize

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::WavefrontSize = KInvalidValue

WorkgroupSizeHint

uint32_t llvm::offloading::amdgpu::AMDGPUKernelMetaData::WorkgroupSizeHint[3] = {KInvalidValue, KInvalidValue, KInvalidValue}

Corresponds to the OpenCL work_group_size_hint attribute.

Definition at line 146 of file Utility.h.


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