From 3e20f16c5bed43fed2463c41d3c937c47ee4474d Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 23 Dec 2015 09:01:58 -0500 Subject: [PATCH] P4 to Git Change 1223224 by emankov@em-hsa-amd on 2015/12/23 08:57:37 SWDEV-80173 - Switching HSAIL on OpenCL stack by default: Disabling HSAIL by default on Linux 32bit due to know Catalyst issue. [Testing] precheckin http://ocltc.amd.com:8111/viewModification.html?modId=64665&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/utils/flags.hpp#249 edit --- rocclr/runtime/utils/flags.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rocclr/runtime/utils/flags.hpp b/rocclr/runtime/utils/flags.hpp index f2177b9006..ce361cb92f 100644 --- a/rocclr/runtime/utils/flags.hpp +++ b/rocclr/runtime/utils/flags.hpp @@ -134,7 +134,8 @@ release(bool, GPU_STAGING_WRITE_PERSISTENT, false, \ "Enable Persistent writes") \ release(bool, DRMDMA_FOR_LNX_CF, false, \ "Enable DRMDMA for Linux CrossFire") \ -release(bool, GPU_HSAIL_ENABLE, true, \ +/* HSAIL is by default, except Linux 32bit, because of known Catalyst 32bit issue */ \ +release(bool, GPU_HSAIL_ENABLE, LP64_SWITCH(LINUX_SWITCH(false,true),true), \ "Enable HSAIL on dGPU stack (requires CI+ HW)") \ release(uint, GPU_PRINT_CHILD_KERNEL, 0, \ "Prints the specified number of the child kernels") \