Bridge++
Version 1.5.4
|
ChannelSet class for a collection of channels. More...
#include <channel.h>
Public Member Functions | |
ChannelSet (int nchannel=8) | |
constructor. default number of channels is 8 for upward and downward in 4 dimensions. More... | |
int | append (Channel *const p) |
append channel to the set. there is no way to remove a channel. More... | |
int | start () |
collective start More... | |
int | wait () |
collective wait More... | |
ChannelSet (int nchannel=8) | |
constructor. default number of channels is 8 for upward and downward in 4 dimensions. More... | |
int | append (Channel *const p) |
append channel to the set. there is no way to remove a channel. More... | |
int | start () |
collective start More... | |
int | wait () |
collective wait More... | |
Private Attributes | |
std::vector< MPI_Request > | m_array |
a collection of MPI request held in channels. More... | |
std::vector< MPI_Status > | m_status |
a collection of MPI status. More... | |
unsigned int | m_nreq |
number of channels to hold. More... | |
ChannelSet class for a collection of channels.
ChannelSet defines a collection of channel class instances to invoke start and wait methods collectively for a set of channels.
ChannelSet::ChannelSet | ( | int | nchannel = 8 | ) |
constructor. default number of channels is 8 for upward and downward in 4 dimensions.
Definition at line 131 of file channel.cpp.
ChannelSet::ChannelSet | ( | int | nchannel = 8 | ) |
constructor. default number of channels is 8 for upward and downward in 4 dimensions.
int ChannelSet::append | ( | Channel *const | p | ) |
append channel to the set. there is no way to remove a channel.
int ChannelSet::append | ( | Channel *const | p | ) |
append channel to the set. there is no way to remove a channel.
Definition at line 139 of file channel.cpp.
int ChannelSet::start | ( | ) |
collective start
int ChannelSet::start | ( | ) |
collective start
Definition at line 153 of file channel.cpp.
int ChannelSet::wait | ( | ) |
collective wait
int ChannelSet::wait | ( | ) |
collective wait
Definition at line 161 of file channel.cpp.
|
private |
|
private |
|
private |