File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 73
73
74
74
# on 1.11 (JuliaLang/julia#52572, merged as part of JuliaLang/julia#52233) we can use
75
75
# Julia's cached method lookup to simply look up method instances at run time.
76
- if VERSION >= v " 1.11.0-DEV.1552"
76
+ @static if VERSION >= v " 1.11.0-DEV.1552"
77
77
78
78
# XXX : version of Base.method_instance that uses a function type
79
79
@inline function methodinstance (@nospecialize (ft:: Type ), @nospecialize (tt:: Type ),
@@ -395,7 +395,7 @@ CC.InferenceParams(interp::GPUInterpreter) = interp.inf_params
395
395
CC. OptimizationParams (interp:: GPUInterpreter ) = interp. opt_params
396
396
#= CC.=# get_inference_world (interp:: GPUInterpreter ) = interp. world
397
397
CC. get_inference_cache (interp:: GPUInterpreter ) = interp. inf_cache
398
- if HAS_INTEGRATED_CACHE
398
+ @static if HAS_INTEGRATED_CACHE
399
399
CC. cache_owner (interp:: GPUInterpreter ) = interp. token
400
400
else
401
401
CC. code_cache (interp:: GPUInterpreter ) = WorldView (interp. code_cache, interp. world)
You can’t perform that action at this time.
0 commit comments