Skip to content

Commit

Permalink
Fix for Enzyme.
Browse files Browse the repository at this point in the history
  • Loading branch information
maleadt committed Aug 23, 2024
1 parent cc0c716 commit d53854d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/compiler/execution.jl
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,8 @@ function Base.show(io::IO, ::MIME"text/plain", k::AbstractKernel{F,TT}) where {F
print(io, "CUDA.$(nameof(typeof(k))) for $(k.f)($(join(TT.parameters, ", ")))")
end

@inline @generated function (kernel::AbstractKernel{F,TT})(args...; call_kwargs...) where {F,TT}
@inline @generated function (kernel::AbstractKernel{F,TT})(args::Vararg{Any,N};
call_kwargs...) where {F,TT,N}
sig = Tuple{F, TT.parameters...} # Base.signature_type with a function type

# determine argument expressions
Expand Down

0 comments on commit d53854d

Please sign in to comment.