From 79b758537c8ce2d374b1834e4ffc0eb1ebe91a38 Mon Sep 17 00:00:00 2001
From: foreman
Date: Mon, 1 Jun 2015 13:51:27 -0400
Subject: [PATCH] P4 to Git Change 1156441 by yaxunl@yaxunl_stg_win50 on
2015/06/01 13:40:44
EPR #420584 - [CQE OCL][ISV][QR][SI] FAHBenchmark application is crashing on all SI cards.
Wave limiter causes FAH crash on SI. Disable wave limiter for SI as a workaround.
Opened bug #10817 to track this issue.
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpuwavelimiter.cpp#6 edit
---
rocclr/runtime/device/gpu/gpuwavelimiter.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/rocclr/runtime/device/gpu/gpuwavelimiter.cpp b/rocclr/runtime/device/gpu/gpuwavelimiter.cpp
index 52cecb7321..db568d787a 100644
--- a/rocclr/runtime/device/gpu/gpuwavelimiter.cpp
+++ b/rocclr/runtime/device/gpu/gpuwavelimiter.cpp
@@ -264,9 +264,10 @@ void WaveLimiterManager::enable() {
}
auto gpuDev = static_cast(&owner_->dev());
auto hwInfo = gpuDev->hwInfo();
- // Enable it only for SI+, unless GPU_WAVE_LIMIT_ENABLE is set to 1
+ // Enable it only for CI+, unless GPU_WAVE_LIMIT_ENABLE is set to 1
+ // Disabled for SI due to bug #10817
setIfNotDefault(enable_, GPU_WAVE_LIMIT_ENABLE,
- owner_->workGroupInfo()->limitWave_ && gpuDev->settings().siPlus_);
+ owner_->workGroupInfo()->limitWave_ && gpuDev->settings().ciPlus_);
}
}