CLRX  1
An unofficial OpenCL extensions designed for Radeon GPUs
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
CLRX::AmdMainGPUBinaryBase Class Reference

main AMD GPU binary base class More...

#include <AmdBinaries.h>

Inheritance diagram for CLRX::AmdMainGPUBinaryBase:
CLRX::AmdMainBinaryBase CLRX::NonCopyableAndNonMovable CLRX::AmdMainGPUBinary32 CLRX::AmdMainGPUBinary64

Public Types

typedef Array< std::pair< CString, size_t > > InnerBinaryMap
 inner binary map type
 
typedef Array< std::pair< CString, size_t > > KernelHeaderMap
 kernel header map type
 
- Public Types inherited from CLRX::AmdMainBinaryBase
typedef Array< std::pair< CString, size_t > > KernelInfoMap
 Kernel info map.
 

Public Member Functions

size_t getInnerBinariesNum () const
 get number of inner binaries
 
AmdInnerGPUBinary32getInnerBinary (size_t index)
 get inner binary with specified index
 
const AmdInnerGPUBinary32getInnerBinary (size_t index) const
 get inner binary with specified index
 
const AmdInnerGPUBinary32getInnerBinary (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 cxbytegetGlobalData () const
 get global data
 
cxbytegetGlobalData ()
 get global data
 
size_t getKernelHeadersNum () const
 get kernel header number
 
const AmdGPUKernelHeadergetKernelHeaderEntry (size_t index) const
 get kernel header entry for specified index
 
const AmdGPUKernelHeadergetKernelHeaderEntry (const char *name) const
 get kernel header entry for specified index
 
AmdGPUKernelHeadergetKernelHeaderEntry (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 cxbytegetKernelHeader (size_t index) const
 get kernel header for specified index
 
cxbytegetKernelHeader (size_t index)
 get kernel header for specified index
 
- Public Member Functions inherited from CLRX::AmdMainBinaryBase
AmdMainType getType () const
 get binary type
 
size_t getKernelInfosNum () const
 get kernel informations number
 
const KernelInfogetKernelInfos () const
 get kernel informations array
 
const KernelInfogetKernelInfo (size_t index) const
 get kernel information with specified index
 
const KernelInfogetKernelInfo (const char *name) const
 get kernel information with specified kernel name (requires kernel info map)
 
const CStringgetDriverInfo () const
 get driver info string
 
const CStringgetCompileOptions () const
 get compile options string
 
- Public Member Functions inherited from CLRX::NonCopyableAndNonMovable
 NonCopyableAndNonMovable ()
 constructor
 
 NonCopyableAndNonMovable (const NonCopyableAndNonMovable &)=delete
 copy-constructor
 
 NonCopyableAndNonMovable (NonCopyableAndNonMovable &&)=delete
 move-constructor
 
NonCopyableAndNonMovableoperator= (const NonCopyableAndNonMovable &)=delete
 copy-assignment
 
NonCopyableAndNonMovableoperator= (NonCopyableAndNonMovable &&)=delete
 move-asignment
 

Protected Member Functions

 AmdMainGPUBinaryBase (AmdMainType type)
 constructor
 
template<typename Types >
void initMainGPUBinary (typename Types::ElfBinary &binary)
 initialize main gpu binary (internal use only)
 
- Protected Member Functions inherited from CLRX::AmdMainBinaryBase
 AmdMainBinaryBase (AmdMainType type)
 constructor
 

Protected Attributes

Array< AmdInnerGPUBinary32innerBinaries
 inner binaries
 
InnerBinaryMap innerBinaryMap
 inner binary map
 
std::unique_ptr< AmdGPUKernelMetadata[]> metadatas
 AMD metadatas.
 
Array< AmdGPUKernelHeaderkernelHeaders
 kernel headers
 
KernelHeaderMap kernelHeaderMap
 kernel header map
 
size_t globalDataSize
 global data size
 
cxbyteglobalData
 global data content
 
- Protected Attributes inherited from CLRX::AmdMainBinaryBase
AmdMainType type
 type of binaries
 
Array< KernelInfokernelInfos
 kernel informations
 
KernelInfoMap kernelInfosMap
 kernel informations map
 
CString driverInfo
 driver info string
 
CString compileOptions
 compiler options string
 

Detailed Description

main AMD GPU binary base class


The documentation for this class was generated from the following file: