std::uint32_t get_num_localities(
launch::sync_policy,
pika::error_code& ec = throws)
std::uint32_t get_num_localities(
launch::sync_policy,
pika::error_code& ec = throws)Description
Return the number of localities which are currently registered for the running application.
//////////////////////////////////////////////////////////////////////// The function \areturns the number of localities currently connected to the console.
Declared at: libs/pika/runtime/include/pika/runtime/get_num_all_localities.hpp:69
Parameters
- launch::sync_policy
- pika::error_code& ec = throws
- [in,out] this represents the error status on exit, if this is pre-initialized to \athe function will throw on error instead.