Last change
on this file since 2345 was
2343,
checked in by ymipsl, 2 years ago
|
- Implement new infrastructure for transfert protocol.
- new purelly one sided protocol is now available, the previous protocol (legacy, mix send/recv and one sided) is still available. Other specific protocol could be implemented more easilly in future.
- switch can be operate with "transport_protocol" variable in XIOS context :
ex:
<variable id="transport_protocol" type="string">one_sided</variable>
Available protocols are : one_sided, legacy or default. The default protocol is "legacy".
YM
|
-
Property svn:executable set to
*
|
File size:
560 bytes
|
Rev | Line | |
---|
[2343] | 1 | #ifndef __ONE_SIDED_CS_BUFFER_BASE_HPP__ |
---|
| 2 | #define __ONE_SIDED_CS_BUFFER_BASE_HPP__ |
---|
| 3 | |
---|
| 4 | #include "xios_spl.hpp" |
---|
| 5 | #include "buffer_out.hpp" |
---|
| 6 | #include "mpi.hpp" |
---|
| 7 | #include "cxios.hpp" |
---|
| 8 | #include "event_client.hpp" |
---|
| 9 | #include <limits> |
---|
| 10 | |
---|
| 11 | namespace xios |
---|
| 12 | { |
---|
| 13 | class COneSidedCSBufferBase |
---|
| 14 | { |
---|
| 15 | protected : |
---|
| 16 | |
---|
| 17 | const int controlSize_ = 2 ; |
---|
| 18 | const int CONTROL_ADDR = 0 ; |
---|
| 19 | const int CONTROL_FINALIZE = 1 ; |
---|
| 20 | |
---|
| 21 | const size_t EVENT_BUFFER_RESIZE = std::numeric_limits<size_t>::max()-1 ; |
---|
| 22 | const int MAX_WINDOWS=6 ; |
---|
| 23 | |
---|
| 24 | |
---|
| 25 | } ; |
---|
| 26 | |
---|
| 27 | } |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.