CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
32-bit Gallium ELF binary More...
#include <GalliumBinaries.h>
Public Member Functions | |
GalliumElfBinary32 () | |
empty constructor | |
GalliumElfBinary32 (size_t binaryCodeSize, cxbyte *binaryCode, Flags creationFlags, size_t kernelsNum) | |
constructor | |
virtual | ~GalliumElfBinary32 () |
destructor | |
bool | hasProgInfoMap () const |
return true if binary has program info map | |
const char * | getDisassembly () const |
return disassembly content (without null-character) | |
size_t | getTextRelEntriesNum () const |
get text rel entries number | |
const Elf32_Rel & | getTextRelEntry (size_t index) const |
get text rel entry | |
Elf32_Rel & | getTextRelEntry (size_t index) |
get text rel entry | |
![]() | |
GalliumElfBinaryBase () | |
empty constructor | |
virtual | ~GalliumElfBinaryBase () |
destructor | |
uint32_t | getProgramInfosNum () const |
returns program infos number | |
uint32_t | getProgramInfoEntriesNum (uint32_t index) const |
returns number of program info entries for program info | |
uint32_t | getProgramInfoEntryIndex (const char *name) const |
returns index for programinfo entries index for specified kernel name | |
const GalliumProgInfoEntry * | getProgramInfo (const char *name) const |
returns program info entries for specified kernel name | |
GalliumProgInfoEntry * | getProgramInfo (const char *name) |
returns program info entries for specified kernel name | |
const GalliumProgInfoEntry * | getProgramInfo (uint32_t index) const |
returns program info entries for specified kernel index | |
GalliumProgInfoEntry * | getProgramInfo (uint32_t index) |
returns program info entries for specified kernel index | |
bool | hasDisassembly () const |
returns true if disassembly available | |
size_t | getDisassemblySize () const |
returns size of disassembly | |
bool | isLLVM390 () const |
returns true binary for if >=LLVM 3.9 | |
size_t | getScratchRelocsNum () const |
return scratch buffer relocations number | |
const GalliumScratchReloc & | getScratchReloc (size_t i) const |
return scratch buffer relocation by index | |
const Array< GalliumScratchReloc > & | getScratchRelocs () const |
return all scratch buffer relocations | |
Additional Inherited Members | |
![]() | |
typedef Array< std::pair< const char *, size_t > > | ProgInfoEntryIndexMap |
program info entry index map | |
![]() | |
template<typename ElfBinary > | |
void | loadFromElf (ElfBinary &elfBinary, size_t kernelsNum) |
routine to load binary fro internal ELF | |
![]() | |
uint32_t | progInfosNum |
program info entries number | |
GalliumProgInfoEntry * | progInfoEntries |
program info entries | |
ProgInfoEntryIndexMap | progInfoEntryMap |
program info map | |
size_t | disasmSize |
disassembly size | |
size_t | disasmOffset |
disassembly offset | |
bool | llvm390 |
true if >= LLVM 3.9 | |
Array< GalliumScratchReloc > | scratchRelocs |
32-bit Gallium ELF binary
ULEV function is required to access programInfoEntry fields