From 6dfea7d3a151b6aaa693ccf4c3ce42d220a65da1 Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Mon, 31 Jul 2023 08:53:58 -0400 Subject: [PATCH] Revert "SWDEV-264166 - [ABI Break] goodbye gcnArch, hello gcnArchName" This reverts commit 638e204ed0ffb970914de6b2bfdb2938002ffc50. Change-Id: Ia7b9ca115be4f9591b195194eed967fc6c330012 [ROCm/hipother commit: 0d3dbe1a1d90c893d95b0efb07894ec2f8ff4c11] --- .../hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h index 72e2c5271e..a6331d9fc9 100644 --- a/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h +++ b/projects/hipother/hipnv/include/hip/nvidia_detail/nvidia_hip_runtime_api.h @@ -2034,6 +2034,7 @@ inline static hipError_t hipGetDeviceProperties(hipDeviceProp_t* p_prop, int dev p_prop->maxSharedMemoryPerMultiProcessor = cdprop.sharedMemPerMultiprocessor; p_prop->isMultiGpuBoard = cdprop.isMultiGpuBoard; p_prop->canMapHostMemory = cdprop.canMapHostMemory; + p_prop->gcnArch = 0; // Not a GCN arch p_prop->integrated = cdprop.integrated; p_prop->cooperativeLaunch = cdprop.cooperativeLaunch; p_prop->cooperativeMultiDeviceLaunch = cdprop.cooperativeMultiDeviceLaunch;