[CODEGEN] Bugfix for immediate offsets in inline PTX (#104)

This commit is contained in:
Philippe Tillet
2021-05-10 22:30:25 -04:00
committed by Philippe Tillet
parent 1e844ba78d
commit d10265f054
2 changed files with 20 additions and 13 deletions

View File

@@ -91,7 +91,7 @@ void add_passes_to_emit_bin(ir::module &ir, driver::device *dev, int num_warps,
liveness.run(ir);
allocation.run(ir);
barriers.run(ir);
// ir::print(ir, std::cout);
// ir::print(ir, std::cout);
isel.visit(ir, *llvm);
mod = driver::module::create(dev, std::move(llvm));
ker = driver::kernel::create(&*mod, name.c_str());