LLVM  6.0.0svn
Public Member Functions | Public Attributes | List of all members
llvm::AMDGPU::HSAKD::KernelDescriptor Struct Referencefinal

Kernel descriptor layout. More...

#include "llvm/Support/AMDGPUKernelDescriptor.h"

Collaboration diagram for llvm::AMDGPU::HSAKD::KernelDescriptor:
Collaboration graph
[legend]

Public Member Functions

 KernelDescriptor ()=default
 

Public Attributes

uint32_t GroupSegmentFixedSize
 
uint32_t PrivateSegmentFixedSize
 
uint32_t MaxFlatWorkGroupSize
 
uint64_t IsDynamicCallStack: 1
 
uint64_t IsXNACKEnabled: 1
 
uint64_t Reserved0: 30
 
int64_t KernelCodeEntryByteOffset
 
uint64_t Reserved1 [3]
 
uint32_t ComputePgmRsrc1
 
uint32_t ComputePgmRsrc2
 
uint64_t EnableSGPRPrivateSegmentBuffer: 1
 
uint64_t EnableSGPRDispatchPtr: 1
 
uint64_t EnableSGPRQueuePtr: 1
 
uint64_t EnableSGPRKernargSegmentPtr: 1
 
uint64_t EnableSGPRDispatchID: 1
 
uint64_t EnableSGPRFlatScratchInit: 1
 
uint64_t EnableSGPRPrivateSegmentSize: 1
 
uint64_t EnableSGPRGridWorkgroupCountX: 1
 
uint64_t EnableSGPRGridWorkgroupCountY: 1
 
uint64_t EnableSGPRGridWorkgroupCountZ: 1
 
uint64_t Reserved2: 54
 

Detailed Description

Kernel descriptor layout.

This layout should be kept backwards compatible as it is consumed by the command processor.

Definition at line 109 of file AMDGPUKernelDescriptor.h.

Constructor & Destructor Documentation

◆ KernelDescriptor()

llvm::AMDGPU::HSAKD::KernelDescriptor::KernelDescriptor ( )
default

Member Data Documentation

◆ ComputePgmRsrc1

uint32_t llvm::AMDGPU::HSAKD::KernelDescriptor::ComputePgmRsrc1

Definition at line 118 of file AMDGPUKernelDescriptor.h.

◆ ComputePgmRsrc2

uint32_t llvm::AMDGPU::HSAKD::KernelDescriptor::ComputePgmRsrc2

Definition at line 119 of file AMDGPUKernelDescriptor.h.

◆ EnableSGPRDispatchID

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::EnableSGPRDispatchID

Definition at line 124 of file AMDGPUKernelDescriptor.h.

◆ EnableSGPRDispatchPtr

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::EnableSGPRDispatchPtr

Definition at line 121 of file AMDGPUKernelDescriptor.h.

◆ EnableSGPRFlatScratchInit

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::EnableSGPRFlatScratchInit

Definition at line 125 of file AMDGPUKernelDescriptor.h.

◆ EnableSGPRGridWorkgroupCountX

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::EnableSGPRGridWorkgroupCountX

Definition at line 127 of file AMDGPUKernelDescriptor.h.

◆ EnableSGPRGridWorkgroupCountY

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::EnableSGPRGridWorkgroupCountY

Definition at line 128 of file AMDGPUKernelDescriptor.h.

◆ EnableSGPRGridWorkgroupCountZ

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::EnableSGPRGridWorkgroupCountZ

Definition at line 129 of file AMDGPUKernelDescriptor.h.

◆ EnableSGPRKernargSegmentPtr

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::EnableSGPRKernargSegmentPtr

Definition at line 123 of file AMDGPUKernelDescriptor.h.

◆ EnableSGPRPrivateSegmentBuffer

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::EnableSGPRPrivateSegmentBuffer

Definition at line 120 of file AMDGPUKernelDescriptor.h.

◆ EnableSGPRPrivateSegmentSize

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::EnableSGPRPrivateSegmentSize

Definition at line 126 of file AMDGPUKernelDescriptor.h.

◆ EnableSGPRQueuePtr

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::EnableSGPRQueuePtr

Definition at line 122 of file AMDGPUKernelDescriptor.h.

◆ GroupSegmentFixedSize

uint32_t llvm::AMDGPU::HSAKD::KernelDescriptor::GroupSegmentFixedSize

Definition at line 110 of file AMDGPUKernelDescriptor.h.

◆ IsDynamicCallStack

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::IsDynamicCallStack

Definition at line 113 of file AMDGPUKernelDescriptor.h.

◆ IsXNACKEnabled

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::IsXNACKEnabled

Definition at line 114 of file AMDGPUKernelDescriptor.h.

◆ KernelCodeEntryByteOffset

int64_t llvm::AMDGPU::HSAKD::KernelDescriptor::KernelCodeEntryByteOffset

Definition at line 116 of file AMDGPUKernelDescriptor.h.

◆ MaxFlatWorkGroupSize

uint32_t llvm::AMDGPU::HSAKD::KernelDescriptor::MaxFlatWorkGroupSize

Definition at line 112 of file AMDGPUKernelDescriptor.h.

◆ PrivateSegmentFixedSize

uint32_t llvm::AMDGPU::HSAKD::KernelDescriptor::PrivateSegmentFixedSize

Definition at line 111 of file AMDGPUKernelDescriptor.h.

◆ Reserved0

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::Reserved0

Definition at line 115 of file AMDGPUKernelDescriptor.h.

◆ Reserved1

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::Reserved1[3]

Definition at line 117 of file AMDGPUKernelDescriptor.h.

◆ Reserved2

uint64_t llvm::AMDGPU::HSAKD::KernelDescriptor::Reserved2

Definition at line 130 of file AMDGPUKernelDescriptor.h.


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