From b4ba7cc79dfc0bca91ec82dd5ca9d4fd76fb4188 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 [ROCm/rccl commit: 96ec3ffe2ee9c4355006f5125aa2fbd6b4036234] --- projects/rccl/src/init.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rccl/src/init.cc b/projects/rccl/src/init.cc index 6eb6916eb0..02fdccdffc 100644 --- a/projects/rccl/src/init.cc +++ b/projects/rccl/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);