diff --git a/apps/laplace.c b/apps/laplace.c index f017f89b..b1af1fa9 100644 --- a/apps/laplace.c +++ b/apps/laplace.c @@ -245,7 +245,6 @@ int laplace(void *arg) NewValues = OldValues; OldValues = tmp; - //RCCE_TNS_barrier(&RCCE_COMM_WORLD); RCCE_barrier(&RCCE_COMM_WORLD); #ifdef _USE_GFX @@ -269,6 +268,8 @@ int laplace(void *arg) GFX_draw_data((char *)(BufValues[0]), (N) * (M)); GFX_update(); } + + RCCE_barrier(&RCCE_COMM_WORLD); #endif // END ITERATIONS LOOP }