From 06b0443513489537ef1f516384ac73a856893946 Mon Sep 17 00:00:00 2001 From: ROCm CI Service Account <66695075+rocm-ci@users.noreply.github.com> Date: Thu, 21 Jul 2022 13:49:00 +0530 Subject: [PATCH] SWDEV-286739 - Support hipDeviceAttributeWallClockRate (#2815) Part 2: Add hipDeviceAttributeWallClockRate and wallClockRate property Change-Id: I52cbba6d67d21cde6d019c5ab530159f426a9bf6 [ROCm/hip commit: 1d710dcb589391e958befab65bffa75424ffb9ac] --- 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 a316894aa6..4a3ad758f2 100644 --- a/projects/hip/include/hip/hip_runtime_api.h +++ b/projects/hip/include/hip/hip_runtime_api.h @@ -452,6 +452,7 @@ typedef enum hipDeviceAttribute_t { hipDeviceAttributePhysicalMultiProcessorCount, ///< All available physical compute ///< units for the device hipDeviceAttributeFineGrainSupport, ///< '1' if Device supports fine grain, '0' otherwise + hipDeviceAttributeWallClockRate, ///< Constant frequency of wall clock in kilohertz. hipDeviceAttributeAmdSpecificEnd = 19999, hipDeviceAttributeVendorSpecificBegin = 20000,