Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for WaitForDefinitionEventOnStream (0.39 sec)

  1. tensorflow/compiler/jit/xla_tensor.h

      }
    
      // Adds synchronization events to 'stream' that wait for this tensor to be
      // defined on 'stream'. Does nothing if the tensor is already defined on that
      // stream.
      void WaitForDefinitionEventOnStream(se::Stream* stream);
    
      // (Re)sets the definition event of the tensor to 'event', and promises that
      // the tensor has already been defined on stream. Removes any previous
    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

        index_to_buffer.second = buffer.Release();
      }
    
      VLOG(4) << shaped_buffer.ToString();
    
      set_shaped_buffer(std::move(shaped_buffer));
      return absl::OkStatus();
    }
    
    void XlaTensor::WaitForDefinitionEventOnStream(se::Stream* stream) {
      mutex_lock lock(mu_);
      if (!definition_event_) {
        return;
      }
    
      // The set of defined streams is expected to be very small indeed (usually
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top