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

only use mkl dense gemm when all value pointers are valid #1756

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

yhmtsai
Copy link
Member

@yhmtsai yhmtsai commented Dec 18, 2024

We notice an page fault error from accessing nullptr in mkl dense gemm.
The issue happens when we pass empty matrix (nullptr) and only with single right hand side, but the routine seems to still access the pointer.
It only happens with rolling version of intel runtime library, which starts throwing error on page fault I guess, not long-term-support channel with icpx/oneMKL 2023.1.0 and 2025.0.4.
We simply avoid this issue by only calling mkl gemm when all data pointer are vaild.

@yhmtsai yhmtsai added 1:ST:ready-for-review This PR is ready for review is:bugfix This fixes a bug 1:ST:skip-full-test labels Dec 18, 2024
@yhmtsai yhmtsai requested a review from a team December 18, 2024 08:35
@yhmtsai yhmtsai self-assigned this Dec 18, 2024
@ginkgo-bot ginkgo-bot added type:matrix-format This is related to the Matrix formats mod:dpcpp This is related to the DPC++ module. labels Dec 18, 2024
@yhmtsai yhmtsai added the 1:ST:no-changelog-entry Skip the wiki check for changelog update label Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1:ST:no-changelog-entry Skip the wiki check for changelog update 1:ST:ready-for-review This PR is ready for review 1:ST:skip-full-test is:bugfix This fixes a bug mod:dpcpp This is related to the DPC++ module. type:matrix-format This is related to the Matrix formats
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants