Open copybara-service[bot] opened 2 days ago
[XLA:FFI] Catch exceptions in user FFI calls.
This change adds a defensive try/catch when calling user code via that FFI interface to convert C++ exceptions to an absl status, allowing more graceful failure.
[XLA:FFI] Catch exceptions in user FFI calls.
This change adds a defensive try/catch when calling user code via that FFI interface to convert C++ exceptions to an absl status, allowing more graceful failure.