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

cpu: aarch64: hot fix for segfault in cached Winograd #2149

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

taoye9
Copy link
Contributor

@taoye9 taoye9 commented Oct 4, 2024

Description

This is a hot fix patch for aarch64 wino grad conv. The problem happens when same wino conv is taken from primitive cache due to wrong memory management behavior.

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?

@taoye9 taoye9 requested a review from a team as a code owner October 4, 2024 17:58
@theComputeKid theComputeKid changed the title cpu: aarch64: hot fix for segfault in cached winograd gradient convol… cpu: aarch64: hot fix for segfault in cached Winograd Oct 4, 2024
Copy link
Contributor

@theComputeKid theComputeKid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need to make it memory safe.

@mgouicem mgouicem added the platform:cpu-aarch64 Codeowner: @oneapi-src/onednn-cpu-aarch64 label Oct 9, 2024
…v and winograd conv without lock.

Signed-off-by: Ye Tao <ye.tao@arm.com>
Change-Id: Ifb30292a8bfc5219c44515eb4d29b277a0f0b24a
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/c/oncpuml/oneDNN/+/680780
Tested-by: svc_mongoosetron <svc_mongoosetron@arm.com>
Reviewed-by: Hamza Butt <hamza.butt@arm.com>
IP-Review: Hamza Butt <hamza.butt@arm.com>
@taoye9 taoye9 force-pushed the fix-wino-grad-segfault branch from e169009 to 7d587d8 Compare October 10, 2024 10:22
@mgouicem mgouicem merged commit 513f882 into uxlfoundation:main Oct 10, 2024
14 of 19 checks passed
@vpirogov vpirogov added this to the v3.7 milestone Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:cpu-aarch64 Codeowner: @oneapi-src/onednn-cpu-aarch64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants