Skip to content

add lit tests for pass ConvertParalleltoGPU2#2078

Merged
wsmoses merged 12 commits intomainfrom
lit-tests-convert-parallel-gpu2
Feb 19, 2026
Merged

add lit tests for pass ConvertParalleltoGPU2#2078
wsmoses merged 12 commits intomainfrom
lit-tests-convert-parallel-gpu2

Conversation

@xys-syx
Copy link
Copy Markdown
Collaborator

@xys-syx xys-syx commented Feb 13, 2026

The lit tests is generated using
enzymexlamlir-opt convert-parallel-to-gpu1.mlir --pass-pipeline="builtin.module(convert-parallel-to-gpu1,gpu-kernel-outlining,canonicalize)" &> convert-parallel-to-gpu2.mlir

Could any one tell me if there is a better way to generate the lit tests for pass ConvertParalleltoGPU2

Comment thread test/lit_tests/lowering/convert-parallel-to-gpu2.mlir Outdated
@ivanradanov
Copy link
Copy Markdown
Collaborator

Usually I would try to manually reduce tests to only test what the pass is actually doing. e.g. do we need all of the gpu kernels or only one would suffice?

@xys-syx
Copy link
Copy Markdown
Collaborator Author

xys-syx commented Feb 18, 2026

Yeah, I have limited the test size, thank you

@xys-syx
Copy link
Copy Markdown
Collaborator Author

xys-syx commented Feb 18, 2026

Sorry, the previous versions fails, could you help review again?

@wsmoses wsmoses merged commit c49897e into main Feb 19, 2026
9 of 11 checks passed
@wsmoses wsmoses deleted the lit-tests-convert-parallel-gpu2 branch February 19, 2026 04:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants