mirror of
https://github.com/ROCm/jax.git
synced 2025-04-16 03:46:06 +00:00

When an FFI kernel is executed, there isn't any global try/except block (I think!) so it's probably a good idea to avoid throwing. Instead, it should be safer to handle mapping failures to ffi::Error manually. PiperOrigin-RevId: 647348889