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
[X] Bug fix (non-breaking change which fixes an issue)
How Has This Been Tested?
[X] 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.
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
How Has This Been Tested?
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.