mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	More states in packet progression for GPU non aware MPI
This commit is contained in:
		@@ -50,7 +50,21 @@ typedef MPI_Request MpiCommsRequest_t;
 | 
			
		||||
#ifdef ACCELERATOR_AWARE_MPI
 | 
			
		||||
typedef MPI_Request CommsRequest_t;
 | 
			
		||||
#else
 | 
			
		||||
enum PacketType_t { InterNodeXmit, InterNodeRecv, IntraNodeXmit, IntraNodeRecv, InterNodeXmitISend, InterNodeReceiveHtoD };
 | 
			
		||||
/*
 | 
			
		||||
 * Enable state transitions as each packet flows.
 | 
			
		||||
 */
 | 
			
		||||
enum PacketType_t {
 | 
			
		||||
  FaceGather,
 | 
			
		||||
  InterNodeXmit,
 | 
			
		||||
  InterNodeRecv,
 | 
			
		||||
  IntraNodeXmit,
 | 
			
		||||
  IntraNodeRecv,
 | 
			
		||||
  InterNodeXmitISend,
 | 
			
		||||
  InterNodeReceiveHtoD
 | 
			
		||||
};
 | 
			
		||||
/*
 | 
			
		||||
 *Package arguments needed for various actions along packet flow
 | 
			
		||||
 */
 | 
			
		||||
typedef struct {
 | 
			
		||||
  PacketType_t PacketType;
 | 
			
		||||
  void *host_buf;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user