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

#include <GalliumBinaries.h>

Inheritance diagram for CLRX::GalliumBinary:
CLRX::NonCopyableAndNonMovable

Public Member Functions

 GalliumBinary (size_t binaryCodeSize, cxbyte *binaryCode, Flags creationFlags)
 constructor
 
 ~GalliumBinary ()=default
 destructor
 
Flags getCreationFlags ()
 get creation flags
 
size_t getSize () const
 get size of binaries
 
 operator bool () const
 returns true if object is initialized
 
bool operator! () const
 returns true if object is uninitialized
 
const cxbytegetBinaryCode () const
 returns binary code data
 
cxbytegetBinaryCode ()
 returns binary code data
 
bool is64BitElfBinary () const
 return true if inner binary is 64-bit
 
GalliumElfBinary32getElfBinary32 ()
 returns Gallium inner ELF 32-bit binary
 
const GalliumElfBinary32getElfBinary32 () const
 returns Gallium inner ELF 32-bit binary
 
GalliumElfBinary64getElfBinary64 ()
 returns Gallium inner ELF 64-bit binary
 
const GalliumElfBinary64getElfBinary64 () const
 returns Gallium inner ELF 64-bit binary
 
uint32_t getSectionsNum () const
 get sections number
 
uint32_t getSectionSize (uint32_t index) const
 get size of section with specified index
 
const cxbytegetSectionContent (uint32_t index) const
 get content for section with specified index
 
cxbytegetSectionContent (uint32_t index)
 get content for section with specified index
 
const GalliumSectiongetSection (uint32_t index) const
 get section with specified index
 
uint32_t getKernelsNum () const
 returns kernels number
 
uint32_t getKernelIndex (const char *name) const
 returns kernel index
 
const GalliumKernelgetKernel (uint32_t index) const
 get kernel by index
 
const GalliumKernelgetKernel (const char *name) const
 get kernel with speciified name
 
bool isMesa170 () const
 returns true if binary for >=Mesa3D 17.0
 
- 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

GalliumBinary object. This object converts to host-endian fields and ULEV is not needed to access to fields of kernels and sections


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