summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasKulhanek <tomas.kulhanek@stfc.ac.uk>2018-12-07 00:52:58 +0000
committerTomasKulhanek <tomas.kulhanek@stfc.ac.uk>2018-12-07 00:52:58 +0000
commited7061b4c0ee0f225850ae95cb149773928f757e (patch)
treef798d27454a063a371d20df219414c98ee58f2d0
parent595546f07898a7c2369059e5217c1f13bcdb34b2 (diff)
downloadregularization-ed7061b4c0ee0f225850ae95cb149773928f757e.tar.gz
regularization-ed7061b4c0ee0f225850ae95cb149773928f757e.tar.bz2
regularization-ed7061b4c0ee0f225850ae95cb149773928f757e.tar.xz
regularization-ed7061b4c0ee0f225850ae95cb149773928f757e.zip
return insteadd of exit
-rw-r--r--Core/regularisers_GPU/LLT_ROF_GPU_core.cu2
1 files changed, 1 insertions, 1 deletions
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)); \