mirror of
https://github.com/paboyle/Grid.git
synced 2026-10-09 17:28:06 +01:00
Merge branch 'feature/gpu-port' of https://github.com/paboyle/Grid into feature/gpu-port
Conflicts: Grid/stencil/Stencil.h
This commit is contained in:
commit
705a8098b2
45 files changed
+35
-75
No files matched your search
@@ -777,7 +777,7 @@ public:
|
||||
|
||||
int permute_slice=0;
|
||||
if(permute_dim){
|
||||
int wrap = sshift/rd;
|
||||
int wrap = sshift/rd; wrap=wrap % ly; // but it is local anyway
|
||||
int num = sshift%rd;
|
||||
if ( x< rd-num ) permute_slice=wrap;
|
||||
else permute_slice = (wrap+1)%ly;
|
||||
|
||||
Reference in new issue
Block a user