Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4292,7 +4292,10 @@ function GPUCompiler.compile_unhooked(output::Symbol, job::CompilerJob{<:EnzymeT
primal_target = (job.config.target::EnzymeTarget).target
primal_params = (job.config.params::EnzymeCompilerParams).params
if primal_target isa GPUCompiler.NativeCompilerTarget
@assert primal_params isa PrimalCompilerParams
if !(primal_params isa PrimalCompilerParams)
# XXX: This means mode is not propagated and rules are not applied for GPU code.
@safe_debug "NativeCompilerTarget without primal compiler params" primal_params
end
else
# XXX: This means mode is not propagated and rules are not applied for GPU code.
end
Expand Down
Loading