|
8 | 8 | export code_tiled, @device_code_tiled |
9 | 9 |
|
10 | 10 | import CompilerCaching |
11 | | -using CompilerCaching: CacheView, @setup_caching, method_instance, typeinf!, results, get_source |
| 11 | +using CompilerCaching: CacheView, @setup_caching, method_instance, match_method_instance, typeinf!, results, get_source |
12 | 12 |
|
13 | 13 | # Compilation hook for @device_code_* macros - intercepts compilations for reflection |
14 | 14 | const compile_hook = Ref{Union{Nothing,Function}}(nothing) |
@@ -517,8 +517,8 @@ function code_tiled(io::IO, @nospecialize(f), @nospecialize(argtypes); |
517 | 517 | if !Base.isdispatchtuple(tt) |
518 | 518 | throw(ArgumentError("code_tiled requires a dispatch tuple, got non-concrete signature")) |
519 | 519 | end |
520 | | - mi = @something(method_instance(f, stripped; world, method_table=cuTileMethodTable), |
521 | | - method_instance(f, stripped; world), |
| 520 | + mi = @something(match_method_instance(f, stripped; world, method_table=cuTileMethodTable), |
| 521 | + match_method_instance(f, stripped; world), |
522 | 522 | throw(MethodError(f, stripped))) |
523 | 523 | opts = (sm_arch=sm_arch, opt_level=opt_level, num_ctas=num_ctas, occupancy=occupancy, |
524 | 524 | bytecode_version=bytecode_version) |
|
0 commit comments