cuquantum.cutensornet.distributed_get_num_ranks

cuquantum.cutensornet.distributed_get_num_ranks(intptr_t handle) int32_t[源代码]

查询当前分布式 MPI 配置中的 MPI 秩数。

参数

handle (intptr_t) – cuTensorNet 库句柄。

返回值

当前分布式 MPI 配置中的 MPI 秩数。

返回类型

int32_t