Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmoses committed Apr 23, 2023
1 parent e294f0d commit 9178424
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/compiler.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6245,7 +6245,7 @@ struct EnzymeCompilerParams <: AbstractEnzymeCompilerParams
expectedTapeType::Type
method_table
end
GPUCompiler.method_table(@nospecialize(job::CompilerJob{T,EnzymeCompilerParams})) where T = job.config.params.method_table
GPUCompiler.method_table(@nospecialize(job::CompilerJob{T,EnzymeCompilerParams})) where T = job.config.params.method_table !== nothing ? job.config.params.method_table : GPUCompiler.GLOBAL_METHOD_TABLE

struct UnknownTapeType end

Expand Down
2 changes: 1 addition & 1 deletion src/compiler/reflection.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
function get_job(@nospecialize(func), @nospecialize(A), @nospecialize(types);
run_enzyme::Bool=true, mode::API.CDerivativeMode=API.DEM_ReverseModeCombined, dupClosure::Bool=false, argwrap::Bool=true, width::Int=1, modifiedBetween=nothing, returnPrimal::Bool=false, augmentedInit=false, world=nothing, kwargs...)
run_enzyme::Bool=true, mode::API.CDerivativeMode=API.DEM_ReverseModeCombined, dupClosure::Bool=false, argwrap::Bool=true, width::Int=1, modifiedBetween=nothing, returnPrimal::Bool=false, augmentedInit=false, world=nothing, parent_target=nothing, method_table=nothing, kwargs...)

tt = Tuple{map(eltype, types.parameters)...}
if world === nothing
Expand Down

0 comments on commit 9178424

Please sign in to comment.