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

ROCm binary generator. More...

#include <ROCmBinaries.h>

Inheritance diagram for CLRX::ROCmBinGenerator:
CLRX::NonCopyableAndNonMovable

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 ROCmInputgetInput () 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
 
- 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
 

Detailed Description

ROCm binary generator.

Constructor & Destructor Documentation

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

Parameters
deviceTypedevice type
archMinorarchitecture minor number
archSteppingarchitecture stepping number
codeSizesize of code
codecode pointer
globalDataSizesize of global data
globalDataglobal data pointer
symbolssymbols (kernels, datas,...)

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