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

ROCm main binary for GPU for 64-bit mode. More...

#include <ROCmBinaries.h>

Inheritance diagram for CLRX::ROCmBinary:
CLRX::NonCopyableAndNonMovable

Public Types

typedef Array< std::pair< CString, size_t > > RegionMap
 region map type
 

Public Member Functions

 ROCmBinary (size_t binaryCodeSize, cxbyte *binaryCode, Flags creationFlags=ROCMBIN_CREATE_ALL)
 constructor
 
 ~ROCmBinary ()=default
 default destructor
 
GPUDeviceType determineGPUDeviceType (uint32_t &archMinor, uint32_t &archStepping) const
 determine GPU device type from this binary
 
size_t getRegionsNum () const
 get regions number
 
const ROCmRegiongetRegion (size_t index) const
 get region by index
 
const ROCmRegiongetRegion (const char *name) const
 get region by name
 
size_t getCodeSize () const
 get code size
 
const cxbyte * getCode () const
 get code
 
bool hasRegionMap () const
 returns true if kernel map exists
 
- 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 main binary for GPU for 64-bit mode.

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


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