Correction on max number of groups (#373)

이 커밋은 다음에 포함됨:
Wenkai Du 작성하고 GitHub가 2021-05-20 08:58:45 -07:00를 커밋함
1 부모 8cde34be51
커밋 50da1b48af
1 파일이 변경됨
+1 -1
+1 -1
파일 보기
@@ -176,7 +176,7 @@ struct ncclDevComm;
#pragma pack(push) /* push current alignment to stack */
#pragma pack(4) /* set alignment to 4 bytes boundary */
#define NCCL_MAX_WORK_ELEMENTS 1
#define NCCL_MAX_GROUPS (NCCL_MAX_WORK_ELEMENTS*2)
#define NCCL_MAX_GROUPS (NCCL_MAX_NTHREADS/WARP_SIZE)
/* ncclWork is to be a power of two, currently 8x64 bytes, */
/* to make sure reads to host from the CUDA kernel are aligned. */