CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
#include <GalliumBinaries.h>
Public Member Functions | |
GalliumBinary (size_t binaryCodeSize, cxbyte *binaryCode, Flags creationFlags) | |
constructor | |
~GalliumBinary ()=default | |
destructor | |
Flags | getCreationFlags () |
get creation flags | |
size_t | getSize () const |
get size of binaries | |
operator bool () const | |
returns true if object is initialized | |
bool | operator! () const |
returns true if object is uninitialized | |
const cxbyte * | getBinaryCode () const |
returns binary code data | |
cxbyte * | getBinaryCode () |
returns binary code data | |
bool | is64BitElfBinary () const |
return true if inner binary is 64-bit | |
GalliumElfBinary32 & | getElfBinary32 () |
returns Gallium inner ELF 32-bit binary | |
const GalliumElfBinary32 & | getElfBinary32 () const |
returns Gallium inner ELF 32-bit binary | |
GalliumElfBinary64 & | getElfBinary64 () |
returns Gallium inner ELF 64-bit binary | |
const GalliumElfBinary64 & | getElfBinary64 () const |
returns Gallium inner ELF 64-bit binary | |
uint32_t | getSectionsNum () const |
get sections number | |
uint32_t | getSectionSize (uint32_t index) const |
get size of section with specified index | |
const cxbyte * | getSectionContent (uint32_t index) const |
get content for section with specified index | |
cxbyte * | getSectionContent (uint32_t index) |
get content for section with specified index | |
const GalliumSection & | getSection (uint32_t index) const |
get section with specified index | |
uint32_t | getKernelsNum () const |
returns kernels number | |
uint32_t | getKernelIndex (const char *name) const |
returns kernel index | |
const GalliumKernel & | getKernel (uint32_t index) const |
get kernel by index | |
const GalliumKernel & | getKernel (const char *name) const |
get kernel with speciified name | |
![]() | |
NonCopyableAndNonMovable () | |
constructor | |
NonCopyableAndNonMovable (const NonCopyableAndNonMovable &)=delete | |
copy-constructor | |
NonCopyableAndNonMovable (NonCopyableAndNonMovable &&)=delete | |
move-constructor | |
NonCopyableAndNonMovable & | operator= (const NonCopyableAndNonMovable &)=delete |
copy-assignment | |
NonCopyableAndNonMovable & | operator= (NonCopyableAndNonMovable &&)=delete |
move-asignment | |
GalliumBinary object. This object converts to host-endian fields and ULEV is not needed to access to fields of kernels and sections