mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	Copy data needed by Kernels out of the grid object to avoid host reference
This commit is contained in:
		@@ -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){							\
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user