Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for SetAllowsSyncOnCompletion (0.3 sec)

  1. tensorflow/compiler/jit/xla_device.h

      // information for GPU and TPU devices.
      Status UseAcceleratorDeviceInfo() TF_LOCKS_EXCLUDED(mu_);
    
      // Instructs this XlaDevice to return 'sync_on_completion' for
      // AllowsSyncOnCompletion().
      void SetAllowsSyncOnCompletion(bool sync_on_completion)
          TF_LOCKS_EXCLUDED(mu_);
      bool AllowsSyncOnCompletion() const override TF_LOCKS_EXCLUDED(mu_);
    
      // Installs an error handling callback when RefreshStatus sees !status.ok().
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 09:53:30 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_tpu_device.cc

        if (!status.ok()) {
          errors::AppendToMessage(&status, "while setting up ", DEVICE_TPU_XLA_JIT,
                                  " 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));
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device.cc

      DeviceContext* device_context;
      TF_ASSIGN_OR_RETURN(device_context, GetDeviceContextDefault());
      return MakeTensorFromProto(device_context, tensor_proto, alloc_attrs, tensor);
    }
    
    void XlaDevice::SetAllowsSyncOnCompletion(bool sync_on_completion) {
      mutex_lock lock(mu_);
      sync_on_completion_ = sync_on_completion;
    }
    
    bool XlaDevice::AllowsSyncOnCompletion() const {
      mutex_lock lock(mu_);
      return sync_on_completion_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 21:05:42 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top