mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			9a1ad6a5eb
			...
			feature/ha
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					e57eafe388 | 
@@ -215,7 +215,6 @@ class CartesianStencil { // Stencil runs along coordinate axes only; NO diagonal
 | 
				
			|||||||
    _grid->ShiftedRanks(dimension,nbr_proc,xmit_to_rank,recv_from_rank); 
 | 
					    _grid->ShiftedRanks(dimension,nbr_proc,xmit_to_rank,recv_from_rank); 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    void *shm = (void *) _grid->ShmBufferTranslate(recv_from_rank,u_recv_buf_p);
 | 
					    void *shm = (void *) _grid->ShmBufferTranslate(recv_from_rank,u_recv_buf_p);
 | 
				
			||||||
 | 
					 | 
				
			||||||
    if ( shm==NULL ) return 0;
 | 
					    if ( shm==NULL ) return 0;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    return 1;
 | 
					    return 1;
 | 
				
			||||||
@@ -821,7 +820,6 @@ class CartesianStencil { // Stencil runs along coordinate axes only; NO diagonal
 | 
				
			|||||||
	send_buf = (cobj *)_grid->ShmBufferTranslate(xmit_to_rank,recv_buf);
 | 
						send_buf = (cobj *)_grid->ShmBufferTranslate(xmit_to_rank,recv_buf);
 | 
				
			||||||
	if ( send_buf==NULL ) { 
 | 
						if ( send_buf==NULL ) { 
 | 
				
			||||||
	  send_buf = u_send_buf_p;
 | 
						  send_buf = u_send_buf_p;
 | 
				
			||||||
	  shm_receive_only = 0;
 | 
					 | 
				
			||||||
	} 
 | 
						} 
 | 
				
			||||||
	
 | 
						
 | 
				
			||||||
	// Find out if we get the direct copy.
 | 
						// Find out if we get the direct copy.
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user