Remove unused but set variable from prims_ll.h (#1256)
Allows `-Wunused-but-set-variable` to pass
[ROCm/rccl commit: 7ad432ee23]
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
37c44d531b
Коммит
780324296c
@@ -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);
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Ссылка в новой задаче
Block a user