std::uint32_t get_locality_id(
pika::error_code& ec = throws)
std::uint32_t get_locality_id(
pika::error_code& ec = throws)Description
Return the number of the locality this function is being called from.
//////////////////////////////////////////////////////////////////////// This function returns the id of the current locality.
Declared at: libs/pika/runtime/include/pika/runtime/get_locality_id.hpp:41
Parameters
- 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.