32 lines
875 B
Diff
32 lines
875 B
Diff
|
From a8d63548bc885a75b9bf6b2cc2d93d95cf0d7c3a Mon Sep 17 00:00:00 2001
|
||
|
Date: Sun, 20 Oct 2019 23:48:42 +0300
|
||
|
Subject: [PATCH 3/5] perftest: Add statement after omp barrier
|
||
|
|
||
|
---
|
||
|
src/tools/perf/perftest.c | 2 ++
|
||
|
1 file changed, 2 insertions(+)
|
||
|
|
||
|
diff --git a/src/tools/perf/perftest.c b/src/tools/perf/perftest.c
|
||
|
index b770f43..53a7eb7 100644
|
||
|
--- a/src/tools/perf/perftest.c
|
||
|
+++ b/src/tools/perf/perftest.c
|
||
|
@@ -795,6 +795,7 @@ static void sock_rte_barrier(void *rte_group, void (*progress)(void *arg),
|
||
|
ucs_assert(sync == magic);
|
||
|
}
|
||
|
#pragma omp barrier
|
||
|
+ return;
|
||
|
}
|
||
|
|
||
|
static void sock_rte_post_vec(void *rte_group, const struct iovec *iovec,
|
||
|
@@ -1057,6 +1058,7 @@ static void mpi_rte_barrier(void *rte_group, void (*progress)(void *arg),
|
||
|
}
|
||
|
|
||
|
#pragma omp barrier
|
||
|
+ return
|
||
|
}
|
||
|
|
||
|
static void mpi_rte_post_vec(void *rte_group, const struct iovec *iovec,
|
||
|
--
|
||
|
2.1.4
|
||
|
|