Skip to content

benchdnn: mem check: touch up #3153

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dzarukin
Copy link
Contributor

Update the clause upon which a warning message will pop up.
PR includes a test commit just to see if error is still triggered for anything, will be removed.

Also contains a small fix to a --mem-check=false scenario.

@dzarukin dzarukin requested a review from a team as a code owner April 24, 2025 00:24
@github-actions github-actions bot added the component:tests Codeowner: @oneapi-src/onednn-arch label Apr 24, 2025
@dzarukin
Copy link
Contributor Author

make test

@dzarukin dzarukin force-pushed the dzarukin/benchdnn_mem_check_touch_up branch from 43b2989 to 9c7ee8a Compare April 24, 2025 17:51
Updated warning conditions To allow misconduct of small allocations
that can't be checked without significant engineering effort across
benchdnn.

Also moved the flow to stash the expected value and set it in doit right
before each call would start allocating memory. Otherwise, in parallel
create mode all primitives would be validated against mem sizes provided
by the last primitive in the list.
@dzarukin dzarukin force-pushed the dzarukin/benchdnn_mem_check_touch_up branch from 9c7ee8a to 1b63b78 Compare April 24, 2025 19:00
@dzarukin
Copy link
Contributor Author

make test

@dzarukin
Copy link
Contributor Author

make test
set test_scope=NIGHTLY

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.

2 participants