Remove unused but set variable from prims_ll.h (#1256)
Allows `-Wunused-but-set-variable` to pass
This commit is contained in:
gecommit door
GitHub
bovenliggende
c246e25f8e
commit
7ad432ee23
@@ -529,7 +529,6 @@ private:
|
||||
dsts[i] += tid*EltPerLine;
|
||||
}
|
||||
}
|
||||
int offset = tid;
|
||||
int eltPerTrip = nthreads*EltPerLine;
|
||||
while (nelem > 0) {
|
||||
int eltInLine = EltPerLine < nelem ? EltPerLine : nelem;
|
||||
@@ -569,7 +568,6 @@ private:
|
||||
}
|
||||
}
|
||||
nelem -= eltPerTrip;
|
||||
offset += nthreads;
|
||||
}
|
||||
|
||||
#if defined(ENABLE_NPKIT) && defined(ENABLE_NPKIT_EVENT_MSCCL_GENERIC_OP_EXIT)
|
||||
@@ -790,4 +788,4 @@ private:
|
||||
__device__ void localCopy(T* srcs, T* dsts, int eltN) {
|
||||
return mscclGenericOp<0,1,0,0>(&srcs, 1, &dsts, 1, eltN);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Verwijs in nieuw issue
Block a user