From b2cae3e13c27d4f6d6487e43554f94bc9d1dae92 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 30 Jan 2019 12:48:31 -0500 Subject: [PATCH] P4 to Git Change 1737734 by wchau@wchau_OCL_boltzmann on 2019/01/30 12:02:36 SWDEV-172504 - [PAL/LC] OpenCL PAL Runtime does not support new isa naming convention - Using new isa naming convention in ORCA path Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#154 edit --- rocclr/runtime/device/gpu/gpudefs.hpp | 30 +++++++++++++-------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/rocclr/runtime/device/gpu/gpudefs.hpp b/rocclr/runtime/device/gpu/gpudefs.hpp index 38a693c845..2407cad01e 100644 --- a/rocclr/runtime/device/gpu/gpudefs.hpp +++ b/rocclr/runtime/device/gpu/gpudefs.hpp @@ -187,21 +187,21 @@ enum gfx_handle { gfx1010 = 1010 }; -static const char* Gfx700 = "AMD:AMDGPU:7:0:0"; -static const char* Gfx701 = "AMD:AMDGPU:7:0:1"; -static const char* Gfx800 = "AMD:AMDGPU:8:0:0"; -static const char* Gfx801 = "AMD:AMDGPU:8:0:1"; -static const char* Gfx804 = "AMD:AMDGPU:8:0:4"; -static const char* Gfx810 = "AMD:AMDGPU:8:1:0"; -static const char* Gfx900 = "AMD:AMDGPU:9:0:0"; -static const char* Gfx901 = "AMD:AMDGPU:9:0:1"; -static const char* Gfx902 = "AMD:AMDGPU:9:0:2"; -static const char* Gfx903 = "AMD:AMDGPU:9:0:3"; -static const char* Gfx904 = "AMD:AMDGPU:9:0:4"; -static const char* Gfx905 = "AMD:AMDGPU:9:0:5"; -static const char* Gfx906 = "AMD:AMDGPU:9:0:6"; -static const char* Gfx907 = "AMD:AMDGPU:9:0:7"; -static const char* Gfx1010 = "AMD:AMDGPU:10:1:0"; +static const char* Gfx700 = "amdgcn-amd-amdhsa--gfx700"; +static const char* Gfx701 = "amdgcn-amd-amdhsa--gfx701"; +static const char* Gfx800 = "amdgcn-amd-amdhsa--gfx800"; +static const char* Gfx801 = "amdgcn-amd-amdhsa--gfx801"; +static const char* Gfx804 = "amdgcn-amd-amdhsa--gfx804"; +static const char* Gfx810 = "amdgcn-amd-amdhsa--gfx810"; +static const char* Gfx900 = "amdgcn-amd-amdhsa--gfx900"; +static const char* Gfx901 = "amdgcn-amd-amdhsa--gfx901"; +static const char* Gfx902 = "amdgcn-amd-amdhsa--gfx902"; +static const char* Gfx903 = "amdgcn-amd-amdhsa--gfx902"; // NOTE: gfx903 is gfx902 with xnack +static const char* Gfx904 = "amdgcn-amd-amdhsa--gfx904"; +static const char* Gfx905 = "amdgcn-amd-amdhsa--gfx905"; +static const char* Gfx906 = "amdgcn-amd-amdhsa--gfx906"; +static const char* Gfx907 = "amdgcn-amd-amdhsa--gfx907"; +static const char* Gfx1010 = "amdgcn-amd-amdhsa--gfx1010"; // Supported OpenCL versions enum OclVersion { OpenCL10, OpenCL11, OpenCL12, OpenCL20, OpenCL21 };