- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for SetHandleDeviceErrorCallback (0.47 sec)
-
tensorflow/compiler/jit/xla_device.h
TF_LOCKS_EXCLUDED(mu_); bool AllowsSyncOnCompletion() const override TF_LOCKS_EXCLUDED(mu_); // Installs an error handling callback when RefreshStatus sees !status.ok(). void SetHandleDeviceErrorCallback(std::function<Status()> callback); Status RefreshStatus() override TF_LOCKS_EXCLUDED(mu_); private: absl::StatusOr<xla::LocalClient*> GetOrCreateClient() const;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 13.4K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tpu_device.cc
" device number ", i); return status; } device->SetAllowsSyncOnCompletion(false); if (tpu_xla_device_failure_closes_chips_flag) { device->SetHandleDeviceErrorCallback(&tpu::TpuNodeContext::CloseTpuHost); } devices->push_back(std::move(device)); } return absl::OkStatus(); } class TpuSystemDeviceFactory : public DeviceFactory { public:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 20.9K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_device.cc
sync_on_completion_ = sync_on_completion; } bool XlaDevice::AllowsSyncOnCompletion() const { mutex_lock lock(mu_); return sync_on_completion_; } void XlaDevice::SetHandleDeviceErrorCallback(std::function<Status()> callback) { mutex_lock lock(mu_); device_error_callback_ = callback; } Status XlaDevice::HandleDeviceError() { std::function<Status()> local_device_error_callback; {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 20 21:05:42 UTC 2024 - 24.3K bytes - Viewed (0)