TIMPI
|
Go to the source code of this file.
Functions | |
void | fill_scalar_data (std::map< processor_id_type, std::vector< unsigned int >> &data, int M) |
void | fill_scalar_data (std::multimap< processor_id_type, std::vector< unsigned int >> &data, int M) |
void | fill_vector_data (std::map< processor_id_type, std::vector< std::vector< unsigned int >>> &data, int M) |
void | fill_vector_data (std::multimap< processor_id_type, std::vector< std::vector< unsigned int >>> &data, int M) |
void | testPushImpl (int M) |
void | testPush () |
void | testPushOversized () |
void | testPushMove () |
void | testPullImpl (int M) |
void | testPull () |
void | testPullOversized () |
void | testPushVecVecImpl (int M) |
void | testPushVecVec () |
void | testPushVecVecOversized () |
void | testPullVecVecImpl (int M) |
void | testPullVecVec () |
void | testPullVecVecOversized () |
void | testPushMultimapImpl (int M) |
void | testPushMultimap () |
void | testPushMultimapOversized () |
void | testPushMultimapVecVecImpl (int M) |
void | testPushMultimapVecVec () |
void | testPushMultimapVecVecOversized () |
void | testEmptyEntry () |
void | testStringSyncType () |
void | run_tests () |
int | main (int argc, const char *const *argv) |
Variables | |
Communicator * | TestCommWorld |
void fill_scalar_data | ( | std::map< processor_id_type, std::vector< unsigned int >> & | data, |
int | M | ||
) |
Definition at line 19 of file parallel_sync_unit.C.
References TIMPI::Communicator::rank(), and TestCommWorld.
Referenced by testEmptyEntry(), testPullImpl(), testPushImpl(), testPushMove(), and testPushMultimapImpl().
void fill_scalar_data | ( | std::multimap< processor_id_type, std::vector< unsigned int >> & | data, |
int | M | ||
) |
Definition at line 39 of file parallel_sync_unit.C.
References TIMPI::Communicator::rank(), and TestCommWorld.
void fill_vector_data | ( | std::map< processor_id_type, std::vector< std::vector< unsigned int >>> & | data, |
int | M | ||
) |
Definition at line 65 of file parallel_sync_unit.C.
References TIMPI::Communicator::rank(), and TestCommWorld.
Referenced by testPullVecVecImpl(), testPushMultimapVecVecImpl(), and testPushVecVecImpl().
void fill_vector_data | ( | std::multimap< processor_id_type, std::vector< std::vector< unsigned int >>> & | data, |
int | M | ||
) |
Definition at line 90 of file parallel_sync_unit.C.
References TIMPI::Communicator::rank(), and TestCommWorld.
int main | ( | int | argc, |
const char *const * | argv | ||
) |
Definition at line 741 of file parallel_sync_unit.C.
References TIMPI::Communicator::ALLTOALL_COUNTS, TIMPI::TIMPIInit::comm(), run_tests(), TIMPI::Communicator::SENDRECEIVE, TIMPI::Communicator::sync_type(), and TestCommWorld.
void run_tests | ( | ) |
Definition at line 715 of file parallel_sync_unit.C.
References testEmptyEntry(), testPull(), testPullOversized(), testPullVecVec(), testPullVecVecOversized(), testPush(), testPushMove(), testPushMultimap(), testPushMultimapOversized(), testPushMultimapVecVec(), testPushMultimapVecVecOversized(), testPushOversized(), testPushVecVec(), testPushVecVecOversized(), and testStringSyncType().
Referenced by main().
void testEmptyEntry | ( | ) |
Definition at line 626 of file parallel_sync_unit.C.
References fill_scalar_data(), TIMPI::push_parallel_vector_data(), TIMPI::Communicator::rank(), TIMPI::Communicator::size(), and TestCommWorld.
Referenced by run_tests().
void testPull | ( | ) |
Definition at line 283 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPullImpl().
Referenced by run_tests().
void testPullImpl | ( | int | M | ) |
Definition at line 225 of file parallel_sync_unit.C.
References fill_scalar_data(), TIMPI::pull_parallel_vector_data(), TIMPI::Communicator::SENDRECEIVE, TIMPI::Communicator::size(), TIMPI::Communicator::sync_type(), and TestCommWorld.
Referenced by testPull(), and testPullOversized().
void testPullOversized | ( | ) |
Definition at line 289 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPullImpl().
Referenced by run_tests().
void testPullVecVec | ( | ) |
Definition at line 432 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPullVecVecImpl().
Referenced by run_tests().
void testPullVecVecImpl | ( | int | M | ) |
Definition at line 360 of file parallel_sync_unit.C.
References fill_vector_data(), TIMPI::pull_parallel_vector_data(), TIMPI::Communicator::SENDRECEIVE, TIMPI::Communicator::size(), TIMPI::Communicator::sync_type(), and TestCommWorld.
Referenced by testPullVecVec().
void testPullVecVecOversized | ( | ) |
Definition at line 438 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPushVecVecImpl().
Referenced by run_tests().
void testPush | ( | ) |
Definition at line 162 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPushImpl().
Referenced by run_tests().
void testPushImpl | ( | int | M | ) |
Definition at line 113 of file parallel_sync_unit.C.
References fill_scalar_data(), TIMPI::push_parallel_vector_data(), TIMPI::Communicator::rank(), TIMPI::Communicator::size(), and TestCommWorld.
Referenced by testPush(), and testPushOversized().
void testPushMove | ( | ) |
Definition at line 174 of file parallel_sync_unit.C.
References fill_scalar_data(), TIMPI::push_parallel_vector_data(), TIMPI::Communicator::rank(), TIMPI::Communicator::size(), and TestCommWorld.
Referenced by run_tests().
void testPushMultimap | ( | ) |
Definition at line 517 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPushMultimapImpl().
Referenced by run_tests().
void testPushMultimapImpl | ( | int | M | ) |
Definition at line 444 of file parallel_sync_unit.C.
References fill_scalar_data(), TIMPI::push_parallel_vector_data(), TIMPI::Communicator::rank(), TIMPI::Communicator::SENDRECEIVE, TIMPI::Communicator::size(), TIMPI::Communicator::sync_type(), and TestCommWorld.
Referenced by testPushMultimap(), and testPushMultimapOversized().
void testPushMultimapOversized | ( | ) |
Definition at line 523 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPushMultimapImpl().
Referenced by run_tests().
void testPushMultimapVecVec | ( | ) |
Definition at line 612 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPushMultimapVecVecImpl().
Referenced by run_tests().
void testPushMultimapVecVecImpl | ( | int | M | ) |
Definition at line 529 of file parallel_sync_unit.C.
References fill_vector_data(), TIMPI::push_parallel_vector_data(), TIMPI::Communicator::rank(), TIMPI::Communicator::SENDRECEIVE, TIMPI::Communicator::size(), TIMPI::Communicator::sync_type(), and TestCommWorld.
Referenced by testPushMultimapVecVec(), and testPushMultimapVecVecOversized().
void testPushMultimapVecVecOversized | ( | ) |
Definition at line 618 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPushMultimapVecVecImpl().
Referenced by run_tests().
void testPushOversized | ( | ) |
Definition at line 168 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPushImpl().
Referenced by run_tests().
void testPushVecVec | ( | ) |
Definition at line 348 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPushVecVecImpl().
Referenced by run_tests().
void testPushVecVecImpl | ( | int | M | ) |
Definition at line 295 of file parallel_sync_unit.C.
References fill_vector_data(), TIMPI::push_parallel_vector_data(), TIMPI::Communicator::rank(), TIMPI::Communicator::size(), and TestCommWorld.
Referenced by testPullVecVecOversized(), testPushVecVec(), and testPushVecVecOversized().
void testPushVecVecOversized | ( | ) |
Definition at line 354 of file parallel_sync_unit.C.
References TIMPI::Communicator::size(), TestCommWorld, and testPushVecVecImpl().
Referenced by run_tests().
void testStringSyncType | ( | ) |
Definition at line 700 of file parallel_sync_unit.C.
References TIMPI::Communicator::ALLTOALL_COUNTS, TIMPI::Communicator::duplicate(), TIMPI::Communicator::NBX, TIMPI::Communicator::SENDRECEIVE, TIMPI::Communicator::sync_type(), and TestCommWorld.
Referenced by run_tests().
Communicator* TestCommWorld |
Definition at line 13 of file parallel_sync_unit.C.
Referenced by fill_scalar_data(), fill_vector_data(), main(), testEmptyEntry(), testPull(), testPullImpl(), testPullOversized(), testPullVecVec(), testPullVecVecImpl(), testPullVecVecOversized(), testPush(), testPushImpl(), testPushMove(), testPushMultimap(), testPushMultimapImpl(), testPushMultimapOversized(), testPushMultimapVecVec(), testPushMultimapVecVecImpl(), testPushMultimapVecVecOversized(), testPushOversized(), testPushVecVec(), testPushVecVecImpl(), testPushVecVecOversized(), and testStringSyncType().