Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/jlgen.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
Loading