From 7f520ae104d1803490bbec8b2cf38c7e53ef5935 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Wed, 23 Feb 2022 03:49:05 +0530 Subject: [PATCH] SWDEV-301947 - Add new enum for boost CU count (#2490) Change-Id: I39b96218edbdf8a77473be8fa524999bb7df036a Co-authored-by: Saleel Kudchadker --- include/hip/hip_runtime_api.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/hip/hip_runtime_api.h b/include/hip/hip_runtime_api.h index 7d4d58ec24..eca5b9ff63 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -445,6 +445,8 @@ typedef enum hipDeviceAttribute_t { ///< hipStreamWaitValue64(), '0' otherwise. hipDeviceAttributeImageSupport, ///< '1' if Device supports image, '0' otherwise. + hipDeviceAttributeMultiprocessorBoostCount, ///< All available boost compute units for the device + hipDeviceAttributeAmdSpecificEnd = 19999, hipDeviceAttributeVendorSpecificBegin = 20000, // Extended attributes for vendors