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

x64: conv: avoid overflows and add limit for huge spatial sizes (MFDNN-13089) #2627

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

tczeszun
Copy link
Contributor

@tczeszun tczeszun commented Feb 7, 2025

Fix for MFDNN-13089. Also fixing overflows catched by -ftrapv in GCC. The final cause was in jit code where the big number was propagated, but jit functions are void and we can't return any status from there, so I decided to disable src/diff_dst size > INT_MAX.

@tczeszun tczeszun requested a review from a team as a code owner February 7, 2025 20:52
@github-actions github-actions bot added the platform:cpu-x64 Intel64/AMD64 processors. Codeowner: @oneapi-src/onednn-cpu-x64 label Feb 7, 2025
@tczeszun tczeszun changed the title x64: conv: avoid overflows and add limit for huge spatial sizes (fixes MFDNN-12771) x64: conv: avoid overflows and add limit for huge spatial sizes (MFDNN-13089) Feb 7, 2025
@tczeszun tczeszun merged commit c07fe05 into main Feb 7, 2025
6 of 20 checks passed
@tczeszun tczeszun deleted the tczeszun/fix_conv_int_overflows branch February 7, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform:cpu-x64 Intel64/AMD64 processors. Codeowner: @oneapi-src/onednn-cpu-x64
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants