From 3d208c8eb915307db458e6aba7bb4e13063d34aa Mon Sep 17 00:00:00 2001 From: Richard Barnes Date: Mon, 29 Jul 2024 11:11:01 -0400 Subject: [PATCH] Remove unused but set variable from prims_ll128.h (#1257) Allows `-Wunused-but-set-variable` to pass [ROCm/rccl commit: 86a4ad6e8b2a1e6c7d3eefeb72284ac23a414b56] --- projects/rccl/src/device/prims_ll128.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/projects/rccl/src/device/prims_ll128.h b/projects/rccl/src/device/prims_ll128.h index 6c7674c432..3ba38316fb 100644 --- a/projects/rccl/src/device/prims_ll128.h +++ b/projects/rccl/src/device/prims_ll128.h @@ -382,7 +382,6 @@ private: T const *srcPtr = srcs[0]; T *dstPtr = dsts[0]; - int wireOffset = WireWordPerSlice*warp + 2*wid; const int nwarps = nthreads/WARP_SIZE; nelem = nelem < 0 ? 0 : nelem; @@ -438,7 +437,6 @@ private: } } - wireOffset += WireWordPerSlice*nwarps; srcPtr += DataEltPerSlice*nwarps; dstPtr += DataEltPerSlice*nwarps; if (MULTISRCS){ @@ -580,4 +578,4 @@ public: __device__ void localCopy(T* srcs, T* dsts, int eltN) { return mscclGenericOp<0,1,0,0>(&srcs, 1, &dsts, 1, eltN); } -}; \ No newline at end of file +};