|
LLVM
5.0.0
|
In-memory representation of kernel code properties metadata. More...
#include "llvm/Support/AMDGPUCodeObjectMetadata.h"
Public Member Functions | |
| Metadata ()=default | |
| Default constructor. More... | |
| bool | empty () const |
| bool | notEmpty () const |
Public Attributes | |
| uint64_t | mKernargSegmentSize = 0 |
| Size in bytes of the kernarg segment memory. More... | |
| uint32_t | mWorkgroupGroupSegmentSize = 0 |
| Size in bytes of the group segment memory required by a workgroup. More... | |
| uint32_t | mWorkitemPrivateSegmentSize = 0 |
| Size in bytes of the private segment memory required by a workitem. More... | |
| uint16_t | mWavefrontNumSGPRs = 0 |
| Total number of SGPRs used by a wavefront. Optional. More... | |
| uint16_t | mWorkitemNumVGPRs = 0 |
| Total number of VGPRs used by a workitem. Optional. More... | |
| uint8_t | mKernargSegmentAlign = 0 |
| Maximum byte alignment of variables used by the kernel in the kernarg memory segment. More... | |
| uint8_t | mGroupSegmentAlign = 0 |
| Maximum byte alignment of variables used by the kernel in the group memory segment. More... | |
| uint8_t | mPrivateSegmentAlign = 0 |
| Maximum byte alignment of variables used by the kernel in the private memory segment. More... | |
| uint8_t | mWavefrontSize = 0 |
| Wavefront size. Expressed as a power of two. Optional. More... | |
In-memory representation of kernel code properties metadata.
Definition at line 243 of file AMDGPUCodeObjectMetadata.h.
|
default |
Default constructor.
|
inline |
Definition at line 275 of file AMDGPUCodeObjectMetadata.h.
References notEmpty().
Referenced by llvm::yaml::MappingTraits< Kernel::Metadata >::mapping().
|
inline |
Definition at line 281 of file AMDGPUCodeObjectMetadata.h.
References mGroupSegmentAlign, mKernargSegmentAlign, mKernargSegmentSize, mPrivateSegmentAlign, mWavefrontNumSGPRs, mWavefrontSize, mWorkgroupGroupSegmentSize, mWorkitemNumVGPRs, and mWorkitemPrivateSegmentSize.
Referenced by empty().
| uint8_t llvm::AMDGPU::CodeObject::Kernel::CodeProps::Metadata::mGroupSegmentAlign = 0 |
Maximum byte alignment of variables used by the kernel in the group memory segment.
Expressed as a power of two. Optional.
Definition at line 263 of file AMDGPUCodeObjectMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::CodeProps::Metadata >::mapping(), and notEmpty().
| uint8_t llvm::AMDGPU::CodeObject::Kernel::CodeProps::Metadata::mKernargSegmentAlign = 0 |
Maximum byte alignment of variables used by the kernel in the kernarg memory segment.
Expressed as a power of two. Optional.
Definition at line 260 of file AMDGPUCodeObjectMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::CodeProps::Metadata >::mapping(), and notEmpty().
| uint64_t llvm::AMDGPU::CodeObject::Kernel::CodeProps::Metadata::mKernargSegmentSize = 0 |
Size in bytes of the kernarg segment memory.
Kernarg segment memory holds the values of the arguments to the kernel. Optional.
Definition at line 246 of file AMDGPUCodeObjectMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::CodeProps::Metadata >::mapping(), and notEmpty().
| uint8_t llvm::AMDGPU::CodeObject::Kernel::CodeProps::Metadata::mPrivateSegmentAlign = 0 |
Maximum byte alignment of variables used by the kernel in the private memory segment.
Expressed as a power of two. Optional.
Definition at line 266 of file AMDGPUCodeObjectMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::CodeProps::Metadata >::mapping(), and notEmpty().
| uint16_t llvm::AMDGPU::CodeObject::Kernel::CodeProps::Metadata::mWavefrontNumSGPRs = 0 |
Total number of SGPRs used by a wavefront. Optional.
Definition at line 255 of file AMDGPUCodeObjectMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::CodeProps::Metadata >::mapping(), and notEmpty().
| uint8_t llvm::AMDGPU::CodeObject::Kernel::CodeProps::Metadata::mWavefrontSize = 0 |
Wavefront size. Expressed as a power of two. Optional.
Definition at line 268 of file AMDGPUCodeObjectMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::CodeProps::Metadata >::mapping(), and notEmpty().
| uint32_t llvm::AMDGPU::CodeObject::Kernel::CodeProps::Metadata::mWorkgroupGroupSegmentSize = 0 |
Size in bytes of the group segment memory required by a workgroup.
This value does not include any dynamically allocated group segment memory that may be added when the kernel is dispatched. Optional.
Definition at line 250 of file AMDGPUCodeObjectMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::CodeProps::Metadata >::mapping(), and notEmpty().
| uint16_t llvm::AMDGPU::CodeObject::Kernel::CodeProps::Metadata::mWorkitemNumVGPRs = 0 |
Total number of VGPRs used by a workitem. Optional.
Definition at line 257 of file AMDGPUCodeObjectMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::CodeProps::Metadata >::mapping(), and notEmpty().
| uint32_t llvm::AMDGPU::CodeObject::Kernel::CodeProps::Metadata::mWorkitemPrivateSegmentSize = 0 |
Size in bytes of the private segment memory required by a workitem.
Private segment memory includes arg, spill and private segments. Optional.
Definition at line 253 of file AMDGPUCodeObjectMetadata.h.
Referenced by llvm::yaml::MappingTraits< Kernel::CodeProps::Metadata >::mapping(), and notEmpty().
1.8.6