1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

gcc doesn't like collapse(2) for some reason I can't figure

This commit is contained in:
Peter Boyle 2015-05-15 11:36:22 +01:00
parent 051b23fe10
commit 6c7eb60d6f

View File

@ -185,14 +185,15 @@ template<class vobj> void Copy_plane_permute(Lattice<vobj>& lhs,Lattice<vobj> &r
PARALLEL_NESTED_LOOP2
for(int n=0;n<rhs._grid->_slice_nblock[dimension];n++){
for(int b=0;b<rhs._grid->_slice_block[dimension];b++){
int o =n*rhs._grid->_slice_stride[dimension];
for(int b=0;b<rhs._grid->_slice_block [dimension];b++){
int o =n*rhs._grid->_slice_stride[dimension];
int ocb=1<<lhs._grid->CheckerBoardFromOindex(o+b);
if ( ocb&cbmask ) {
permute(lhs._odata[lo+o+b],rhs._odata[ro+o+b],permute_type);
}
}
}
}}
}
//////////////////////////////////////////////////////