mirror of
https://github.com/tile-ai/tilelang.git
synced 2026-10-24 07:04:00 +08:00
* [Debug][TIR] Unify pass tracing on PassInstrument * [Debug] Fix context manager generator annotations * [Debug] Scope pass instrumentation per compile * [JIT] Require lowered modules in source adapters * [Debug] Manage pass timing through compile sessions * [JIT] Clarify compile session orchestration * [JIT] Clarify compile metadata naming * [Debug] Simplify instrumentation session boundaries * [Debug] Clarify instrumentation execution boundaries * [Debug] Organize pass instrumentation infrastructure * [Debug] Trim redundant instrumentation tests
18 lines
446 B
Python
18 lines
446 B
Python
import pytest
|
|
|
|
from tilelang import tvm
|
|
from tilelang.jit.adapter.wrapper import TLCPUSourceWrapper
|
|
|
|
|
|
def test_adapter_source_wrapper_requires_lowered_modules():
|
|
with pytest.raises(ValueError, match="missing: device_mod, host_mod"):
|
|
TLCPUSourceWrapper(
|
|
scheduled_ir_module=tvm.IRModule(),
|
|
source="",
|
|
target=tvm.target.Target("c"),
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
pytest.main([__file__])
|