Galois
|
Contains the DataCommMode enumeration and a function that chooses a data comm mode based on its arguments. More...
Go to the source code of this file.
Enumerations | |
enum | DataCommMode { noData, bitsetData, offsetsData, gidsData, onlyData, dataSplitFirst, dataSplit } |
Enumeration of data communication modes that can be used in synchronization. More... | |
Functions | |
template<typename DataType > | |
DataCommMode | get_data_mode (size_t num_selected, size_t num_total) |
Given a size of a subset of elements to send and the total number of elements, determine an appropriate data mode to use for sending out the data during synchronization. More... | |
Variables | |
DataCommMode | enforcedDataMode |
If some mode is to be enforced, set this variable. More... | |
Contains the DataCommMode enumeration and a function that chooses a data comm mode based on its arguments.
enum DataCommMode |
DataCommMode get_data_mode | ( | size_t | num_selected, |
size_t | num_total | ||
) |
Given a size of a subset of elements to send and the total number of elements, determine an appropriate data mode to use for sending out the data during synchronization.
DataType | type of the data to be synchronized |
num_selected | number of elements to send out (subset of num_total) |
num_total | total number of elements that exist |
DataCommMode enforcedDataMode |
If some mode is to be enforced, set this variable.
If some mode is to be enforced, set this variable.