CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
ROCm binary input structure. More...
#include <ROCmBinaries.h>
Public Member Functions | |
void | addEmptyKernel (const char *kernelName) |
add empty kernel with default values | |
Public Attributes | |
GPUDeviceType | deviceType |
GPU device type. | |
uint32_t | archMinor |
GPU arch minor. | |
uint32_t | archStepping |
GPU arch stepping. | |
uint32_t | eflags |
ELF headef e_flags field. | |
bool | newBinFormat |
use new binary format for ROCm | |
bool | llvm10BinFormat |
bool | metadataV3Format |
size_t | globalDataSize |
global data size | |
const cxbyte * | globalData |
global data | |
std::vector< ROCmSymbolInput > | symbols |
symbols | |
size_t | codeSize |
code size | |
const cxbyte * | code |
code | |
size_t | commentSize |
comment size (can be null) | |
const char * | comment |
comment | |
CString | target |
LLVM target triple with device name. | |
CString | targetTripple |
same LLVM target tripple | |
size_t | metadataSize |
metadata size | |
const char * | metadata |
metadata | |
bool | useMetadataInfo |
use metadatainfo instead same metadata | |
ROCmMetadata | metadataInfo |
metadata info | |
std::vector< size_t > | gotSymbols |
list of indices of symbols to GOT section More... | |
std::vector< BinSection > | extraSections |
extra sections | |
std::vector< BinSymbol > | extraSymbols |
extra symbols | |
ROCm binary input structure.
std::vector<size_t> CLRX::ROCmInput::gotSymbols |
list of indices of symbols to GOT section
list of indices of symbols to GOT section. If symbol index is lower than symbols.size(), then it refer to symbols otherwise it refer to extraSymbols (index - symbols.size())