From cd49db68d78a7ad0cdafb4a0828c48d7e57dfe77 Mon Sep 17 00:00:00 2001 From: Oskar Lappi Date: Sun, 7 Jun 2020 15:50:49 +0300 Subject: [PATCH] No barrier benchmark --- src/core/device.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/device.cc b/src/core/device.cc index abe2d1c..4f86dda 100644 --- a/src/core/device.cc +++ b/src/core/device.cc @@ -1673,7 +1673,7 @@ acGridReduceScal(const Stream stream, const ReductionType rtype, const Device device = grid.device; acGridSynchronizeStream(STREAM_ALL); - MPI_Barrier(MPI_COMM_WORLD); + //MPI_Barrier(MPI_COMM_WORLD); AcReal local_result; acDeviceReduceScal(device, stream, rtype, vtxbuf_handle, &local_result); @@ -1690,7 +1690,7 @@ acGridReduceVec(const Stream stream, const ReductionType rtype, const VertexBuff const Device device = grid.device; acGridSynchronizeStream(STREAM_ALL); - MPI_Barrier(MPI_COMM_WORLD); + //MPI_Barrier(MPI_COMM_WORLD); AcReal local_result; acDeviceReduceVec(device, stream, rtype, vtxbuf0, vtxbuf1, vtxbuf2, &local_result);