Skip to content

Commit c9e85b5

Browse files
committed
fix: try avoiding Ref
1 parent ba8f698 commit c9e85b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/ReactantCUDAExt.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,10 +1208,10 @@ Reactant.@reactant_overlay @noinline function (func::LLVMFunc{F,tt})(
12081208
MLIR.API.stablehloOutputOperandAliasGet(
12091209
MLIR.IR.context(),
12101210
length(wrapper_tys) == 1 ? 0 : 1,
1211-
length(wrapper_tys) == 1 ? C_NULL : Ref{Int64}(argidx - 1),
1211+
length(wrapper_tys) == 1 ? Int64[] : Int64[argidx - 1],
12121212
argidx - 1,
12131213
0,
1214-
C_NULL,
1214+
Int64[],
12151215
),
12161216
),
12171217
)

0 commit comments

Comments
 (0)