diff --git a/GPU/GPUTracking/Global/GPUChain.h b/GPU/GPUTracking/Global/GPUChain.h index e3a20ad81a2cb..9ce3da1092e83 100644 --- a/GPU/GPUTracking/Global/GPUChain.h +++ b/GPU/GPUTracking/Global/GPUChain.h @@ -297,6 +297,7 @@ inline int32_t GPUChain::runRecoStep(RecoStep step, S T::*func, Args... args) } int32_t retVal = (reinterpret_cast(this)->*func)(args...); if (timer) { + SynchronizeGPU(); timer->timerTotal.Stop(); timer->timerCPU += (double)(std::clock() - c) / CLOCKS_PER_SEC; }