Skip to content

[oneMKL] Fix batched linear solver sample page fault #2281

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

Merged
merged 1 commit into from
Apr 8, 2024

Conversation

sknepper
Copy link
Contributor

@sknepper sknepper commented Apr 8, 2024

Existing Sample Changes

Description

Fixes a page fault that is visible when looking at dmesg output. The ipiv array must still be allocated on the host even when using the OpenMP "map" with alloc attribute. Thanks and credit goes to Sergey Kiselev (@skiselev) for rootcausing the issue and providing a fix!

External Dependencies

List any external dependencies created as a result of this change.
None

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Command Line

Tested locally that the page fault is visible with the sample code as written and that the page fault disappears with the change in this PR.

@sknepper sknepper requested a review from mkrainiuk April 8, 2024 22:50
@sknepper sknepper merged commit c87dbc2 into oneapi-src:master Apr 8, 2024
@sknepper sknepper deleted the batched_linear_solver_fix branch April 8, 2024 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants