CLRX  1
An unofficial OpenCL extensions designed for Radeon GPUs
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Public Member Functions | List of all members
CLRX::AmdInnerGPUBinary32 Class Reference

AMD inner binary for GPU binaries that represent a single kernel. More...

#include <AmdBinaries.h>

Inheritance diagram for CLRX::AmdInnerGPUBinary32:

Public Member Functions

 AmdInnerGPUBinary32 (const CString &kernelName, size_t binaryCodeSize, cxbyte *binaryCode, Flags creationFlags=ELF_CREATE_ALL)
 
bool hasCALNotes () const
 return true if binary has CAL notes infos
 
const CStringgetKernelName () const
 get kernel name
 
uint32_t getCALEncodingEntriesNum () const
 get CALEncoding entries number
 
const CALEncodingEntrygetCALEncodingEntry (cxuint index) const
 get CALEncodingDictionaryEntries
 
CALEncodingEntrygetCALEncodingEntry (cxuint index)
 get CALEncodingDictionaryEntries
 
uint32_t getCALNotesNum (cxuint encodingIndex) const
 get CAL Notes number
 
const CALNoteHeadergetCALNoteHeader (cxuint encodingIndex, uint32_t index) const
 get CAL Note header
 
CALNoteHeadergetCALNoteHeader (cxuint encodingIndex, uint32_t index)
 get CAL Note header
 
const cxbyte * getCALNoteData (cxuint encodingIndex, uint32_t index) const
 get CAL Note data
 
cxbyte * getCALNoteData (cxuint encodingIndex, uint32_t index)
 get CAL Note data
 
const CALNotegetCALNote (cxuint encodingIndex, uint32_t index) const
 get CALNote More...
 
CALNotegetCALNote (cxuint encodingIndex, uint32_t index)
 get CALNote More...
 
const Array< CALNote > & getCALNotes (cxuint encodingIndex) const
 get all CALNotes for encoding index
 
Array< CALNote > & getCALNotes (cxuint encodingIndex)
 get all CALNotes for encoding index
 

Detailed Description

AMD inner binary for GPU binaries that represent a single kernel.

This object doesn't copy binary code content. Only it takes and uses a binary code.

Constructor & Destructor Documentation

CLRX::AmdInnerGPUBinary32::AmdInnerGPUBinary32 ( const CString kernelName,
size_t  binaryCodeSize,
cxbyte *  binaryCode,
Flags  creationFlags = ELF_CREATE_ALL 
)

constructor

Parameters
kernelNamekernel name
binaryCodeSizebinary code size
binaryCodepointer to binary code
creationFlagsflags that specified what will be created during creation

Member Function Documentation

const CALNote& CLRX::AmdInnerGPUBinary32::getCALNote ( cxuint  encodingIndex,
uint32_t  index 
) const
inline

get CALNote

Parameters
encodingIndexindex of encoding
indexindex of CALNote
Returns
CALNote
CALNote& CLRX::AmdInnerGPUBinary32::getCALNote ( cxuint  encodingIndex,
uint32_t  index 
)
inline

get CALNote

Parameters
encodingIndexindex of encoding
indexindex of CALNote
Returns
CALNote

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