Home
last modified time | relevance | path

Searched refs:LocalClient (Results 1 – 25 of 48) sorted by relevance

12

/external/tensorflow/tensorflow/compiler/xla/client/
Dlocal_client.cc332 se::Platform* LocalClient::platform() const { in platform()
336 int LocalClient::device_count() const { in device_count()
340 bool LocalClient::device_ordinal_supported(int device_ordinal) const { in device_ordinal_supported()
344 int LocalClient::default_device_ordinal() const { in default_device_ordinal()
348 const Backend& LocalClient::backend() const { in backend()
352 Backend* LocalClient::mutable_backend() { in mutable_backend()
356 StatusOr<std::vector<std::unique_ptr<LocalExecutable>>> LocalClient::Compile( in Compile()
399 StatusOr<ScopedShapedBuffer> LocalClient::LiteralToShapedBuffer( in LiteralToShapedBuffer()
415 StatusOr<Literal> LocalClient::ShapedBufferToLiteral( in ShapedBufferToLiteral()
423 StatusOr<const ShapedBuffer*> LocalClient::GlobalDataToShapedBuffer( in GlobalDataToShapedBuffer()
[all …]
Dlocal_client.h129 class LocalClient : public Client {
131 explicit LocalClient(LocalService* service) in LocalClient() function
134 LocalClient(const LocalClient&) = delete;
135 void operator=(const LocalClient&) = delete;
Dclient_library.h88 static StatusOr<LocalClient*> GetOrCreateLocalClient(
91 static StatusOr<LocalClient*> GetOrCreateLocalClient(
96 static LocalClient* LocalClientOrDie();
125 std::unique_ptr<LocalClient> client;
Dclient_library.cc82 /* static */ StatusOr<LocalClient*> ClientLibrary::GetOrCreateLocalClient( in GetOrCreateLocalClient()
90 /* static */ StatusOr<LocalClient*> ClientLibrary::GetOrCreateLocalClient( in GetOrCreateLocalClient()
115 instance->client = absl::make_unique<LocalClient>(instance->service.get()); in GetOrCreateLocalClient()
116 LocalClient* cl = instance->client.get(); in GetOrCreateLocalClient()
123 /* static */ LocalClient* ClientLibrary::LocalClientOrDie() { in LocalClientOrDie()
/external/tensorflow/tensorflow/compiler/xrt/
Dxrt_device.h50 xla::LocalClient* client() const { return client_; } in client()
59 void Acquire(xla::LocalClient* client, int ordinal) { in Acquire()
64 xla::LocalClient* client_ = nullptr;
/external/tensorflow/tensorflow/compiler/xla/pjrt/
Dtpu_client.cc51 TpuDeviceState(se::StreamExecutor* executor, LocalClient* client,
61 LocalClient* client, bool asynchronous) in TpuDeviceState()
78 PjRtTpuClient(LocalClient* client,
92 LocalClient* client, in PjRtTpuClient()
137 LocalClient* client, in GetTpuDevices()
203 TF_ASSIGN_OR_RETURN(LocalClient * client, in GetTpuClient()
Dlocal_device_state.h91 LocalDeviceState(se::StreamExecutor* executor, LocalClient* client,
100 LocalClient* client() const { return client_; } in client()
175 LocalClient* const client_;
Dtracked_device_buffer_test.cc31 LocalClient* client) { in MakeArray()
52 LocalClient* client = ClientLibrary::LocalClientOrDie(); in TEST()
96 LocalClient* client = ClientLibrary::LocalClientOrDie(); in TEST()
Dinterpreter_device.cc41 TF_ASSIGN_OR_RETURN(LocalClient * client, in GetInterpreterClient()
Dgpu_device.cc62 StatusOr<LocalClient*> GetGpuXlaClient() { in GetGpuXlaClient()
76 LocalClient* xla_client, bool asynchronous) { in BuildLocalDeviceStates()
316 TF_ASSIGN_OR_RETURN(LocalClient * xla_client, GetGpuXlaClient()); in GetGpuClient()
Dcpu_device.cc40 TF_ASSIGN_OR_RETURN(LocalClient * client, in GetCpuClient()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_device_context.h59 xla::LocalClient* client,
73 xla::LocalClient* client() const { return client_; } in client()
110 xla::LocalClient* client_;
Dxla_compilation_cache.h47 XlaCompilationCache(xla::LocalClient* client, DeviceType device_type);
91 xla::LocalClient* client() const { return client_; } in client()
142 xla::LocalClient* const client_;
Dxla_launch_util.h135 XlaComputationLaunchContext(xla::LocalClient* client,
182 xla::LocalClient* client_;
Dxla_device.h70 xla::LocalClient* client() const;
192 xla::StatusOr<xla::LocalClient*> GetOrCreateClient() const;
Dxla_compile_on_demand_op.cc49 xla::LocalClient* client = static_cast<xla::LocalClient*>(cache->client()); in Run()
Dxla_tensor.h52 xla::LocalClient* client, int device_ordinal);
Dxla_device.cc161 xla::LocalClient* XlaDevice::Metadata::client() const { in client()
239 xla::StatusOr<xla::LocalClient*> XlaDevice::GetOrCreateClient() const { in GetOrCreateClient()
294 TF_ASSIGN_OR_RETURN(xla::LocalClient * client, GetOrCreateClient()); in GetDeviceContextLocked()
/external/tensorflow/tensorflow/compiler/jit/kernels/
Dxla_ops.cc78 xla::LocalClient* client, xla::LocalExecutable* executable, in XlaExecutableClosure()
90 xla::LocalClient* client() const { return client_; } in client()
101 xla::LocalClient* client_;
170 xla::LocalClient** client, in CompileToLocalExecutable()
191 *client = static_cast<xla::LocalClient*>(cache->client()); in CompileToLocalExecutable()
224 xla::LocalClient* client; in Compute()
373 xla::LocalClient* client; in Compute()
/external/tensorflow/tensorflow/compiler/xla/tests/
Dmultiple_devices_on_host_test.cc37 LocalExecutable* executable, int device_ordinal, LocalClient* client, in CompileAndExecute()
64 LocalClient* const client, in TestWithDeviceCount()
Dxla_hlo_profile_test.cc131 void ExecuteAndFetchProfile(string* profile_output, LocalClient* client, in ExecuteAndFetchProfile()
197 TF_ASSERT_OK_AND_ASSIGN(LocalClient * client, in XLA_TEST_F()
276 TF_ASSERT_OK_AND_ASSIGN(LocalClient * client, in XLA_TEST_F()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_test.cc73 xla::LocalClient* client = xla::ClientLibrary::LocalClientOrDie(); in TEST()
111 xla::LocalClient* client = xla::ClientLibrary::LocalClientOrDie(); in TEST()
/external/tensorflow/tensorflow/compiler/xla/service/cpu/
Dsample_harness.cc37 xla::LocalClient* client(xla::ClientLibrary::LocalClientOrDie()); in main()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dreplay_computation.cc115 const HloSnapshot& module, LocalClient* client) { in CompileExecutable()
223 LocalClient* client, const Options& opts) { in ReplayComputation()
433 LocalClient* client = ClientLibrary::LocalClientOrDie(); in RealMain()
Ddumped_computation_to_operation_list.cc62 LocalClient* client = ClientLibrary::LocalClientOrDie(); in RealMain()

12