From 5d5583b7f9427ec2ecc24b37c7cf4a54e2584101 Mon Sep 17 00:00:00 2001
From: foreman
Date: Tue, 21 Oct 2014 14:54:42 -0400
Subject: [PATCH] P4 to Git Change 1089720 by weizhang@msdnweizhang-opencl on
2014/10/21 14:41:59
EPR #405824 - Disable platform atomics on CZ
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/gpu/gpusettings.cpp#291 edit
[ROCm/clr commit: 1a5e2fabe007fd724e14a3696408c70559a762d4]
---
projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
index 4bf815588d..b64fcacf3b 100644
--- a/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
+++ b/projects/clr/rocclr/runtime/device/gpu/gpusettings.cpp
@@ -428,7 +428,7 @@ Settings::create(
disablePersistent_ = true;
}
- if (calAttr.priSupport) {
+ if (calAttr.priSupport && target != CAL_TARGET_CARRIZO) {
svmAtomics_ = true;
}