SWDEV-508776 - support VGPRs validation (#77)

Add hipDeviceAttributeMaxAvailableVgprsPerThread attribute

[ROCm/hip commit: 3b6b7642a7]
This commit is contained in:
Sang, Tao
2025-07-08 10:03:57 -04:00
committed by GitHub
parent ae856901aa
commit fb408b70d1
@@ -551,6 +551,8 @@ typedef enum hipDeviceAttribute_t {
hipDeviceAttributeFineGrainSupport, ///< '1' if Device supports fine grain, '0' otherwise
hipDeviceAttributeWallClockRate, ///< Constant frequency of wall clock in kilohertz.
hipDeviceAttributeNumberOfXccs, ///< The number of XCC(s) on the device
hipDeviceAttributeMaxAvailableVgprsPerThread, ///< Max number of available (directly or indirectly
///< addressable) VGPRs per thread in DWORDs.
hipDeviceAttributeAmdSpecificEnd = 19999,
hipDeviceAttributeVendorSpecificBegin = 20000,