Home
last modified time | relevance | path

Searched refs:TpuDriver (Results 1 – 11 of 11) sorted by relevance

/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dlibtpu.h32 typedef struct TpuDriver TpuDriver; typedef
94 typedef struct TpuDriver*(PrototypeTpuDriver_Open)(const char* worker);
95 typedef void(PrototypeTpuDriver_Close)(struct TpuDriver* driver);
96 typedef struct TpuStatus*(PrototypeTpuDriver_Reset)(struct TpuDriver* driver);
99 struct TpuDriver* driver);
107 struct TpuDriver* driver, const struct TpuAllocationShape shape);
110 struct TpuDriver* driver, void* dst, const void* src,
114 struct TpuDriver* driver, void* dst, const void* src,
118 struct TpuDriver* driver, const struct HloProto hlo_proto,
122 PrototypeTpuDriver_CompileProgramFromText)(struct TpuDriver* driver,
[all …]
Dtpu_client.h93 std::unique_ptr<tpu_driver::TpuDriver> driver,
129 tpu_driver::TpuDriver* driver() { return driver_.get(); } in driver()
135 std::unique_ptr<tpu_driver::TpuDriver> driver_;
153 TpuSharedBuffer(tpu_driver::TpuDriver* driver, in TpuSharedBuffer()
170 tpu_driver::TpuDriver* const driver;
Dlibtpu_client.c57 struct TpuDriver* driver = driver_fn.TpuDriver_Open("local://"); in main()
Dtpu_client.cc90 std::unique_ptr<tpu_driver::TpuDriver> driver, in PyTpuClient()
182 tpu_driver::TpuDriver* driver = client->driver(); in FromLiterals()
404 tpu_driver::TpuDriver* driver = client_->driver(); in CopyToDevice()
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Dtpu_driver.cc27 std::string, std::function<xla::StatusOr<std::unique_ptr<TpuDriver>>(
82 const std::function<xla::StatusOr<std::unique_ptr<TpuDriver>>( in RegisterDriver()
88 /*static*/ xla::StatusOr<std::unique_ptr<TpuDriver>> TpuDriverRegistry::Open( in Open()
Dtpu_driver.h150 class TpuDriver {
152 virtual ~TpuDriver() {} in ~TpuDriver()
237 static xla::StatusOr<std::unique_ptr<TpuDriver>> Open(
241 const std::function<xla::StatusOr<std::unique_ptr<TpuDriver>>(
Ddirect_tpu_driver.cc195 explicit DirectTpuLinearizer(::TpuDriver* driver, ::TpuDriverFn* driver_fn) in DirectTpuLinearizer()
232 ::TpuDriver* driver_;
236 class DirectTpuDriver : public TpuDriver {
472 ::TpuDriver* driver_;
484 xla::StatusOr<std::unique_ptr<TpuDriver>> RegisterDirectTpuDriver( in RegisterDirectTpuDriver()
489 return xla::StatusOr<std::unique_ptr<TpuDriver>>( in RegisterDirectTpuDriver()
496 return xla::StatusOr<std::unique_ptr<TpuDriver>>( in RegisterDirectTpuDriver()
Dgrpc_tpu_driver.h25 xla::StatusOr<std::unique_ptr<TpuDriver>> CreateGrpcTpuDriver(
Drecording_tpu_driver.cc127 class RecordingTpuDriver : public TpuDriver {
129 explicit RecordingTpuDriver(std::unique_ptr<TpuDriver> driver, in RecordingTpuDriver()
470 std::unique_ptr<TpuDriver> driver_;
538 xla::StatusOr<std::unique_ptr<TpuDriver>> RegisterRecordingTpuDriver( in RegisterRecordingTpuDriver()
569 return std::unique_ptr<TpuDriver>( in RegisterRecordingTpuDriver()
Dpod_tpu_driver.cc243 class PodTpuDriver : public TpuDriver {
813 absl::flat_hash_map<int32_t, std::unique_ptr<TpuDriver>> drivers_;
815 absl::flat_hash_map<int32_t, TpuDriver*> core_to_driver_;
956 xla::StatusOr<std::unique_ptr<TpuDriver>> CreatePodTpuDriver( in CreatePodTpuDriver()
959 return std::unique_ptr<TpuDriver>(new PodTpuDriver(config, creds)); in CreatePodTpuDriver()
971 -> xla::StatusOr<std::unique_ptr<TpuDriver>> { in __anon6b014a981202()
Dgrpc_tpu_driver.cc314 class GrpcTpuDriver : public TpuDriver {
1057 xla::StatusOr<std::unique_ptr<TpuDriver>> CreateGrpcTpuDriver( in CreateGrpcTpuDriver()
1080 return std::unique_ptr<TpuDriver>( in CreateGrpcTpuDriver()
1087 -> xla::StatusOr<std::unique_ptr<TpuDriver>> { in __anon4073f9c10402()