P4 to Git Change 1739436 by asalmanp@asalmanp-ocl-stg on 2019/02/04 07:47:06

SWDEV-178459 - Navi10 Regression in driver builds with OpenCL v2811.3 causing issues with several OpenCL apps and workloads

	Switch to Wave64 for HSAIL/SC path for now as the Wave32 in HSAIL/SC path causes multiple regressions and some OCL apps cannot be run

	ReviewBoardURL = http://ocltc.amd.com/reviews/r/16662/

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palsettings.cpp#66 edit


[ROCm/clr commit: c33c249cf1]
This commit is contained in:
foreman
2019-02-04 08:00:12 -05:00
parent 9e5de58ef5
commit 175fd957af
@@ -192,7 +192,12 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
hsailExplicitXnack_ = static_cast<uint>(palProp.gpuMemoryProperties.flags.pageMigrationEnabled
|| palProp.gpuMemoryProperties.flags.iommuv2Support);
enableWgpMode_ = GPU_ENABLE_WGP_MODE || !useLightning_;
enableWave32Mode_ = GPU_ENABLE_WAVE32_MODE;
if (useLightning_) {
enableWave32Mode_ = true;
}
if (!flagIsDefault(GPU_ENABLE_WAVE32_MODE)) {
enableWave32Mode_ = GPU_ENABLE_WAVE32_MODE;
}
if (palProp.revision == Pal::AsicRevision::Navi10Lite && useLightning_) {
enableWave32Mode_ = false;
}