diff --git a/src/jlgen.jl b/src/jlgen.jl index f9cf153c..d2e11451 100644 --- a/src/jlgen.jl +++ b/src/jlgen.jl @@ -614,7 +614,7 @@ function ci_cache_populate(interp, cache, mi, min_world, max_world) # inference should have populated our cache wvc = WorldView(cache, min_world, max_world) - @assert CC.haskey(wvc, mi) + @assert CC.haskey(wvc, mi) "GPUCompiler: Failed to compile method for $mi, between worlds $min_world and $max_world" ci = CC.getindex(wvc, mi) # if ci is rettype_const, the inference result won't have been cached @@ -629,7 +629,8 @@ function ci_cache_populate(interp, cache, mi, min_world, max_world) # inference should have populated our cache wvc = WorldView(cache, min_world, max_world) - @assert CC.haskey(wvc, mi) + + @assert CC.haskey(wvc, mi) "GPUCompiler: Failed to compile method for $mi, between worlds $min_world and $max_world" ci = CC.getindex(wvc, mi) # if ci is rettype_const, the inference result won't have been cached