From 96ec3ffe2ee9c4355006f5125aa2fbd6b4036234 Mon Sep 17 00:00:00 2001 From: Nilesh M Negi Date: Thu, 26 Oct 2023 23:52:46 -0500 Subject: [PATCH] SRC/INIT: fix typo for ENABLE_PROFILING (#934) Signed-off-by: nileshnegi --- src/init.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/init.cc b/src/init.cc index 6eb6916eb0..02fdccdffc 100644 --- a/src/init.cc +++ b/src/init.cc @@ -662,7 +662,7 @@ static ncclResult_t devCommSetup(ncclComm_t comm) { #endif #ifdef ENABLE_PROFILING - NCCLCHECK(ncclCudaCalloc(&tmpCommAndChans.comm.devProf, MAXCHANNELS*PROFILE_NUM_LAUNCHES), comm->sideStream); + NCCLCHECK(ncclCudaCalloc(&tmpCommAndChans.comm.devProf, MAXCHANNELS*PROFILE_NUM_LAUNCHES, comm->sideStream)); #endif NCCLCHECKGOTO(ncclCudaMemcpyAsync(devCommAndChans, &tmpCommAndChans, 1, comm->sharedRes->deviceStream.cudaStream), ret, fail);