diff options
author | dkazanc <dkazanc@hotmail.com> | 2020-03-02 10:49:24 +0000 |
---|---|---|
committer | dkazanc <dkazanc@hotmail.com> | 2020-03-02 10:49:24 +0000 |
commit | 5c28ac993bdf5f5a16910f0f07bace8f87724479 (patch) | |
tree | 6a7d78a5b880d28e4132a585448c142ba95eaf0c /src/Core/regularisers_GPU/LLT_ROF_GPU_core.cu | |
parent | e0eb65274b88625dee7c00758a957cf908f84b40 (diff) | |
download | regularization-5c28ac993bdf5f5a16910f0f07bace8f87724479.tar.gz regularization-5c28ac993bdf5f5a16910f0f07bace8f87724479.tar.bz2 regularization-5c28ac993bdf5f5a16910f0f07bace8f87724479.tar.xz regularization-5c28ac993bdf5f5a16910f0f07bace8f87724479.zip |
cudaDeviceSynchronize before exit
Diffstat (limited to 'src/Core/regularisers_GPU/LLT_ROF_GPU_core.cu')
-rw-r--r-- | src/Core/regularisers_GPU/LLT_ROF_GPU_core.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Core/regularisers_GPU/LLT_ROF_GPU_core.cu b/src/Core/regularisers_GPU/LLT_ROF_GPU_core.cu index 3c578f3..3109cfa 100644 --- a/src/Core/regularisers_GPU/LLT_ROF_GPU_core.cu +++ b/src/Core/regularisers_GPU/LLT_ROF_GPU_core.cu @@ -599,6 +599,6 @@ extern "C" int LLT_ROF_GPU_main(float *Input, float *Output, float *infovector, infovector[0] = (float)(n); /*iterations number (if stopped earlier based on tolerance)*/ infovector[1] = re; /* reached tolerance */ - + cudaDeviceSynchronize(); return 0; } |