summaryrefslogtreecommitdiffstats
path: root/src/Core/regularisers_GPU/TV_SB_GPU_core.cu
diff options
context:
space:
mode:
Diffstat (limited to 'src/Core/regularisers_GPU/TV_SB_GPU_core.cu')
-rwxr-xr-xsrc/Core/regularisers_GPU/TV_SB_GPU_core.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Core/regularisers_GPU/TV_SB_GPU_core.cu b/src/Core/regularisers_GPU/TV_SB_GPU_core.cu
index 0353868..58b1157 100755
--- a/src/Core/regularisers_GPU/TV_SB_GPU_core.cu
+++ b/src/Core/regularisers_GPU/TV_SB_GPU_core.cu
@@ -528,6 +528,6 @@ extern "C" int TV_SB_GPU_main(float *Input, float *Output, float *infovector, fl
/*adding info into info_vector */
infovector[0] = (float)(ll); /*iterations number (if stopped earlier based on tolerance)*/
infovector[1] = re; /* reached tolerance */
-
+ cudaDeviceSynchronize();
return 0;
}