Skip to content

Update NumPy patching#170

Open
ndgrigorian wants to merge 6 commits intomainfrom
update-umath-patching
Open

Update NumPy patching#170
ndgrigorian wants to merge 6 commits intomainfrom
update-umath-patching

Conversation

@ndgrigorian
Copy link
Collaborator

This PR

  • Adds safety checks to patching
  • Add warnings related to multi-threaded programs
  • Implement _GlobalPatch wrapper class which implements patching globally
  • Rename _patch module to _patch_numpy
  • Rename patching functions
  • Aligns with mkl_fft and mkl_random patching interfaces

@ndgrigorian ndgrigorian force-pushed the update-umath-patching branch 4 times, most recently from c05279b to 1a4529a Compare March 10, 2026 04:19
@ndgrigorian ndgrigorian marked this pull request as ready for review March 10, 2026 04:33
@ndgrigorian
Copy link
Collaborator Author

@antonwolfy @jharlow-intel
the patch update here is ready for review

@ndgrigorian ndgrigorian force-pushed the update-umath-patching branch from 1a4529a to e40ef5a Compare March 10, 2026 05:11
* Add safety checks to patching
* Add warnings related to multi-threaded programs
* Implement _GlobalPatch wrapper class which implements patching globally
* Rename _patch module to _patch_numpy
* Rename patching functions
@ndgrigorian ndgrigorian force-pushed the update-umath-patching branch from a6a0c96 to 711df0e Compare March 10, 2026 16:15
@ndgrigorian
Copy link
Collaborator Author

@jharlow-intel @antonwolfy
quick note, after adjusting the tests, I now see the segfault resolved in #171 locally

applying the fix did resolve it locally, as well

@ndgrigorian ndgrigorian force-pushed the update-umath-patching branch from 5ed8aee to 5cd2258 Compare March 11, 2026 23:44
@ndgrigorian ndgrigorian force-pushed the update-umath-patching branch from 11e83a8 to 7f0887f Compare March 11, 2026 23:56
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.

3 participants