From efee830f5f9b765f984412cf84c5dfeb7b5e5a18 Mon Sep 17 00:00:00 2001 From: "Andryeyev, German" Date: Tue, 20 May 2025 14:58:42 -0400 Subject: [PATCH] SWDEV-533074 - Expose hipDeviceAttributeNumberOfXccs attribute (#84) --- include/hip/hip_runtime_api.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index 9b7ad549f5..8d5ebf1da6 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -541,6 +541,7 @@ typedef enum hipDeviceAttribute_t { ///< units for the device 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 hipDeviceAttributeAmdSpecificEnd = 19999, hipDeviceAttributeVendorSpecificBegin = 20000,