summaryrefslogtreecommitdiffstats
path: root/src/Core/regularisers_GPU/NonlDiff_GPU_core.cu
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/regularisers_GPU/NonlDiff_GPU_core.cu')
-rw-r--r--src/Core/regularisers_GPU/NonlDiff_GPU_core.cu1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Core/regularisers_GPU/NonlDiff_GPU_core.cu b/src/Core/regularisers_GPU/NonlDiff_GPU_core.cu
index d7a6bac..1d592d6 100644
--- a/src/Core/regularisers_GPU/NonlDiff_GPU_core.cu
+++ b/src/Core/regularisers_GPU/NonlDiff_GPU_core.cu
@@ -545,5 +545,6 @@ extern "C" int NonlDiff_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;
}