From ed7061b4c0ee0f225850ae95cb149773928f757e Mon Sep 17 00:00:00 2001 From: TomasKulhanek Date: Fri, 7 Dec 2018 00:52:58 +0000 Subject: return insteadd of exit --- Core/regularisers_GPU/LLT_ROF_GPU_core.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/regularisers_GPU/LLT_ROF_GPU_core.cu b/Core/regularisers_GPU/LLT_ROF_GPU_core.cu index ac43eb7..3e41d64 100644 --- a/Core/regularisers_GPU/LLT_ROF_GPU_core.cu +++ b/Core/regularisers_GPU/LLT_ROF_GPU_core.cu @@ -44,7 +44,7 @@ limitations under the License. { \ const cudaError_t error = call; \ if (error != cudaSuccess) \ - { / \ + { \ fprintf(stderr, "Error: %s:%d, ", __FILE__, __LINE__); \ fprintf(stderr, "code: %d, reason: %s\n", error, \ cudaGetErrorString(error)); \ -- cgit v1.2.3