This directory contains TileLang RISC-V backend tests.
test_riscv_*.py: core backend tests for target parsing, toolchain lookup, TLAdapter pass execution, artifact export, cache reload, and JIT runtime correctness.codegen_ops/: synthetic RISC-V MLIR/codegen tests. Seecodegen_ops/README.mdfor the per-file breakdown and dump options.TileKernels/: runtime correctness tests for selected TileKernels kernels. Each test compiles withtarget="riscv", executes through the RISC-V host adapter, and compares against a CPU/PyTorch reference.
Core backend tests:
python -m pytest -q testing/python/riscv/test_riscv_*.pySynthetic codegen tests:
python -m pytest -q testing/python/riscv/codegen_opsTileKernels runtime tests:
python -m pytest -q testing/python/riscv/TileKernels