Class HwRegIDs
Defined in File hwid.h
Class Documentation
-
class HwRegIDs
Public Functions
-
__host__ __device__ inline HwRegIDs()
HwID default constructor for host and device code.
-
__host__ inline HwRegIDs(ArchFamily family, std::array<uint32_t, MAX_NUM_HWID_REGS> regvals)
HwID constructor for host code code.
- Parameters:
array – of HW_REG_ID values
-
__host__ __device__ inline uint32_t HwID()
returns the current HW_REG_HW_ID register value
-
__host__ __device__ inline uint32_t HwID1()
returns the current HW_REG_HW_ID1 register value
-
__host__ __device__ inline uint32_t HwID2()
returns the current HW_REG_HW_ID2 register value
-
__host__ __device__ inline uint8_t WaveID()
Returns the wavefront ID.
-
__host__ __device__ inline uint8_t SimdID()
Returns the wavefront SIMD ID.
-
__host__ __device__ inline uint8_t PipeID()
Returns the wavefront Pipe ID.
-
__host__ __device__ inline uint8_t CuID()
Returns the CU ID.
-
__host__ __device__ inline uint8_t ShID()
Returns the SH ID.
-
__host__ __device__ inline uint8_t SeID()
Returns the SE ID.
-
__host__ __device__ inline uint8_t DPRate()
Returns the DP rate.
-
__host__ __device__ inline uint8_t TgID()
Returns the TG ID.
-
__host__ __device__ inline uint8_t VmID()
Returns the VMID.
-
__host__ __device__ inline uint8_t QueueID()
Returns the Queue ID.
-
__host__ __device__ inline uint8_t StateID()
Returns the State ID.
-
__host__ __device__ inline uint8_t MeID()
Returns the ME ID.
-
__host__ __device__ inline uint8_t WgID()
Returns the WG ID.
-
__host__ __device__ inline uint8_t CompatLevelID()
Returns the CompatLevel ID.
-
__host__ __device__ inline uint8_t WgpID()
Returns the WGP ID.
-
__host__ __device__ inline uint8_t SaID()
Returns the SA ID.
-
__host__ __device__ inline uint8_t XccID()
Returns the XCC ID.
-
inline operator std::string()
Public Static Attributes
-
static constexpr int MAX_NUM_HWID_REGS = 2
-
__host__ __device__ inline HwRegIDs()