No barrier benchmark

This commit is contained in:
Oskar Lappi
2020-06-07 15:50:49 +03:00
parent 53b48bb8ce
commit cd49db68d7

View File

@@ -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);