Fix inline compilation issue with LL (#1806)

[ROCm/rccl commit: 106024b0db]
Tento commit je obsažen v:
Wenkai Du
2025-07-15 08:39:18 -07:00
odevzdal GitHub
rodič a20e65cfc0
revize 670966f86b
+1 -1
Zobrazit soubor
@@ -431,7 +431,7 @@ private:
}
template <int RECV, int SEND, int SrcBuf, int DstBuf>
__device__ void LLGenericOp(intptr_t srcIx, intptr_t dstIx, int nelem, bool postOp) {
__device__ __attribute__((noinline)) void LLGenericOp(intptr_t srcIx, intptr_t dstIx, int nelem, bool postOp) {
constexpr int SRC = SrcBuf != -1 ? 1 : 0;
constexpr int DST = DstBuf != -1 ? 1 : 0;
T *srcElts = SrcBuf == -1 ? nullptr : userBufs[SrcBuf] + srcIx;