1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-07-07 08:57:06 +01:00

OMP collapse changes to make NVCC happy

This commit is contained in:
paboyle
2018-01-28 01:21:53 +00:00
parent b6ebf35af5
commit e657f9a344
4 changed files with 25 additions and 26 deletions

View File

@ -358,7 +358,7 @@ static void sliceMaddVector(Lattice<vobj> &R,std::vector<RealD> &a,const Lattice
tensor_reduced at; at=av;
thread_loop_collapse(2, (int n=0;n<e1;n++),{
thread_loop_collapse2( (int n=0;n<e1;n++),{
for(int b=0;b<e2;b++){
int ss= so+n*stride+b;
R[ss] = at*X[ss]+Y[ss];