Home
last modified time | relevance | path

Searched refs:transfer_manager (Results 1 – 22 of 22) sorted by relevance

/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_state.cc88 auto transfer_manager = backend->transfer_manager(); in AllocateScopedShapedBuffer() local
101 xla::Shape on_device_shape = transfer_manager->HostShapeToDeviceShape(shape); in AllocateScopedShapedBuffer()
114 uint64 size = transfer_manager->GetByteSizeRequirement(subshape); in AllocateScopedShapedBuffer()
125 transfer_manager->WriteTupleIndexTables(stream.get(), *(buffer->get()))); in AllocateScopedShapedBuffer()
186 auto transfer_manager = backend->transfer_manager(); in CreateAndTransfer() local
193 TF_RETURN_IF_ERROR(transfer_manager->TransferLiteralToDevice( in CreateAndTransfer()
224 auto transfer_manager = backend->transfer_manager(); in ToLiteral() local
237 return transfer_manager->TransferLiteralFromDevice(stream.get(), in ToLiteral()
249 auto transfer_manager = backend->transfer_manager(); in WriteLiteral() local
251 return transfer_manager->TransferLiteralToDevice(stream.get(), literal, in WriteLiteral()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.cc216 return backend_->transfer_manager()->TransferLiteralFromDevice(stream.get(), in LiteralFromShapedBuffer()
269 backend().transfer_manager()->AllocateScopedShapedBuffer( in LiteralToShapedBuffer()
273 TF_RETURN_IF_ERROR(backend().transfer_manager()->TransferLiteralToDevice( in LiteralToShapedBuffer()
282 return backend().transfer_manager()->TransferLiteralFromDevice(stream.get(), in ShapedBufferToLiteral()
295 return backend().transfer_manager()->TransferLiteralToInfeed(executor, in TransferToInfeedLocal()
304 TF_RETURN_IF_ERROR(backend().transfer_manager()->TransferLiteralFromOutfeed( in TransferFromOutfeedLocal()
319 backend().transfer_manager()->AllocateScopedShapedBuffer( in TransferToLocalServer()
323 TF_RETURN_IF_ERROR(backend().transfer_manager()->TransferLiteralToDevice( in TransferToLocalServer()
/external/tensorflow/tensorflow/compiler/xla/service/interpreter/
Dexecutable.cc83 TF_ASSIGN_OR_RETURN(TransferManager * transfer_manager, in ExecuteOnStream()
91 transfer_manager->TransferLiteralFromDevice( in ExecuteOnStream()
107 transfer_manager->AllocateScopedShapedBuffer( in ExecuteOnStream()
110 TF_RETURN_IF_ERROR(transfer_manager->TransferLiteralToDevice( in ExecuteOnStream()
DBUILD16 "//tensorflow/compiler/xla/service:transfer_manager",
93 "//tensorflow/compiler/xla/service:transfer_manager",
/external/tensorflow/tensorflow/compiler/xla/service/
Dbackend.cc111 TF_ASSIGN_OR_RETURN(auto transfer_manager, in CreateBackend()
116 new Backend(platform, compiler, stream_executors, transfer_manager, in CreateBackend()
145 TransferManager* transfer_manager, in Backend() argument
150 transfer_manager_(transfer_manager), in Backend()
Dhlo_runner.cc100 backend().transfer_manager()->AllocateScopedShapedBuffer( in TransferLiteralToDevice()
105 TF_RETURN_IF_ERROR(backend().transfer_manager()->TransferLiteralToDevice( in TransferLiteralToDevice()
136 return backend().transfer_manager()->TransferLiteralFromDevice(stream.get(), in TransferLiteralFromDevice()
306 backend().transfer_manager()->AllocateScopedShapedBuffer( in ExecuteReplicated()
308 TF_RETURN_IF_ERROR(backend().transfer_manager()->TransferLiteralToDevice( in ExecuteReplicated()
337 TF_CHECK_OK(backend().transfer_manager()->TransferLiteralToInfeed( in ExecuteReplicated()
356 TF_CHECK_OK(backend().transfer_manager()->TransferLiteralFromOutfeed( in ExecuteReplicated()
409 backend().transfer_manager()->TransferLiteralFromDevice( in ExecuteReplicated()
Dservice.cc74 se::Stream* stream, TransferManager* transfer_manager, in RecordArguments() argument
80 transfer_manager->TransferLiteralFromDevice(stream, *argument)); in RecordArguments()
88 TransferManager* transfer_manager, HloSnapshot* module) { in RecordResult() argument
92 transfer_manager->TransferLiteralFromDevice(stream, result)); in RecordResult()
701 execute_backend_->transfer_manager(), in ExecuteGraphParallel()
748 execute_backend_->transfer_manager(), in ExecuteGraphParallel()
899 execute_backend_->transfer_manager(), executable->hlo_snapshot())); in Execute()
915 execute_backend_->transfer_manager(), in Execute()
959 execute_backend_->transfer_manager()->TransferLiteralFromDevice( in TransferToClient()
991 execute_backend_->transfer_manager()->AllocateScopedShapedBuffer( in TransferToServer()
[all …]
Dbackend.h94 TransferManager* transfer_manager() const { return transfer_manager_; } in transfer_manager() function
161 TransferManager* transfer_manager,
Dtransfer_manager.h257 TransferManagerCreationFunction transfer_manager);
DBUILD696 ":transfer_manager",
737 ":transfer_manager",
964 name = "transfer_manager",
965 srcs = ["transfer_manager.cc"],
966 hdrs = ["transfer_manager.h"],
991 ":transfer_manager",
2159 ":transfer_manager",
3488 ":transfer_manager",
/external/tensorflow/tensorflow/compiler/xla/tests/
Dxla_hlo_profile_test.cc139 auto* transfer_manager = backend->transfer_manager(); in ExecuteAndFetchProfile() local
146 transfer_manager->AllocateScopedShapedBuffer( in ExecuteAndFetchProfile()
148 TF_ASSERT_OK(transfer_manager->TransferLiteralToDevice( in ExecuteAndFetchProfile()
153 transfer_manager->AllocateScopedShapedBuffer( in ExecuteAndFetchProfile()
155 TF_ASSERT_OK(transfer_manager->TransferLiteralToDevice( in ExecuteAndFetchProfile()
Ddynamic_ops_test.cc742 auto* transfer_manager = in BM_DynamicSlice() local
769 .transfer_manager() in BM_DynamicSlice()
774 ASSERT_IS_OK(transfer_manager->TransferLiteralToDevice( in BM_DynamicSlice()
Dlocal_client_execute_test.cc906 auto* transfer_manager = in BM_LocalClientOverhead() local
918 transfer_manager in BM_LocalClientOverhead()
925 transfer_manager->TransferLiteralToDevice(stream.get(), literal, buffer)); in BM_LocalClientOverhead()
Dtuple_test.cc575 TF_EXPECT_OK(backend().transfer_manager()->TransferLiteralFromOutfeed( in XLA_TEST_F()
DBUILD77 "//tensorflow/compiler/xla/service:transfer_manager",
266 "//tensorflow/compiler/xla/service:transfer_manager",
1097 "//tensorflow/compiler/xla/service:transfer_manager",
1962 "//tensorflow/compiler/xla/service:transfer_manager",
/external/tensorflow/tensorflow/compiler/jit/
Dxla_tensor.cc51 client->backend().transfer_manager()->HostShapeToDeviceShape( in AllocateShapedBuffer()
61 client->backend().transfer_manager()->GetByteSizeRequirement(subshape); in AllocateShapedBuffer()
Dxla_device_context.h81 xla::TransferManager* transfer_manager() const { return transfer_manager_; } in transfer_manager() function
Dxla_device_context.cc84 transfer_manager_(client->backend().transfer_manager()), in XlaDeviceContext()
Dxla_launch_util.cc239 client_->backend().transfer_manager()->HostShapeToDeviceShape(shape); in PopulateInputs()
/external/tensorflow/tensorflow/compiler/xla/g3doc/
Ddeveloping_new_backend.md72 …nsferManager`](https://www.tensorflow.org/code/tensorflow/compiler/xla/service/transfer_manager.h):
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
DBUILD397 "//tensorflow/compiler/xla/service:transfer_manager",
795 "//tensorflow/compiler/xla/service:transfer_manager",
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
DBUILD48 "//tensorflow/compiler/xla/service:transfer_manager",