From e44fecc07cf5af999c2b5d605edff68bbf829380 Mon Sep 17 00:00:00 2001 From: Chris Freehill Date: Tue, 10 Sep 2019 16:43:31 -0500 Subject: [PATCH] Add gfx10,11,12 old to new name format conversion Change-Id: I792c840d8d819d1d48f95fc4167b2e25c6beec23 [ROCm/ROCR-Runtime commit: 0afe6618a65acba6fd24933adaf70a0e0e5ccb31] --- .../runtime/hsa-runtime/libamdhsacode/amd_hsa_code.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projects/rocr-runtime/runtime/hsa-runtime/libamdhsacode/amd_hsa_code.cpp b/projects/rocr-runtime/runtime/hsa-runtime/libamdhsacode/amd_hsa_code.cpp index ccfab36460..78dcaab286 100644 --- a/projects/rocr-runtime/runtime/hsa-runtime/libamdhsacode/amd_hsa_code.cpp +++ b/projects/rocr-runtime/runtime/hsa-runtime/libamdhsacode/amd_hsa_code.cpp @@ -579,6 +579,12 @@ namespace code { NewName = "amdgcn-amd-amdhsa--gfx906"; else if (OldName == "AMD:AMDGPU:9:0:8") NewName = "amdgcn-amd-amdhsa--gfx908"; + else if (OldName == "AMD:AMDGPU:10:1:0") + NewName = "amdgcn-amd-amdhsa--gfx1010"; + else if (OldName == "AMD:AMDGPU:10:1:1") + NewName = "amdgcn-amd-amdhsa--gfx1011"; + else if (OldName == "AMD:AMDGPU:10:1:2") + NewName = "amdgcn-amd-amdhsa--gfx1012"; else assert(false && "Unhandled target");