23 #ifndef __CLRX_GPUID_H__ 24 #define __CLRX_GPUID_H__ 26 #include <CLRX/Config.h> 100 REGCOUNT_NO_FLAT = 2,
101 REGCOUNT_NO_XNACK = 4,
102 REGCOUNT_NO_EXTRA = 0xffff
118 GPUSETUP_TGSIZE_EN = 1,
119 GPUSETUP_SCRATCH_EN = 2
128 cxuint userDataNum,
Flags flags, cxuint* gprsOut);
uint32_t Flags
type for declaring various flags
Definition: Utilities.h:97
first iteration (Radeon HD7000 series)
GPUArchitecture getGPUArchitectureFromDeviceType(GPUDeviceType deviceType)
get GPUArchitecture from GPU device type
GPUArchitecture getGPUArchitectureFromName(const char *name)
get GPU architecture from name
GPUArchitecture
GPU architecture.
Definition: GPUId.h:72
GPUDeviceType getLowestGPUDeviceTypeFromArchitecture(GPUArchitecture arch)
get lowest GPU device for architecture
void getGPUSetupMinRegistersNum(GPUArchitecture architecture, cxuint dimMask, cxuint userDataNum, Flags flags, cxuint *gprsOut)
get minimal number of required registers
const char * getGPUDeviceTypeName(GPUDeviceType deviceType)
get GPU device type name
size_t getGPUMaxLocalSize(GPUArchitecture architecture)
get maximum local size for GPU architecture
cxuint getGPUMaxRegistersNum(GPUArchitecture architecture, cxuint regType, Flags flags=0)
get maximum available registers for GPU (type: 0 - scalar, 1 - vector)
main namespace
Definition: AsmFormats.h:41
GPUDeviceType
type of GPU device
Definition: GPUId.h:38
third iteration (Radeon Rx 300 series and Tonga)
utilities for other libraries and programs
const char * getGPUArchitectureName(GPUArchitecture architecture)
get GPU architecture name
GPUDeviceType getGPUDeviceTypeFromName(const char *name)
get GPU device type from name
cxuint getGPUExtraRegsNum(GPUArchitecture architecture, cxuint regType, Flags flags)
get extra registers (like VCC,FLAT_SCRATCH)
second iteration (Radeon Rx 200 series)