- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for WaitForDefinitionEventOnStream (0.36 sec)
-
tensorflow/compiler/jit/xla_device_context.cc
} device_to_host_stream = std::shared_ptr<se::Stream>(std::move(ptr_or_status.value())); } XlaTensor* xla_tensor = XlaTensor::FromTensor(device_tensor); xla_tensor->WaitForDefinitionEventOnStream(device_to_host_stream.get()); // Transfer manager requires the shape of the shaped buffer to be the same as // literal shape except for the layout. Set the literal to use xla_tensor's
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 12.7K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_tpu_device.cc
<< " output buffers: " << xla_output->shaped_buffer().ToString(); // Wait for definition event of the source tensor so the input buffers are // available. xla_input->WaitForDefinitionEventOnStream(dst_device_to_device_stream); // Wait for the destination tensor buffers to be ready, if they are not // available for an immediate write.
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_launch_util.cc
<< "Must have a stream available when using XLA tensors!"; XlaTensor* xla_tensor = XlaTensor::FromTensor(t); CHECK(xla_tensor); xla_tensor->WaitForDefinitionEventOnStream( ctx->op_device_context()->stream()); } arguments.emplace_back(device_shape, host_shape); xla::ExecutionInput& execution_input = arguments.back();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 00:36:08 UTC 2024 - 40.4K bytes - Viewed (0)