Test initialization of Executable class.
()
| 40 | |
| 41 | |
| 42 | def test_executable_init(): |
| 43 | """Test initialization of Executable class.""" |
| 44 | lib = tvm.tirx.build(MyModule, target="llvm") |
| 45 | executable = Executable(lib) |
| 46 | |
| 47 | assert executable.mod is lib |
| 48 | assert executable._jitted_mod is None |
| 49 | |
| 50 | |
| 51 | def test_executable_getitem(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…