cuquantum.cutensornet.distributed_get_proc_rank

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

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

参数

handle (intptr_t) – cuTensorNet 库句柄。

返回值

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

返回类型

int32_t