legate.core.Library.get_reduction_op_id#

Library.get_reduction_op_id(
self,
_LocalRedopID local_redop_id,
) _GlobalRedopID#

Convert a local reduction ID into a global reduction ID.

Parameters:

local_redop_id (LocalRedopID | int) – The local redop ID.

Returns:

The global redop ID.

Return type:

GlobalRedopID