1
0
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:
paboyle 2018-02-02 11:36:11 +00:00
parent dcf6517a93
commit aa6de818e2

View File

@ -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){ \