distributed_get_num_ranks#

cuquantum.bindings.cutensornet.distributed_get_num_ranks(intptr_t handle) int32_t[source]#

Queries the number of MPI ranks in the current distributed MPI configuration.

Parameters:

handle (intptr_t) – cuTensorNet library handle.

Returns:

Number of MPI ranks in the current distributed MPI configuration.

Return type:

int32_t