From c195d12cdaf2432834d2f3b9dd82751ca2ba36cf Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Tue, 22 Mar 2022 12:28:41 +0530 Subject: [PATCH] SWDEV-325708 - Query for fine grained support (#2557) Change-Id: Id11d556de1213c73891122b0ffa344f9099a8486 --- 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 1cf72ade38..6a0d997fcc 100644 --- a/include/hip/hip_runtime_api.h +++ b/include/hip/hip_runtime_api.h @@ -475,6 +475,8 @@ typedef enum hipDeviceAttribute_t { hipDeviceAttributeImageSupport, ///< '1' if Device supports image, '0' otherwise. hipDeviceAttributePhysicalMultiProcessorCount, ///< All available physical compute ///< units for the device + hipDeviceAttributeFineGrainSupport, ///< '1' if Device supports fine grain, '0' otherwise + hipDeviceAttributeAmdSpecificEnd = 19999, hipDeviceAttributeVendorSpecificBegin = 20000, // Extended attributes for vendors