[PYTHON] Added frontend to print sass using turingas disasm.py (#109)

This commit is contained in:
Philippe Tillet
2021-05-16 18:28:54 -04:00
committed by Philippe Tillet
parent c91dd56a92
commit 288b4f7f58
9 changed files with 174 additions and 19 deletions

View File

@@ -63,6 +63,7 @@ void init_triton_driver(py::module &&m) {
py::class_<drv::cu_module, drv::module>(m, "cu_module")
.def("ptx", &drv::cu_module::ptx)
.def("cubin", [](drv::cu_module *self) { return py::bytes(self->cubin()); })
.def("llir", &drv::cu_module::llir);
py::class_<drv::kernel>(m, "kernel");