From 4e568feac98d8ed7ad11de8e96df37aecfa787bf Mon Sep 17 00:00:00 2001 From: foreman Date: Wed, 3 Apr 2019 16:05:38 -0400 Subject: [PATCH] P4 to Git Change 1765529 by asalmanp@asalmanp-ocl-stg on 2019/04/03 15:40:06 SWDEV-132899 - [OCL] set lcWavefrontSize64_ on ROCm for all ASICs except gfx10+ so that we Link wavefrontsize64 correctly ReviewBoardURL = http://ocltc.amd.com/reviews/r/17081/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rocsettings.cpp#43 edit [ROCm/clr commit: dc0fc2d8825e283d5c37877ce43814d3641170ec] --- projects/clr/rocclr/runtime/device/rocm/rocsettings.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/projects/clr/rocclr/runtime/device/rocm/rocsettings.cpp b/projects/clr/rocclr/runtime/device/rocm/rocsettings.cpp index e2d7a8c529..1b150c4997 100644 --- a/projects/clr/rocclr/runtime/device/rocm/rocsettings.cpp +++ b/projects/clr/rocclr/runtime/device/rocm/rocsettings.cpp @@ -68,6 +68,8 @@ Settings::Settings() { numWaitEvents_ = 8; useLightning_ = GPU_ENABLE_LC; + + lcWavefrontSize64_ = true; } bool Settings::create(bool fullProfile, int gfxipVersion) { @@ -121,6 +123,10 @@ bool Settings::create(bool fullProfile, int gfxipVersion) { enableExtension(ClAmdFp64); } + if (gfxipVersion >= 1000) { + lcWavefrontSize64_ = false; + } + // Override current device settings override();