CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
AMD main binary for GPU for 64-bit mode. More...
#include <AmdBinaries.h>
Public Member Functions | |
AmdMainGPUBinary64 (size_t binaryCodeSize, cxbyte *binaryCode, Flags creationFlags=AMDBIN_CREATE_ALL) | |
bool | hasKernelInfo () const |
returns true if binary has kernel informations | |
bool | hasKernelInfoMap () const |
returns true if binary has kernel informations map | |
bool | hasInnerBinaryMap () const |
returns true if binary has inner binary map | |
bool | hasInfoStrings () const |
returns true if binary has info strings | |
bool | hasKernelHeaders () const |
return true if binary has kernel headers | |
bool | hasKernelHeaderMap () const |
return true if binary has kernel header map | |
![]() | |
size_t | getInnerBinariesNum () const |
get number of inner binaries | |
AmdInnerGPUBinary32 & | getInnerBinary (size_t index) |
get inner binary with specified index | |
const AmdInnerGPUBinary32 & | getInnerBinary (size_t index) const |
get inner binary with specified index | |
const AmdInnerGPUBinary32 & | getInnerBinary (const char *name) const |
get inner binary with specified name (requires inner binary map) | |
size_t | getMetadataSize (size_t index) const |
get metadata size for specified inner binary | |
const char * | getMetadata (size_t index) const |
get metadata for specified inner binary | |
char * | getMetadata (size_t index) |
get metadata for specified inner binary | |
size_t | getGlobalDataSize () const |
get global data size | |
const cxbyte * | getGlobalData () const |
get global data | |
cxbyte * | getGlobalData () |
get global data | |
size_t | getKernelHeadersNum () const |
get kernel header number | |
const AmdGPUKernelHeader & | getKernelHeaderEntry (size_t index) const |
get kernel header entry for specified index | |
const AmdGPUKernelHeader & | getKernelHeaderEntry (const char *name) const |
get kernel header entry for specified index | |
AmdGPUKernelHeader & | getKernelHeaderEntry (size_t index) |
get kernel header entry for specified index | |
size_t | getKernelHeaderSize (size_t index) const |
get kernel header size for specified index | |
const cxbyte * | getKernelHeader (size_t index) const |
get kernel header for specified index | |
cxbyte * | getKernelHeader (size_t index) |
get kernel header for specified index | |
![]() | |
AmdMainType | getType () const |
get binary type | |
size_t | getKernelInfosNum () const |
get kernel informations number | |
const KernelInfo * | getKernelInfos () const |
get kernel informations array | |
const KernelInfo & | getKernelInfo (size_t index) const |
get kernel information with specified index | |
const KernelInfo & | getKernelInfo (const char *name) const |
get kernel information with specified kernel name (requires kernel info map) | |
const CString & | getDriverInfo () const |
get driver info string | |
const CString & | getCompileOptions () const |
get compile options string | |
![]() | |
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 | |
Additional Inherited Members | |
![]() | |
typedef Array< std::pair< CString, size_t > > | InnerBinaryMap |
inner binary map type | |
typedef Array< std::pair< CString, size_t > > | KernelHeaderMap |
kernel header map type | |
![]() | |
typedef Array< std::pair< CString, size_t > > | KernelInfoMap |
Kernel info map. | |
![]() | |
AmdMainGPUBinaryBase (AmdMainType type) | |
constructor | |
template<typename Types > | |
void | initMainGPUBinary (typename Types::ElfBinary &binary) |
initialize main gpu binary (internal use only) | |
![]() | |
AmdMainBinaryBase (AmdMainType type) | |
constructor | |
![]() | |
Array< AmdInnerGPUBinary32 > | innerBinaries |
inner binaries | |
InnerBinaryMap | innerBinaryMap |
inner binary map | |
std::unique_ptr< AmdGPUKernelMetadata[]> | metadatas |
AMD metadatas. | |
Array< AmdGPUKernelHeader > | kernelHeaders |
kernel headers | |
KernelHeaderMap | kernelHeaderMap |
kernel header map | |
size_t | globalDataSize |
global data size | |
cxbyte * | globalData |
global data content | |
![]() | |
AmdMainType | type |
type of binaries | |
Array< KernelInfo > | kernelInfos |
kernel informations | |
KernelInfoMap | kernelInfosMap |
kernel informations map | |
CString | driverInfo |
driver info string | |
CString | compileOptions |
compiler options string | |
AMD main binary for GPU for 64-bit mode.
This object doesn't copy binary code content. Only it takes and uses a binary code.
CLRX::AmdMainGPUBinary64::AmdMainGPUBinary64 | ( | size_t | binaryCodeSize, |
cxbyte * | binaryCode, | ||
Flags | creationFlags = AMDBIN_CREATE_ALL |
||
) |
constructor
binaryCodeSize | binary code size |
binaryCode | pointer to binary code |
creationFlags | flags that specified what will be created during creation |