We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 543e5b0 commit 1a01e08Copy full SHA for 1a01e08
src/interface.jl
@@ -252,7 +252,11 @@ method_table(@nospecialize(job::CompilerJob)) = GLOBAL_METHOD_TABLE
252
253
# the inference parameters to use when constructing the GPUInterpreter
254
function inference_params(@nospecialize(job::CompilerJob))
255
- return CC.InferenceParams(; unoptimize_throw_blocks=false)
+ if VERSION >= v"1.12.0-DEV.1017"
256
+ CC.InferenceParams()
257
+ else
258
+ CC.InferenceParams(; unoptimize_throw_blocks=false)
259
+ end
260
end
261
262
# the optimization parameters to use when constructing the GPUInterpreter
0 commit comments