diff --git a/src/common.cu b/src/common.cu index d4ee298..7f5f325 100644 --- a/src/common.cu +++ b/src/common.cu @@ -1342,8 +1342,10 @@ testResult_t run() { #if NCCL_VERSION_CODE >= NCCL_VERSION(2,28,0) ncclDevComm devComms[nThreads*nGpus]; #endif - int64_t initGpuMem[nThreads] = {0}; - int64_t bufferMemory[nThreads] = {0}; + int64_t initGpuMem[nThreads]; + int64_t bufferMemory[nThreads]; + memset(initGpuMem, 0, sizeof(initGpuMem)); + memset(bufferMemory, 0, sizeof(bufferMemory)); if (!parallel_init) { // Capture the memory used by the GPUs before initializing the NCCL communicators int64_t* initFreeGpuMem = (int64_t*)calloc(nGpus*3, sizeof(int64_t)); diff --git a/src/common.h b/src/common.h index dcdbe8e..823d7b9 100644 --- a/src/common.h +++ b/src/common.h @@ -6,7 +6,7 @@ #ifndef __COMMON_H__ #define __COMMON_H__ -#define NCCL_TESTS_VERSION "2.17.9" +#define NCCL_TESTS_VERSION "2.17.10" #include "nccl.h" #if NCCL_VERSION_CODE >= NCCL_VERSION(2,28,0)