SWDEV-508776 - support VGPRs validation (#77)

Add hipDeviceAttributeMaxAvailableVgprsPerThread attribute
This commit is contained in:
Sang, Tao
2025-07-08 10:03:57 -04:00
committed by GitHub
parent f310c7f642
commit 3b6b7642a7
+2
View File
@@ -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,