CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
AMD OpenCL 2.0 main binary for GPU for 64-bit mode. More...
#include <AmdCL2Binaries.h>
Public Types | |
typedef Array< std::pair < CString, size_t > > | MetadataMap |
![]() | |
typedef Array< std::pair < CString, size_t > > | KernelInfoMap |
Kernel info map. | |
Public Member Functions | |
AmdCL2MainGPUBinary (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 | hasInfoStrings () const |
returns true if binary has info strings | |
bool | hasInnerBinary () const |
cxuint | getDriverVersion () const |
get driver version | |
const AmdCL2InnerGPUBinaryBase & | getInnerBinaryBase () const |
get inner binary base | |
AmdCL2InnerGPUBinaryBase & | getInnerBinaryBase () |
get inner binary base | |
const AmdCL2InnerGPUBinary & | getInnerBinary () const |
get inner binary | |
AmdCL2InnerGPUBinary & | getInnerBinary () |
get inner binary | |
const AmdCL2OldInnerGPUBinary & | getOldInnerBinary () const |
get old inner binary | |
AmdCL2OldInnerGPUBinary & | getOldInnerBinary () |
get old inner binary | |
const AmdGPUKernelHeader & | getKernelHeaderEntry (size_t index) const |
get kernel header for specified index | |
const AmdGPUKernelHeader & | getKernelHeaderEntry (const char *name) const |
get kernel header for specified name | |
size_t | getISAMetadatasNum () const |
get number of ISA metadatas | |
const AmdCL2GPUKernelMetadata & | getISAMetadataEntry (size_t index) const |
get kernel ISA metadata by kernel index | |
const AmdCL2GPUKernelMetadata & | getISAMetadataEntry (const char *name) const |
get kernel ISA metadata by kernel name | |
size_t | getISAMetadataSize (size_t index) const |
get ISA metadata size for specified inner binary | |
const cxbyte * | getISAMetadata (size_t index) const |
get ISA metadata for specified inner binary | |
cxbyte * | getISAMetadata (size_t index) |
get ISA metadata for specified inner binary | |
const AmdCL2GPUKernelMetadata & | getMetadataEntry (size_t index) const |
get kernel metadata by index | |
const AmdCL2GPUKernelMetadata & | getMetadataEntry (const char *name) const |
get kernel metadata by kernel name | |
size_t | getMetadataSize (size_t index) const |
get metadata size for specified inner binary | |
const cxbyte * | getMetadata (size_t index) const |
get metadata for specified inner binary | |
cxbyte * | getMetadata (size_t index) |
get metadata for specified inner binary | |
const CString & | getAclVersionString () const |
get acl version string | |
![]() | |
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 | |
Protected Attributes | |
cxuint | driverVersion |
size_t | kernelsNum |
std::unique_ptr < AmdCL2GPUKernelMetadata[]> | metadatas |
AMD metadatas. | |
Array< AmdCL2GPUKernelMetadata > | isaMetadatas |
AMD metadatas. | |
std::unique_ptr < AmdGPUKernelHeader[]> | kernelHeaders |
MetadataMap | isaMetadataMap |
CString | aclVersionString |
acl version string | |
std::unique_ptr < AmdCL2InnerGPUBinaryBase > | innerBinary |
![]() | |
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 | |
Additional Inherited Members | |
![]() | |
AmdMainBinaryBase (AmdMainType type) | |
constructor | |
AMD OpenCL 2.0 main binary for GPU for 64-bit mode.
This object doesn't copy binary code content. Only it takes and uses a binary code.