Fix inline compilation issue with LL (#1806)

Этот коммит содержится в:
Wenkai Du
2025-07-15 08:39:18 -07:00
коммит произвёл GitHub
родитель 8d0f1a1cef
Коммит 106024b0db
+1 -1
Просмотреть файл
@@ -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;