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;