You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8845a79
Browse filesBrowse the repository at this point in the historyBrowse files
fix(cuda.core): preserve DLPack C exchange errors (#2939)
* fix(cuda.core): preserve DLPack C exchange errors
Signed-off-by: Rui Luo <[email protected]>
* refactor(cuda.core): let Cython propagate DLPack exchange errors
Declare the exchange API callbacks and their typedefs `except -1`, the
contract dlpack.h documents, and raise instead of setting the error
indicator by hand. KeyboardInterrupt and other BaseExceptions now also
reach the consumer as -1 with the exception set.
Co-authored-by: Andy Jost <[email protected]>
Signed-off-by: Rui Luo <[email protected]>
---------
Signed-off-by: Rui Luo <[email protected]>
Co-authored-by: Andy Jost <[email protected]>
0 commit comments