Skip to content

Commit 9cb36a5

Browse files
committed
removes sync from toc call
1 parent b2387c4 commit 9cb36a5

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

benchmark/utils/timer.hpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,6 @@ class CudaTimer : public Timer {
272272

273273
double toc_impl() override
274274
{
275-
exec_->synchronize();
276275
gko::cuda::device_guard g{id_};
277276
// Currently, gko::CudaExecutor always use default stream.
278277
GKO_ASSERT_NO_CUDA_ERRORS(cudaEventRecord(stop_));
@@ -340,7 +339,6 @@ class HipTimer : public Timer {
340339

341340
double toc_impl() override
342341
{
343-
exec_->synchronize();
344342
gko::hip::device_guard g{id_};
345343
// Currently, gko::HipExecutor always use default stream.
346344
GKO_ASSERT_NO_HIP_ERRORS(hipEventRecord(stop_));

0 commit comments

Comments
 (0)