[Dev] Implement test case for tilelang transformations #53
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several new test files and functions to enhance the testing capabilities for matrix multiplication and memory access transformations in the
tilelanglibrary. The most important changes include adding new test functions for autotuning matrix multiplication kernels, creating new test functions for JIT compilation of GEMM kernels, and adding tests for legalizing safe memory access and vectorized loops.New Test Functions for Matrix Multiplication:
testing/python/autotune/test_tilelang_autotune.py: Added functionsref_program,get_configs,matmul,test_autotune_get_configs, andtest_autotune_matmulto test autotuning of matrix multiplication kernels.testing/python/jit/test_tilelang_jit_gemm.py: Added functionsmatmu_jit_kernel,run_gemm_jit_kernel, andtest_gemm_jit_kernelto test JIT compilation of GEMM kernels.New Test Functions for Memory Access Transformations:
testing/python/transform/test_tilelang_transform_legalize_safe_memory_access.py: Added functionsvectorize_access_legalize,assert_vectorize_access, andtest_vectorize_accessto test the legalization of safe memory access transformations.testing/python/transform/test_tilelang_transform_legalize_vectorized_loop.py: Added functionsvectorize_access_legalize,assert_vectorize_access, andtest_vectorize_accessto test the legalization of vectorized loop transformations.