From ce12fa26b81c4cd68d39ee7880ca5756e7af2513 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 22 Jan 2020 12:13:41 -0500 Subject: [PATCH] P4 to Git Change 2061572 by kjayapra@2_HIPWS_P2P_ROCM2 on 2020/01/22 12:08:52 SWDEV-145570 - MI200 Support changes Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdefs.hpp#29 edit ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocdevice.cpp#151 edit [ROCm/clr commit: 836301fd4a28a89af64d5f28d61ec76870500c91] --- projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp b/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp index d7c1739930..d7cdc545d2 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp +++ b/projects/clr/rocclr/runtime/device/rocm/rocdevice.cpp @@ -68,6 +68,7 @@ static HsaDeviceId getHsaDeviceId(hsa_agent_t device, uint32_t& pci_id) { return HSA_INVALID_DEVICE_ID; } + uint gfxipVersion = atoi(&agent_name[3]); if (gfxipVersion < 900 && GPU_VEGA10_ONLY) { return HSA_INVALID_DEVICE_ID;