Misc fixes and disable binTree

This commit is contained in:
Wenkai Du
2022-09-14 00:10:19 +00:00
parent e5d2dfed34
commit a06e14e39b
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -376,7 +376,8 @@ namespace {
const int nthreads = args->nWarps*WARP_SIZE;
const int bid = args->bid;
const int nChannels = args->nChannels;
ncclTree *tree = (args->pad_0 == 2) ? &ncclShmem->channel.binTree : &ncclShmem->channel.tree;
ncclTree *tree = &ncclShmem->channel.tree;
//ncclTree *tree = (args->pad_0 == 2) ? &ncclShmem->channel.binTree : &ncclShmem->channel.tree;
ssize_t chunkSize = int(
Proto::Id != NCCL_PROTO_LL ? args->lastChunkSize
: Proto::calcBytePerStep()/sizeof(T));