# HG changeset patch # User Doug Simon # Date 1391123592 -3600 # Node ID fe99bfb556268e760aed0b1b8e36965f48a396ab # Parent ab370d74a8ebdc446dd60cd808d888f54291da7c disable printing of CUDA errors unless TraceGPUInteraction is enabled diff -r ab370d74a8eb -r fe99bfb55626 src/gpu/ptx/vm/gpu_ptx.cpp --- 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) {