Remove unused but set variable from prims_ll128.h (#1257)

Allows `-Wunused-but-set-variable` to pass

[ROCm/rccl commit: 86a4ad6e8b]
This commit is contained in:
Richard Barnes
2024-07-29 11:11:01 -04:00
committed by GitHub
parent 780324296c
commit 3d208c8eb9
-2
View File
@@ -382,7 +382,6 @@ private:
T const *srcPtr = srcs[0]; T const *srcPtr = srcs[0];
T *dstPtr = dsts[0]; T *dstPtr = dsts[0];
int wireOffset = WireWordPerSlice*warp + 2*wid;
const int nwarps = nthreads/WARP_SIZE; const int nwarps = nthreads/WARP_SIZE;
nelem = nelem < 0 ? 0 : nelem; nelem = nelem < 0 ? 0 : nelem;
@@ -438,7 +437,6 @@ private:
} }
} }
wireOffset += WireWordPerSlice*nwarps;
srcPtr += DataEltPerSlice*nwarps; srcPtr += DataEltPerSlice*nwarps;
dstPtr += DataEltPerSlice*nwarps; dstPtr += DataEltPerSlice*nwarps;
if (MULTISRCS){ if (MULTISRCS){