From d3a47a083b76d3c4b13b143ab96ebbb50a2afd40 Mon Sep 17 00:00:00 2001
From: foreman
Date: Fri, 7 Oct 2016 12:26:34 -0400
Subject: [PATCH] P4 to Git Change 1323904 by asalmanp@asalmanp-opencl-stg on
2016/10/07 12:18:30
SWDEV-104662 - [CQE OCL][Lexa][QR]: ERROR: clBuildProgram(-11) on running clinfo; Faulty CL 1322829
Fixing a regression caused by CL#1322829. the core gfxipVersion for Lexa should be 800 and this is what it's used in ORCAHSALoaderContext::IsaSupportedByAgent @gpuprogram.cpp
ReviewBoardURL = http://ocltc.amd.com/reviews/r/11526/
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpudefs.hpp#143 edit
[ROCm/clr commit: e8488126a834f962813139ab84d13334188e1b53]
---
projects/clr/rocclr/runtime/device/gpu/gpudefs.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/clr/rocclr/runtime/device/gpu/gpudefs.hpp b/projects/clr/rocclr/runtime/device/gpu/gpudefs.hpp
index ab964c2730..1e62dd4386 100644
--- a/projects/clr/rocclr/runtime/device/gpu/gpudefs.hpp
+++ b/projects/clr/rocclr/runtime/device/gpu/gpudefs.hpp
@@ -127,7 +127,7 @@ static const AMDDeviceInfo DeviceInfo[] = {
/* CAL_TARGET_BAFFIN */ { ED_ATI_CAL_MACHINE_BAFFIN_ISA, "Baffin", "baffin", 4, 16, 1, 256, 64 * Ki, 32, 800 },
/* CAL_TARGET_GREENLAND */ { ED_ATI_CAL_MACHINE_GREENLAND_ISA, "gfx900", "gfx900", 4, 16, 1, 256, 64 * Ki, 32, 900 },
/* CAL_TARGET_STONEY */ { ED_ATI_CAL_MACHINE_STONEY_ISA, "Stoney", "stoney", 4, 16, 1, 256, 64 * Ki, 32, 800 },
-/* CAL_TARGET_LEXA */ { ED_ATI_CAL_MACHINE_LEXA_ISA, "gfx804", "gfx804", 4, 16, 1, 256, 64 * Ki, 32, 804 },
+/* CAL_TARGET_LEXA */ { ED_ATI_CAL_MACHINE_LEXA_ISA, "gfx804", "gfx804", 4, 16, 1, 256, 64 * Ki, 32, 800 },
};
enum gfx_handle {