Files
tilelang/examples/elementwise/test_example_elementwise.py
T
senlyu163 f4f87f468d [Bugfix] Improve autotune from elementwise_add function in examples (#1445)
* Remove JIT decorator from elementwise_add function in examples

* fix kernel compilation without autotune

* Refactor main function to accept parameters and update tests for autotune option

* Refactor autotune test function for morden style
2025-12-17 11:39:32 +08:00

15 lines
284 B
Python

import tilelang.testing
import example_elementwise_add
def test_example_elementwise_add():
example_elementwise_add.main()
def test_example_elementwise_add_autotune():
example_elementwise_add.main(use_autotune=True)
if __name__ == "__main__":
tilelang.testing.main()