From c0750db6d14c59c52e7ba0bcdd75bc2f8d493759 Mon Sep 17 00:00:00 2001
From: foreman
Date: Fri, 7 Jul 2017 14:21:59 -0400
Subject: [PATCH] P4 to Git Change 1431491 by gandryey@gera-w8 on 2017/07/07
14:07:22
SWDEV-122734 - [OCL]Carrizo crashes test on OCLperf in Windows 10
- revert CL#142983. The crash still exists inside fprintf() for unknown reason. Could be memory corruption, which is difficult to reproduce
Affected files ...
... //depot/stg/opencl/drivers/opencl/runtime/device/device.cpp#211 edit
---
rocclr/runtime/device/device.cpp | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/rocclr/runtime/device/device.cpp b/rocclr/runtime/device/device.cpp
index b201b9b759..62322d9af7 100644
--- a/rocclr/runtime/device/device.cpp
+++ b/rocclr/runtime/device/device.cpp
@@ -1026,10 +1026,7 @@ cl_int Program::build(const std::string& sourceCode, const char* origOptions,
}
if (!buildLog_.empty()) {
- // LogError() has the size limit for the message
- if (buildLog_.size() < 768) {
- LogError(buildLog_.c_str());
- }
+ LogError(buildLog_.c_str());
}
return buildError();