fix nccl root number (#7842)

* fix call once logic

* clean up

* further clean up

* fix root number
emailweixu-patch-1
Yang Yang(Tony) 7 years ago committed by GitHub
parent 25cb906403
commit 1d2c99c336
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -241,7 +241,7 @@ TEST_F(NCCLTester, ncclReduceOp) {
// ncclBcastOp with desc
TEST_F(NCCLTester, ncclBcastOp) {
std::unique_ptr<f::OpDesc> op2(new f::OpDesc);
const int kRoot = 5;
const int kRoot = 0;
op2->SetType("ncclBcast");
op2->SetInput("X", {"st"});
op2->SetInput("Communicator", {"comm"});

Loading…
Cancel
Save