Skip to content

Commit ad94d57

Browse files
Alessandro Fanfarillozbeekman
authored andcommitted
Full barrier for any allocation
1 parent 6b47189 commit ad94d57

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/mpi/mpi_caf.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,9 +533,10 @@ void *
533533
MPI_Win_flush(caf_this_image-1, *p);
534534
# endif // CAF_MPI_LOCK_UNLOCK
535535
free(init_array);
536-
PREFIX(sync_all) (NULL,NULL,0);
537536
}
538537

538+
PREFIX(sync_all) (NULL,NULL,0);
539+
539540
caf_static_t *tmp = malloc (sizeof (caf_static_t));
540541
tmp->prev = caf_tot;
541542
tmp->token = *token;

0 commit comments

Comments
 (0)