changeset 13833:fe99bfb55626

disable printing of CUDA errors unless TraceGPUInteraction is enabled
author Doug Simon <doug.simon@oracle.com>
date Fri, 31 Jan 2014 00:13:12 +0100
parents ab370d74a8eb
children 4ca607fc94e0
files src/gpu/ptx/vm/gpu_ptx.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gpu/ptx/vm/gpu_ptx.cpp	Thu Jan 30 23:52:34 2014 +0100
+++ b/src/gpu/ptx/vm/gpu_ptx.cpp	Fri Jan 31 00:13:12 2014 +0100
@@ -412,7 +412,7 @@
       Thread* THREAD = _thread;
       char* message = NEW_RESOURCE_ARRAY_IN_THREAD(THREAD, char, O_BUFLEN + 1);
       jio_snprintf(message, O_BUFLEN, "[CUDA] *** Error (status=%d): %s", status, action);
-      if (TraceGPUInteraction || HAS_PENDING_EXCEPTION) {
+      if (TraceGPUInteraction) {
         tty->print_cr(message);
       }
       if (!HAS_PENDING_EXCEPTION) {