|
enum class | lci::attr_backend_t { lci::none
, lci::ibv
, lci::ofi
, lci::ucx
} |
|
enum | lci::attr_net_lock_mode_t { lci::LCI_NET_TRYLOCK_SEND = 1
, lci::LCI_NET_TRYLOCK_RECV = 1 << 1
, lci::LCI_NET_TRYLOCK_POLL = 1 << 2
, lci::LCI_NET_TRYLOCK_MAX = 1 << 3
} |
|
enum class | lci::errorcode_t {
lci::errorcode_t::done_min
, lci::errorcode_t::done
, lci::errorcode_t::done_backlog
, lci::errorcode_t::done_max
,
lci::errorcode_t::posted_min
, lci::errorcode_t::posted
, lci::errorcode_t::posted_backlog
, lci::errorcode_t::posted_max
,
lci::errorcode_t::retry_min
, lci::errorcode_t::retry
, lci::errorcode_t::retry_init
, lci::errorcode_t::retry_lock
,
lci::errorcode_t::retry_nopacket
, lci::errorcode_t::retry_nomem
, lci::errorcode_t::retry_backlog
, lci::errorcode_t::retry_max
,
lci::errorcode_t::fatal
} |
| The actual error code for LCI API functions. More...
|
|
enum class | lci::net_opcode_t {
lci::net_opcode_t::SEND
, lci::net_opcode_t::RECV
, lci::net_opcode_t::WRITE
, lci::net_opcode_t::REMOTE_WRITE
,
lci::net_opcode_t::READ
} |
| The Type of network communication operation codes. More...
|
|
enum class | lci::broadcast_algorithm_t { lci::broadcast_algorithm_t::none
, lci::broadcast_algorithm_t::direct
, lci::broadcast_algorithm_t::tree
, lci::broadcast_algorithm_t::ring
} |
| The type of broadcast algorithm. More...
|
|
enum class | lci::reduce_scatter_algorithm_t { lci::reduce_scatter_algorithm_t::none
, lci::reduce_scatter_algorithm_t::direct
, lci::reduce_scatter_algorithm_t::tree
, lci::reduce_scatter_algorithm_t::ring
} |
| The type of reduce scatter algorithm. More...
|
|
enum class | lci::allreduce_algorithm_t { lci::allreduce_algorithm_t::none
, lci::allreduce_algorithm_t::direct
, lci::allreduce_algorithm_t::tree
, lci::allreduce_algorithm_t::ring
} |
| The type of allreduce algorithm. More...
|
|
enum class | lci::direction_t { lci::direction_t::OUT
, lci::direction_t::IN
} |
| The enum class of comunication direction. More...
|
|
enum class | lci::matching_entry_type_t : unsigned { lci::matching_entry_type_t::send = 0
, lci::matching_entry_type_t::recv = 1
} |
| The type of matching entry. More...
|
|
enum class | lci::matching_policy_t : unsigned {
lci::matching_policy_t::none = 0
, lci::matching_policy_t::rank_only = 1
, lci::matching_policy_t::tag_only = 2
, lci::matching_policy_t::rank_tag = 3
,
lci::matching_policy_t::max = 4
} |
| Enum class for matching policy. More...
|
|
enum class | lci::comp_semantic_t { lci::comp_semantic_t::memory
, lci::comp_semantic_t::network
} |
| The enum class of completion semantic. More...
|
|
|
const char * | lci::get_errorcode_str (errorcode_t errorcode) |
| Get the string representation of an error code.
|
|
const char * | lci::get_net_opcode_str (net_opcode_t opcode) |
| Get the string representation of a network operation code.
|
|
const char * | lci::get_broadcast_algorithm_str (broadcast_algorithm_t algorithm) |
| Get the string representation of a collective algorithm.
|
|
const char * | lci::get_reduce_scatter_algorithm_str (broadcast_algorithm_t algorithm) |
| Get the string representation of a collective algorithm.
|
|
const char * | lci::get_allreduce_algorithm_str (broadcast_algorithm_t algorithm) |
| Get the string representation of a collective algorithm.
|
|
void | lci::global_initialize () |
| Global initialization for LCI, including rank_me, rank_n, and g_default_attr.
|
|
void | lci::global_finalize () |
| Global finalization for LCI.
|
|
int | lci::get_rank_me () |
| Get the rank of the current process.
|
|
int | lci::get_rank_n () |
| Get the number of ranks in the current application/job.
|
|
global_attr_t | lci::get_g_default_attr () |
| Get the default global attributes for LCI. The default global attributes contain the default attributes for all resources. It is initialized by global_initialize based on compilation and environment variables.
|
|
void | lci::set_g_default_attr (const global_attr_t &attr) |
| Set the default global attributes for LCI.
|
|
template<typename T> |
std::enable_if< std::is_same< typenamestd::result_of< T()>::type, status_t >::value, status_t >::type | lci::graph_execute_op_fn (void *value) |
|
template<typename T> |
std::enable_if< std::is_same< typenamestd::result_of< T()>::type, errorcode_t >::value, status_t >::type | lci::graph_execute_op_fn (void *value) |
|
template<typename T> |
std::enable_if<!std::is_same< typenamestd::result_of< T()>::type, status_t >::value &&!std::is_same< typenamestd::result_of< T()>::type, errorcode_t >::value, status_t >::type | lci::graph_execute_op_fn (void *value) |
|
template<typename T> |
void | lci::graph_free_op_fn (void *value) |
|
template<typename T> |
graph_node_t | lci::graph_add_node_op (comp_t graph, const T &op) |
| Add a functor as a node to the completion graph.
|
|