From 3f7738a8f78d9fd76678ddcb68634e267eb89eba Mon Sep 17 00:00:00 2001
From: Tobias Winchen <tobias.winchen@rwth-aachen.de>
Date: Fri, 27 Aug 2021 11:01:54 +0000
Subject: [PATCH] Remove device syncs in test

---
 .../effelsberg/edd/test/src/DetectorAccumulatorTester.cu      | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/psrdada_cpp/effelsberg/edd/test/src/DetectorAccumulatorTester.cu b/psrdada_cpp/effelsberg/edd/test/src/DetectorAccumulatorTester.cu
index 7fbd556e..58117786 100644
--- a/psrdada_cpp/effelsberg/edd/test/src/DetectorAccumulatorTester.cu
+++ b/psrdada_cpp/effelsberg/edd/test/src/DetectorAccumulatorTester.cu
@@ -139,8 +139,6 @@ TEST_P(detect_and_accumulate32bit, no_stride)
             params.naccumulate,
             1, 0., 1, 0);
 
-    cudaDeviceSynchronize();
-
     thrust::host_vector<float> output_host = output;
 
     for (size_t i =0; i < output.size(); i++)
@@ -173,8 +171,6 @@ TEST_P(detect_and_accumulate32bit, w_stride)
             params.naccumulate,
             1, 0., 2, 0);
 
-    cudaDeviceSynchronize();
-
     thrust::host_vector<float> output_host = output;
 
     for (size_t i =0; i < params.nchan * params.nspectra; i++)
-- 
GitLab