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 Member Functions | |
AmdCL2MainGPUBinary64 (size_t binaryCodeSize, cxbyte *binaryCode, Flags creationFlags=AMDBIN_CREATE_ALL) | |
constructor | |
~AmdCL2MainGPUBinary64 ()=default | |
default destructor | |
GPUDeviceType | determineGPUDeviceType (uint32_t &archMinor, uint32_t &archStepping, cxuint driverVersion=0) const |
determine GPU device from this binary More... | |
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 | |
![]() | |
AmdCL2MainGPUBinaryBase (AmdMainType amdMainType) | |
constructor | |
~AmdCL2MainGPUBinaryBase ()=default | |
default destructor | |
bool | hasInnerBinary () const |
returns true if inner binary exists | |
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 | |
Additional Inherited Members | |
![]() | |
typedef Array< std::pair< CString, size_t > > | MetadataMap |
type definition of metadata map | |
![]() | |
typedef Array< std::pair< CString, size_t > > | KernelInfoMap |
Kernel info map. | |
![]() | |
template<typename Types > | |
void | initMainGPUBinary (typename Types::ElfBinary &elfBin) |
initialize binary | |
template<typename Types > | |
GPUDeviceType | determineGPUDeviceTypeInt (const typename Types::ElfBinary &elfBin, uint32_t &archMinor, uint32_t &archStepping, cxuint driverVersion) const |
internal method to determine GPU device type | |
![]() | |
AmdMainBinaryBase (AmdMainType type) | |
constructor | |
![]() | |
cxuint | driverVersion |
driver version | |
size_t | kernelsNum |
kernels number | |
std::unique_ptr< AmdCL2GPUKernelMetadata[]> | metadatas |
AMD metadatas. | |
Array< AmdCL2GPUKernelMetadata > | isaMetadatas |
AMD metadatas. | |
std::unique_ptr< AmdGPUKernelHeader[]> | kernelHeaders |
kernel headers | |
MetadataMap | isaMetadataMap |
ISA metadata map. | |
CString | aclVersionString |
acl version string | |
std::unique_ptr< AmdCL2InnerGPUBinaryBase > | innerBinary |
inner binary pointer | |
![]() | |
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 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.
GPUDeviceType CLRX::AmdCL2MainGPUBinary64::determineGPUDeviceType | ( | uint32_t & | archMinor, |
uint32_t & | archStepping, | ||
cxuint | driverVersion = 0 |
||
) | const |
determine GPU device from this binary
archMinor | output architecture minor |
archStepping | output architecture stepping |
driverVersion | specified driver version (zero detected by loader) |