Skip to content

Commit 1a01e08

Browse files
committed
1 parent 543e5b0 commit 1a01e08

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/interface.jl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,11 @@ method_table(@nospecialize(job::CompilerJob)) = GLOBAL_METHOD_TABLE
252252

253253
# the inference parameters to use when constructing the GPUInterpreter
254254
function inference_params(@nospecialize(job::CompilerJob))
255-
return CC.InferenceParams(; unoptimize_throw_blocks=false)
255+
if VERSION >= v"1.12.0-DEV.1017"
256+
CC.InferenceParams()
257+
else
258+
CC.InferenceParams(; unoptimize_throw_blocks=false)
259+
end
256260
end
257261

258262
# the optimization parameters to use when constructing the GPUInterpreter

0 commit comments

Comments
 (0)