From 4f09b8ede08894b7d64228d38eadd5250e70c3f9 Mon Sep 17 00:00:00 2001 From: TomasKulhanek Date: Fri, 7 Dec 2018 00:34:54 +0000 Subject: return insteadd of exit --- Core/regularisers_GPU/Diffus_4thO_GPU_core.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/regularisers_GPU/Diffus_4thO_GPU_core.cu b/Core/regularisers_GPU/Diffus_4thO_GPU_core.cu index 0b5db26..287fdc8 100644 --- a/Core/regularisers_GPU/Diffus_4thO_GPU_core.cu +++ b/Core/regularisers_GPU/Diffus_4thO_GPU_core.cu @@ -44,7 +44,7 @@ limitations under the License. fprintf(stderr, "Error: %s:%d, ", __FILE__, __LINE__); \ fprintf(stderr, "code: %d, reason: %s\n", error, \ cudaGetErrorString(error)); \ - exit(0); \ + return; \ } \ } -- cgit v1.2.3