diff options
author | TomasKulhanek <tomas.kulhanek@stfc.ac.uk> | 2018-12-07 00:34:54 +0000 |
---|---|---|
committer | TomasKulhanek <tomas.kulhanek@stfc.ac.uk> | 2018-12-07 00:34:54 +0000 |
commit | 4f09b8ede08894b7d64228d38eadd5250e70c3f9 (patch) | |
tree | c8b5cac0b7b4d1ade3aa83a2632e25fc8c4ef857 | |
parent | a4143c74b9c8765959855b20e381a015e2d08e32 (diff) | |
download | regularization-4f09b8ede08894b7d64228d38eadd5250e70c3f9.tar.gz regularization-4f09b8ede08894b7d64228d38eadd5250e70c3f9.tar.bz2 regularization-4f09b8ede08894b7d64228d38eadd5250e70c3f9.tar.xz regularization-4f09b8ede08894b7d64228d38eadd5250e70c3f9.zip |
return insteadd of exit
-rw-r--r-- | Core/regularisers_GPU/Diffus_4thO_GPU_core.cu | 2 |
1 files changed, 1 insertions, 1 deletions
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; \ } \ } |