Skip to content

Commit

Permalink
Fix for Metal.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
Keluaa committed Jun 10, 2024
1 parent fb2916f commit 77c0352
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/CodeDiffsMetal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ const USE_CUSTOM_NATIVE_FUNC = true
include("gpu_common.jl")


function gpu_compiler_job(mi::Core.MethodInstance; kernel=false)
config = Metal.compiler_config(Metal.device(); kernel)
function gpu_compiler_job(mi::Core.MethodInstance; kwargs...)
config = Metal.compiler_config(Metal.device(); kwargs...)
return Metal.CompilerJob(mi, config)
end

Expand Down

0 comments on commit 77c0352

Please sign in to comment.