Skip to content

Commit 4d96d2a

Browse files
Fix nospecialize of varargs (#1092)
* Fix nospecialize of varargs * try more * Update ext/ReactantCUDAExt.jl Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 30c5c4b commit 4d96d2a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ext/ReactantCUDAExt.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,12 @@ function ka_with_reactant(ndrange, workgroupsize, obj, args...)
465465
return nothing
466466
end
467467

468-
Reactant.@reactant_overlay @noinline Base.@nospecializeinfer function (@nospecialize(
468+
Reactant.@reactant_overlay @noinline Base.@nospecializeinfer function (
469469
obj::KA.Kernel{ReactantBackend}
470-
))(
471-
@nospecialize(args...); ndrange=nothing, workgroupsize=nothing
470+
)(
471+
args...; ndrange=nothing, workgroupsize=nothing
472472
)
473+
@nospecialize
473474
return Reactant.call_with_reactant(
474475
ka_with_reactant, ndrange, workgroupsize, obj, args...
475476
)

0 commit comments

Comments
 (0)