legate.core.FixedArrayType.reduction_op_id#

FixedArrayType.reduction_op_id(
self,
int32_t op_kind,
) _GlobalRedopID#

Finds the global redop ID for a given reduction op kind.

Parameters:

op_kind (ReductionOpKind | int) – The redop kind.

Returns:

The global redop ID.

Return type:

GlobalRedopID

Raises:

ValueError – If op_kind does not exist for this type.