We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72b9f51 commit bc82c20Copy full SHA for bc82c20
1 file changed
GPU/GPUTracking/Global/GPUChain.h
@@ -297,6 +297,7 @@ inline int32_t GPUChain::runRecoStep(RecoStep step, S T::*func, Args... args)
297
}
298
int32_t retVal = (reinterpret_cast<T*>(this)->*func)(args...);
299
if (timer) {
300
+ SynchronizeGPU();
301
timer->timerTotal.Stop();
302
timer->timerCPU += (double)(std::clock() - c) / CLOCKS_PER_SEC;
303
0 commit comments