Home
last modified time | relevance | path

Searched refs:ThenDoHostCallback (Results 1 – 13 of 13) sorted by relevance

/external/tensorflow/tensorflow/stream_executor/host/
Dhost_timer.cc28 return stream->ThenDoHostCallback([this]() { this->StartNow(); }).ok(); in Start()
32 return stream->ThenDoHostCallback([this]() { this->StopNow(); }).ok(); in Stop()
Dhost_stream_test.cc37 stream.ThenDoHostCallback([i, &mu, &expected, &ok]() { in TEST()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_context.cc197 host_to_device_stream_->ThenDoHostCallback([ref]() { ref.Unref(); }); in CopyCPUTensorToDevice()
200 host_to_device_stream_->ThenDoHostCallback([ref, done]() { in CopyCPUTensorToDevice()
282 status_or_new_stream.ValueOrDie()->ThenDoHostCallback( in CopyDeviceTensorToCPU()
301 stream->ThenDoHostCallback(std::move(func)); in ThenExecute()
Dxla_tpu_device.cc282 dst_device_to_device_stream->ThenDoHostCallback( in TpuDeviceToDeviceCopy()
/external/tensorflow/tensorflow/core/tpu/
Dtpu_execute.cc235 stream->ThenDoHostCallback([raw_input_runtime, padded_data, in UpdateDynamicInputs()
273 stream->ThenDoHostCallback([padded_data]() { return Status::OK(); }); in UpdateDynamicInputs()
374 deregister_stream->ThenDoHostCallback([=]() { in UnregisterCancellation()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Doutfeed_thunk.cc98 .ThenDoHostCallback([&buffer]() { buffer->Done(); }); in ExecuteOnStream()
Dgpu_executable.cc219 main_stream->ThenDoHostCallback(std::move(fn)); in ExecuteThunks()
/external/tensorflow/tensorflow/compiler/xla/service/
Dgeneric_transfer_manager.cc55 stream->ThenDoHostCallback([element_pointers{std::move(element_pointers)}]() { in WriteSingleTupleIndexTable()
Dexecutable.cc270 stream->ThenDoHostCallback([profile, device_description]() { in ExecuteWrapperAfterExecution()
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dlocal_device_state.cc101 stream->ThenDoHostCallback([this, callback]() mutable { in ThenExecuteOnCallbackThread()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_execute_op.cc176 stream->ThenDoHostCallback([metadata_literal]() { return Status::OK(); }); in UpdateMetadata()
/external/tensorflow/tensorflow/stream_executor/
Dstream.h1983 Stream &ThenDoHostCallback(std::function<void()> callback);
Dstream.cc4825 Stream &Stream::ThenDoHostCallback(std::function<void()> callback) { in ThenDoHostCallback() function in stream_executor::Stream
4965 return ThenDoHostCallback([stream_executor, bound_task]() { in ThenEnqueueOnBackgroundThread()