Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork10.9k
MAINT: from_dlpack thread safety fixes#28883
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM if tests pass, although adding a prefix likedl_
ordlpack_
would be better.
Uh oh!
There was an error while loading.Please reload this page.
Thanks Nathan, save to backport, not sure if we want to. |
aa7c4f5
intonumpy:mainUh oh!
There was an error while loading.Please reload this page.
Fixesnumpy#28881Moves the global variables defined in from_dlpack to the npy_static_pydata struct and initializes them during module init.
MAINT: from_dlpack thread safety fixes (#28883)
Fixesnumpy#28881Moves the global variables defined in from_dlpack to the npy_static_pydata struct and initializes them during module init.
Uh oh!
There was an error while loading.Please reload this page.
Fixes#28881
Moves the global variables defined in
from_dlpack
to thenpy_static_pydata
struct and initializes them during module init.