From f23b2b50cc562c6d5588dc4085eda9427ef059f1 Mon Sep 17 00:00:00 2001 From: Martin Bauer <martin.bauer@fau.de> Date: Wed, 6 Mar 2019 09:45:59 +0100 Subject: [PATCH] Removed debug code from UniformGPUScheme --- src/cuda/communication/UniformGPUScheme.h | 1 - src/cuda/communication/UniformGPUScheme.impl.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/cuda/communication/UniformGPUScheme.h b/src/cuda/communication/UniformGPUScheme.h index b22a3be6c..0dda96a48 100644 --- a/src/cuda/communication/UniformGPUScheme.h +++ b/src/cuda/communication/UniformGPUScheme.h @@ -33,7 +33,6 @@ #include "cuda/communication/CustomMemoryBuffer.h" #include "cuda/ParallelStreams.h" -#include <chrono> #include <thread> namespace walberla { diff --git a/src/cuda/communication/UniformGPUScheme.impl.h b/src/cuda/communication/UniformGPUScheme.impl.h index 51ab70d72..b39d9d054 100644 --- a/src/cuda/communication/UniformGPUScheme.impl.h +++ b/src/cuda/communication/UniformGPUScheme.impl.h @@ -139,8 +139,6 @@ UniformGPUScheme<Stencil>::UniformGPUScheme( weak_ptr_wrapper <StructuredBlockFo auto parallelSection = parallelSectionManager_.parallelSection( stream ); for( auto recvInfo = bufferSystemCPU_.begin(); recvInfo != bufferSystemCPU_.end(); ++recvInfo ) { - using namespace std::chrono_literals; - std::this_thread::sleep_for( 1ms ); auto &gpuBuffer = bufferSystemGPU_.sendBuffer( recvInfo.rank()); gpuBuffer.clear(); -- GitLab