From fb5ea38a4e8f9ad851a128ff6aa4af170ddd65fb 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) [ROCm/hip commit: efee830f5f9b765f984412cf84c5dfeb7b5e5a18] --- projects/hip/include/hip/hip_runtime_api.h | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hip/include/hip/hip_runtime_api.h b/projects/hip/include/hip/hip_runtime_api.h index 9b7ad549f5..8d5ebf1da6 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/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,