From 78451ae9cfb54c6fbea1fcc2be5a2ca588e84d02 Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 12 Jun 2019 03:38:03 -0400 Subject: [PATCH] P4 to Git Change 1808220 by gandryey@gera-win10 on 2019/06/11 12:35:46 SWDEV-79445 - OCL generic changes and code clean-up - Force LC for HIP, since it doesn't support HSAIL path Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#83 edit --- rocclr/runtime/device/pal/palsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rocclr/runtime/device/pal/palsettings.cpp b/rocclr/runtime/device/pal/palsettings.cpp index 1da7ee8b92..23241de5c7 100644 --- a/rocclr/runtime/device/pal/palsettings.cpp +++ b/rocclr/runtime/device/pal/palsettings.cpp @@ -138,7 +138,7 @@ Settings::Settings() { std::min(static_cast(GPU_MAX_SUBALLOC_SIZE) * Ki, subAllocationChunkSize_); maxCmdBuffers_ = 12; - useLightning_ = GPU_ENABLE_LC; + useLightning_ = amd::IS_HIP ? true : GPU_ENABLE_LC; enableWgpMode_ = false; enableWave32Mode_ = false; hsailExplicitXnack_ = false;