Ignore:
Timestamp:
07/05/17 14:14:09 (7 years ago)
Author:
yushan
Message:

add request_check. test client and complete OK

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan_merged/extern/src_ep_dev/ep_type.hpp

    r1187 r1196  
    454454      #endif 
    455455 
    456       std::list< MPI_Request* > * pending_ptr; 
     456 
     457    bool operator == (MPI_Request right) 
     458    { 
     459      //bool a = mpi_request == right.mpi_request; 
     460      bool b = type == right.type; 
     461      bool c = buf == right.buf; 
     462      bool d = ep_src == right.ep_src; 
     463      bool e = ep_tag == right.ep_tag; 
     464      bool f = ep_datatype == right.ep_datatype; 
     465      return b&&c&&d&&e&&f; 
     466    } 
    457467  }; 
    458468 
     
    492502            //    <MPI_Fint,thread_num>   EP_Comm 
    493503 
    494   static std::list< MPI_Request* > * EP_PendingRequests = 0; 
    495   #pragma omp threadprivate(EP_PendingRequests) 
     504  //static std::list<MPI_Request * > *EP_PendingRequests = 0;  
    496505} 
    497506 
     
    499508 
    500509#endif // EP_TYPE_HPP_INCLUDED 
     510 
Note: See TracChangeset for help on using the changeset viewer.