Home
last modified time | relevance | path

Searched refs:on_delete_callback (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/python/
Ddlpack.cc354 std::function<void()> on_delete_callback; in DLPackManagedTensorToBuffer() local
356 on_delete_callback = [dlmt]() { dlmt->deleter(dlmt); }; in DLPackManagedTensorToBuffer()
362 shape, device, on_delete_callback)); in DLPackManagedTensorToBuffer()
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dtracked_device_buffer.cc167 std::function<void()> on_delete_callback) in TrackedDeviceBuffer() argument
174 on_delete_callback_(std::move(on_delete_callback)) {} in TrackedDeviceBuffer()
Dtracked_device_buffer.h211 std::function<void()> on_delete_callback);
Dpjrt_client.h246 std::function<void()> on_delete_callback) = 0;
Dpjrt_stream_executor_client.cc686 std::function<void()> on_delete_callback; in BufferFromHostBuffer() local
693 on_delete_callback = std::move(on_done_with_host_buffer); in BufferFromHostBuffer()
703 on_delete_callback = [staging_buffer, host_memory_allocator = in BufferFromHostBuffer()
713 definition_events, std::move(on_delete_callback)); in BufferFromHostBuffer()
960 std::function<void()> on_delete_callback) { in CreateViewOfDeviceBuffer() argument
966 std::move(on_delete_callback)); in CreateViewOfDeviceBuffer()
Dpjrt_stream_executor_client.h202 std::function<void()> on_delete_callback) override;