diff options
author | TomasKulhanek <tomas.kulhanek@stfc.ac.uk> | 2018-12-07 00:52:58 +0000 |
---|---|---|
committer | TomasKulhanek <tomas.kulhanek@stfc.ac.uk> | 2018-12-07 00:52:58 +0000 |
commit | ed7061b4c0ee0f225850ae95cb149773928f757e (patch) | |
tree | f798d27454a063a371d20df219414c98ee58f2d0 | |
parent | 595546f07898a7c2369059e5217c1f13bcdb34b2 (diff) | |
download | regularization-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.cu | 2 |
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)); \ |