Home
last modified time | relevance | path

Searched refs:StaticDeviceMgr (Results 1 – 25 of 59) sorted by relevance

123

/external/tensorflow/tensorflow/core/common_runtime/
Ddevice_mgr.cc31 StaticDeviceMgr::StaticDeviceMgr(std::vector<std::unique_ptr<Device>> devices) in StaticDeviceMgr() function in tensorflow::StaticDeviceMgr
55 StaticDeviceMgr::StaticDeviceMgr(std::unique_ptr<Device> device) in StaticDeviceMgr() function in tensorflow::StaticDeviceMgr
56 : StaticDeviceMgr([&device] { in StaticDeviceMgr()
62 StaticDeviceMgr::~StaticDeviceMgr() { in ~StaticDeviceMgr()
70 StringPiece StaticDeviceMgr::CopyToBackingStore(StringPiece s) { in CopyToBackingStore()
77 void StaticDeviceMgr::ListDeviceAttributes( in ListDeviceAttributes()
85 std::vector<Device*> StaticDeviceMgr::ListDevices() const { in ListDevices()
93 string StaticDeviceMgr::DebugString() const { in DebugString()
101 string StaticDeviceMgr::DeviceMappingString() const { in DeviceMappingString()
112 Status StaticDeviceMgr::LookupDevice(StringPiece name, Device** device) const { in LookupDevice()
[all …]
Ddevice_mgr_test.cc43 TEST(StaticDeviceMgr, NoCPUDevice) { in TEST() argument
49 StaticDeviceMgr lm(std::move(devices)); in TEST()
53 TEST(StaticDeviceMgr, SomeCPUDevice) { in TEST() argument
62 StaticDeviceMgr lm(std::move(devices)); in TEST()
Ddevice_mgr.h79 class StaticDeviceMgr : public DeviceMgr {
82 explicit StaticDeviceMgr(std::vector<std::unique_ptr<Device>> devices);
85 explicit StaticDeviceMgr(std::unique_ptr<Device> device);
87 ~StaticDeviceMgr() override;
111 TF_DISALLOW_COPY_AND_ASSIGN(StaticDeviceMgr);
Dkernel_benchmark_testlib.h41 class StaticDeviceMgr; variable
93 std::unique_ptr<StaticDeviceMgr> device_mgr_;
Ddevice_resolver_local_test.cc39 device_mgr_ = absl::make_unique<StaticDeviceMgr>(std::move(devices)); in DeviceResolverLocalTest()
Dcollective_executor_mgr_test.cc44 device_mgr_ = absl::make_unique<StaticDeviceMgr>(std::move(devices)); in CollectiveExecutorMgrTest()
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dtensor_handle_test.cc37 StaticDeviceMgr device_mgr(DeviceFactory::NewDevice( in TEST()
103 device_mgr_ = new StaticDeviceMgr(std::move(devices)); in PackedTensorHandleTest()
135 StaticDeviceMgr* device_mgr_;
254 StaticDeviceMgr local_device_mgr(std::move(d0)); in TEST()
275 StaticDeviceMgr new_device_mgr(std::move(d1)); in TEST()
286 StaticDeviceMgr local_device_mgr(std::move(d_local)); in TEST()
339 device_mgr_ = new StaticDeviceMgr(std::move(devices)); in RemoteTensorHandleTest()
366 StaticDeviceMgr* device_mgr_;
378 StaticDeviceMgr device_mgr(std::move(devices)); in TEST_F()
414 StaticDeviceMgr local_device_mgr(std::move(devices)); in TEST()
Deager_operation_test.cc26 StaticDeviceMgr device_mgr(DeviceFactory::NewDevice( in TEST()
Dcustom_device_test.cc87 StaticDeviceMgr device_mgr(DeviceFactory::NewDevice( in TEST()
112 StaticDeviceMgr device_mgr(DeviceFactory::NewDevice( in TEST()
Deager_op_rewrite_registry_test.cc46 StaticDeviceMgr device_mgr(DeviceFactory::NewDevice( in TEST()
Dkernel_and_device_test.cc49 device_mgr_ = absl::make_unique<StaticDeviceMgr>(std::move(devices));
Dexecute_node_test.cc51 StaticDeviceMgr device_mgr( in TEST()
/external/tensorflow/tensorflow/c/experimental/saved_model/core/
Dtest_utils.cc39 std::unique_ptr<StaticDeviceMgr> CreateTestingDeviceMgr() { in CreateTestingDeviceMgr()
40 return std::make_unique<StaticDeviceMgr>( in CreateTestingDeviceMgr()
Dsaved_variable_loading_test.cc48 device_mgr_ = absl::make_unique<StaticDeviceMgr>(std::move(devices)); in SavedVariableLoadingTest()
55 std::unique_ptr<StaticDeviceMgr> device_mgr_;
Dtest_utils.h36 std::unique_ptr<StaticDeviceMgr> CreateTestingDeviceMgr();
Dconstant_loading_test.cc46 std::unique_ptr<StaticDeviceMgr> device_mgr_;
/external/tensorflow/tensorflow/lite/delegates/flex/
Ddelegate_data.cc42 absl::make_unique<tensorflow::StaticDeviceMgr>(std::move(devices)); in Prepare()
/external/tensorflow/tensorflow/c/experimental/saved_model/core/ops/
Dvariable_ops_test.cc49 std::unique_ptr<StaticDeviceMgr> device_mgr_;
Drestore_ops_test.cc47 std::unique_ptr<StaticDeviceMgr> device_mgr_;
/external/tensorflow/tensorflow/core/kernels/
Dops_testutil.cc79 device_mgr_ = absl::make_unique<StaticDeviceMgr>(std::move(device)); in OpsTestBase()
108 device_mgr_ = absl::make_unique<StaticDeviceMgr>(std::move(device)); in SetDevice()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_kernel_creator_test.cc76 device_mgr_ = absl::make_unique<StaticDeviceMgr>(std::move(devices)); in Init()
/external/tensorflow/tensorflow/core/distributed_runtime/
Ddevice_resolver_distributed_test.cc59 dev_mgr_ = absl::make_unique<StaticDeviceMgr>(std::move(devices)); in SetUp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dupgrade_graph.cc128 return new StaticDeviceMgr(std::move(devices)); in GetStaticDeviceMgr()
/external/tensorflow/tensorflow/core/data/
Dstandalone.cc51 auto device_mgr = absl::make_unique<StaticDeviceMgr>(DeviceFactory::NewDevice( in FromGraph()
/external/tensorflow/tensorflow/core/distributed_runtime/eager/
Dremote_mgr_test.cc51 auto device_mgr = absl::make_unique<StaticDeviceMgr>(std::move(devices)); in RemoteMgrTest()

123