CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
ROCm binary generator. More...
#include <ROCmBinaries.h>
Public Member Functions | |
ROCmBinGenerator () | |
constructor | |
ROCmBinGenerator (const ROCmInput *rocmInput) | |
constructor with ROCm input | |
ROCmBinGenerator (GPUDeviceType deviceType, uint32_t archMinor, uint32_t archStepping, size_t codeSize, const cxbyte *code, size_t globalDataSize, const cxbyte *globalData, const std::vector< ROCmSymbolInput > &symbols) | |
constructor More... | |
ROCmBinGenerator (GPUDeviceType deviceType, uint32_t archMinor, uint32_t archStepping, size_t codeSize, const cxbyte *code, size_t globalDataSize, const cxbyte *globalData, std::vector< ROCmSymbolInput > &&symbols) | |
constructor | |
~ROCmBinGenerator () | |
destructor | |
const ROCmInput * | getInput () const |
get input | |
void | setInput (const ROCmInput *input) |
set input | |
void | prepareBinaryGen () |
prepare binary generator (for section diffs) | |
size_t | getSectionOffset (cxuint sectionId) const |
get section offset (from main section) | |
void | updateSymbols () |
update symbols | |
void | generate (Array< cxbyte > &array) |
generates binary to array of bytes | |
void | generate (std::ostream &os) |
generates binary to output stream | |
void | generate (std::vector< char > &vector) |
generates binary to vector of char | |
![]() | |
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 | |
ROCm binary generator.
CLRX::ROCmBinGenerator::ROCmBinGenerator | ( | GPUDeviceType | deviceType, |
uint32_t | archMinor, | ||
uint32_t | archStepping, | ||
size_t | codeSize, | ||
const cxbyte * | code, | ||
size_t | globalDataSize, | ||
const cxbyte * | globalData, | ||
const std::vector< ROCmSymbolInput > & | symbols | ||
) |
constructor
deviceType | device type |
archMinor | architecture minor number |
archStepping | architecture stepping number |
codeSize | size of code |
code | code pointer |
globalDataSize | size of global data |
globalData | global data pointer |
symbols | symbols (kernels, datas,...) |