mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Copy data needed by Kernels out of the grid object to avoid host reference
This commit is contained in:
parent
dcf6517a93
commit
aa6de818e2
@ -92,7 +92,7 @@ Author: paboyle <paboyle@ph.ed.ac.uk>
|
||||
g = F; \
|
||||
direction = st._directions[DIR]; \
|
||||
distance = st._distances[DIR]; \
|
||||
sl = st.Grid()->_simd_layout[direction]; \
|
||||
sl = st._simd_layout[direction]; \
|
||||
inplace_twist = 0; \
|
||||
if(SE->_around_the_world && this->Params.twists[DIR % 4]){ \
|
||||
if(sl == 1){ \
|
||||
|
Loading…
Reference in New Issue
Block a user