CLRX
1
An unofficial OpenCL extensions designed for Radeon GPUs
|
GPU identification utilities. More...
Go to the source code of this file.
Classes | |
class | CLRX::GPUIdException |
GPUId exception class. More... | |
struct | CLRX::AMDGPUArchVersion |
structure helper for AMDGPU architecture version More... | |
Namespaces | |
CLRX | |
main namespace | |
Functions | |
GPUDeviceType | CLRX::getGPUDeviceTypeFromName (const char *name) |
get GPU device type from name | |
const char * | CLRX::getGPUDeviceTypeName (GPUDeviceType deviceType) |
get GPU device type name | |
GPUArchitecture | CLRX::getGPUArchitectureFromName (const char *name) |
get GPU architecture from name | |
GPUArchitecture | CLRX::getGPUArchitectureFromDeviceType (GPUDeviceType deviceType) |
get GPUArchitecture from GPU device type | |
GPUDeviceType | CLRX::getLowestGPUDeviceTypeFromArchitecture (GPUArchitecture arch) |
get lowest GPU device for architecture | |
const char * | CLRX::getGPUArchitectureName (GPUArchitecture architecture) |
get GPU architecture name | |
cxuint | CLRX::getGPUMaxRegistersNum (GPUArchitecture architecture, cxuint regType, Flags flags=0) |
get maximum available registers for GPU (type: 0 - scalar, 1 - vector) | |
cxuint | CLRX::getGPUMaxRegsNumByArchMask (uint16_t archMask, cxuint regType) |
get maximum available registers for GPU (type: 0 - scalar, 1 - vector) | |
void | CLRX::getGPUSetupMinRegistersNum (GPUArchitecture architecture, cxuint dimMask, cxuint userDataNum, Flags flags, cxuint *gprsOut) |
get minimal number of required registers | |
size_t | CLRX::getGPUMaxLocalSize (GPUArchitecture architecture) |
get maximum local size for GPU architecture | |
size_t | CLRX::getGPUMaxGDSSize (GPUArchitecture architecture) |
get maximum GDS size for GPU architecture | |
cxuint | CLRX::getGPUExtraRegsNum (GPUArchitecture architecture, cxuint regType, Flags flags) |
get extra registers (like VCC,FLAT_SCRATCH) | |
uint32_t | CLRX::calculatePgmRSrc1 (GPUArchitecture arch, cxuint vgprsNum, cxuint sgprsNum, cxuint priority, cxuint floatMode, bool privMode, bool dx10clamp, bool debugMode, bool ieeeMode) |
calculate PGMRSRC1 register value | |
uint32_t | CLRX::calculatePgmRSrc2 (GPUArchitecture arch, bool scratchEn, cxuint userDataNum, bool trapPresent, cxuint dimMask, cxuint defDimValues, bool tgSizeEn, cxuint ldsSize, cxuint exceptions) |
calculate PGMRSRC2 register value | |
AMDGPUArchVersion | CLRX::getGPUArchVersion (GPUDeviceType deviceType, GPUArchVersionTable table) |
get AMD GPU architecture version for specific device type and driver | |
GPUDeviceType | CLRX::getGPUDeviceTypeFromArchVersion (cxuint archMajor, cxuint archMinor, cxuint archStepping) |
GPU identification utilities.