Searched refs:gpu_rank_id (Results 1 – 3 of 3) sorted by relevance
285 const std::string gpu_rank_id = common::GetEnv("OMPI_COMM_WORLD_RANK"); in GlogLogDirRegister() local288 if (!rank_id.empty() && gpu_rank_id.empty()) { in GlogLogDirRegister()290 } else if (rank_id.empty() && !gpu_rank_id.empty()) { in GlogLogDirRegister()291 rank = std::string(gpu_rank_id); in GlogLogDirRegister()292 } else if (!rank_id.empty() && !gpu_rank_id.empty()) { in GlogLogDirRegister()
466 std::string gpu_rank_id = mindspore::GetEnv("OMPI_COMM_WORLD_RANK"); local468 if ((!rank_id.empty() && gpu_rank_id.empty()) || (!rank_id.empty() && !gpu_rank_id.empty())) {470 } else if (rank_id.empty() && !gpu_rank_id.empty()) {471 rank = gpu_rank_id;
487 gpu_rank_id = os.getenv('OMPI_COMM_WORLD_RANK')489 if rank_id and gpu_rank_id:494 elif gpu_rank_id:495 rank = gpu_rank_id