From 106024b0db61f0fa8999955d3388dd4b4fa299a8 Mon Sep 17 00:00:00 2001 From: Wenkai Du <43822138+wenkaidu@users.noreply.github.com> Date: Tue, 15 Jul 2025 08:39:18 -0700 Subject: [PATCH] Fix inline compilation issue with LL (#1806) --- src/device/prims_ll.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/device/prims_ll.h b/src/device/prims_ll.h index 1761871421..f05097429f 100644 --- a/src/device/prims_ll.h +++ b/src/device/prims_ll.h @@ -431,7 +431,7 @@ private: } template - __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;