From 9aae2d989d302a5d47a294b4defae3d12103efaf Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 27 Jul 2015 15:54:07 -0400
Subject: [PATCH] P4 to Git Change 1174387 by jatang@jatang-opencl-hsa-stg1 on
2015/07/27 15:33:18
ECR #333753 - cl-denorms-are-zero runtime change - comment out "singleFpDenorm_ = true" for now.
So AMD_GPU_FORCE_SINGLE_FP_DENORM is required to enable this, until a few issues are resolved.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#316 edit
---
rocclr/runtime/device/gpu/gpusettings.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rocclr/runtime/device/gpu/gpusettings.cpp b/rocclr/runtime/device/gpu/gpusettings.cpp
index 33eae48c99..1d1659213b 100644
--- a/rocclr/runtime/device/gpu/gpusettings.cpp
+++ b/rocclr/runtime/device/gpu/gpusettings.cpp
@@ -254,7 +254,8 @@ Settings::create(
case CAL_TARGET_BAFFIN:
// Disable tiling aperture on VI+
linearPersistentImage_ = true;
- singleFpDenorm_ = true;
+ // Comment this out for now:
+ // singleFpDenorm_ = true;
viPlus_ = true;
// Fall through to CI ...
case CAL_TARGET_KALINDI: