Skip to content

Commit

Permalink
Fix formatting. (#212)
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel K. Gutierrez <samuel@lanl.gov>
  • Loading branch information
samuelkgutierrez authored Jul 11, 2024
1 parent 2f05528 commit d2f310c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/qvi-omp.cc
Original file line number Diff line number Diff line change
Expand Up @@ -273,11 +273,11 @@ qvi_omp_group_scatter_bbuffs(
qvi_bbuff_t **rxbuff
) {
qvi_bbuff_t ***tmp = nullptr;
#pragma omp single copyprivate(tmp)
#pragma omp single copyprivate(tmp)
tmp = new qvi_bbuff_t**();
#pragma omp master
#pragma omp master
*tmp = txbuffs;
#pragma omp barrier
#pragma omp barrier
const int group_id = group->rank;
qvi_bbuff_t *inbuff = (*tmp)[group_id];
const size_t data_size = qvi_bbuff_size(inbuff);
Expand All @@ -288,8 +288,8 @@ qvi_omp_group_scatter_bbuffs(
if (rc == QV_SUCCESS) {
rc = qvi_bbuff_append(mybbuff, data, data_size);
}
#pragma omp barrier
#pragma omp single
#pragma omp barrier
#pragma omp single
delete tmp;

if (rc != QV_SUCCESS) {
Expand Down

0 comments on commit d2f310c

Please sign in to comment.