Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gtest: internal: refactor common test functions out of sdpa #2762

Merged
merged 1 commit into from
Mar 6, 2025

Conversation

syurkevi
Copy link
Contributor

Description

This PR refactors internal testing for sdpa by extracting common testing functions out of sdpa specific code.
This is done in anticipation of testing gated mlp, paged attention, and other future fusions.

Checklist

General

  • Do all unit and benchdnn tests (make test and make test_benchdnn_*) pass locally for each commit?
  • Have you formatted the code using clang-format?

@syurkevi syurkevi requested a review from a team as a code owner February 26, 2025 23:07
@github-actions github-actions bot added the component:tests Codeowner: @oneapi-src/onednn-arch label Feb 26, 2025
@syurkevi syurkevi force-pushed the syurkevi/internal_test_common_fn branch 6 times, most recently from 5ec56b6 to b98d591 Compare February 28, 2025 19:59
@syurkevi
Copy link
Contributor Author

make test
disable benchdnn_all
disable test_device_cpu
enable arch_gpu_ampere
enable arch_gpu_cdna2
enable compiler_icx-oss

@syurkevi syurkevi force-pushed the syurkevi/internal_test_common_fn branch 2 times, most recently from 15c6f28 to 4a63101 Compare March 3, 2025 23:47
@syurkevi syurkevi force-pushed the syurkevi/internal_test_common_fn branch from 4a63101 to 96a984a Compare March 4, 2025 17:13
@syurkevi syurkevi requested a review from umar456 March 5, 2025 22:41
@syurkevi syurkevi merged commit 712dfe1 into main Mar 6, 2025
22 checks passed
@syurkevi syurkevi deleted the syurkevi/internal_test_common_fn branch March 6, 2025 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:tests Codeowner: @oneapi-src/onednn-arch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants