From 6c7eb60d6fe4b6534f604ea93c98483c3d2af104 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Fri, 15 May 2015 11:36:22 +0100 Subject: [PATCH] gcc doesn't like collapse(2) for some reason I can't figure --- lib/cshift/Grid_cshift_common.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/cshift/Grid_cshift_common.h b/lib/cshift/Grid_cshift_common.h index c212171e..cf1f88af 100644 --- a/lib/cshift/Grid_cshift_common.h +++ b/lib/cshift/Grid_cshift_common.h @@ -185,14 +185,15 @@ template void Copy_plane_permute(Lattice& lhs,Lattice &r PARALLEL_NESTED_LOOP2 for(int n=0;n_slice_nblock[dimension];n++){ - for(int b=0;b_slice_block[dimension];b++){ - int o =n*rhs._grid->_slice_stride[dimension]; + for(int b=0;b_slice_block [dimension];b++){ + + int o =n*rhs._grid->_slice_stride[dimension]; int ocb=1<CheckerBoardFromOindex(o+b); if ( ocb&cbmask ) { permute(lhs._odata[lo+o+b],rhs._odata[ro+o+b],permute_type); } - } - } + + }} } //////////////////////////////////////////////////////