From 77c03522c0226f31e61c2b092e15be8cd1752fcc Mon Sep 17 00:00:00 2001 From: Luc Briand <34173752+Keluaa@users.noreply.github.com> Date: Mon, 10 Jun 2024 05:02:18 -0700 Subject: [PATCH] Fix for Metal.jl --- ext/CodeDiffsMetal.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/CodeDiffsMetal.jl b/ext/CodeDiffsMetal.jl index 920baad..ed1b1ac 100644 --- a/ext/CodeDiffsMetal.jl +++ b/ext/CodeDiffsMetal.jl @@ -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