Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RefreshStatusOfStreams (0.14 sec)

  1. tensorflow/compiler/jit/xla_tensor.h

                                se::Stream* stream);
    
      // Refresh the status of streams_defined_on_. Return the first not-OK stream's
      // status or OK.
      Status RefreshStatusOfStreams();
    
      // Convert from a raw pointer to an XlaTensor, removing the pointer tag.
      static XlaTensor* FromOpaquePointer(void* ptr);
      // Convert to a raw pointer from an XlaTensor, adding the pointer tag.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/xla_tensor.cc

                                         se::Stream* stream) {
      mutex_lock lock(mu_);
      definition_event_ = std::move(event);
      streams_defined_on_ = {stream};
    }
    
    Status XlaTensor::RefreshStatusOfStreams() {
      mutex_lock lock(mu_);
      Status status;
      for (se::Stream* stream : streams_defined_on_) {
        status.Update(stream->RefreshStatus());
      }
      return status;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/xla_device_context.cc

            // results from a failed stream being propagated to following
            // host-side ops.
            if (!device_allows_sync_on_completion) {
              done_status.Update(xla_tensor->RefreshStatusOfStreams());
            }
            done(done_status);
            ref.Unref();
            // If a stream is in a bad state, it gets deleted when it's returned to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
Back to top