Home
last modified time | relevance | path

Searched refs:cpu_device_ (Results 1 – 12 of 12) sorted by relevance

/external/tensorflow/tensorflow/core/tpu/kernels/
Dhost_compute_ops.cc65 cpu_device_ = DeviceNameUtils::ParsedNameToString(parsed_name); in RecvAtHostOp()
71 VLOG(2) << " cpu_device_ = " << cpu_device_; in RecvAtHostOp()
91 ctx, DeviceNameUtils::ParseFullName(cpu_device_, &parsed_name), in ComputeAsync()
97 VLOG(2) << " cpu_device_ = " << cpu_device_; in ComputeAsync()
130 /*src_incarnation=*/1, cpu_device_, in ComputeAsync()
173 string cpu_device_; member in tensorflow::__anon2abb64b70111::RecvAtHostOp
222 cpu_device_ = DeviceNameUtils::ParsedNameToString(parsed_name); in SendFromHostOp()
228 VLOG(2) << " cpu_device_ = " << cpu_device_; in SendFromHostOp()
246 DeviceNameUtils::ParseFullName(cpu_device_, &parsed_name), in Compute()
252 VLOG(2) << " cpu_device_ = " << cpu_device_; in Compute()
[all …]
/external/tensorflow/tensorflow/core/common_runtime/
Ddynamic_device_mgr.cc29 DynamicDeviceMgr::DynamicDeviceMgr() : cpu_device_(nullptr) {} in DynamicDeviceMgr()
156 if (d == cpu_device_) { in RemoveDevices()
200 if (dynamic_devices_.find(cpu_device_) != dynamic_devices_.end()) { in HostCPU()
201 return cpu_device_; in HostCPU()
203 cpu_device_ = nullptr; in HostCPU()
207 cpu_device_ = pair.first; in HostCPU()
211 return cpu_device_; in HostCPU()
Ddevice_mgr.cc34 cpu_device_(nullptr) { in StaticDeviceMgr()
49 if (cpu_device_ == nullptr && t == "CPU" && d->parsed_name().id == 0) { in StaticDeviceMgr()
50 cpu_device_ = d.get(); in StaticDeviceMgr()
155 Device* StaticDeviceMgr::HostCPU() const { return cpu_device_; } in HostCPU()
Ddevice_mgr.h109 Device* cpu_device_; variable
161 mutable Device* cpu_device_ TF_GUARDED_BY(devices_mu_);
/external/tensorflow/tensorflow/core/common_runtime/eager/
Dkernel_and_device_test.cc48 cpu_device_ = devices.back().get();
62 Device* cpu_device() { return cpu_device_; } in cpu_device()
69 Device* cpu_device_; member in tensorflow::__anon9d2e75500111::TestEnv
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dmeta_optimizer.cc191 cpu_device_, in MakeNewOptimizer()
208 MK_OPT("loop", new LoopOptimizer(cfg_.loop_optimization(), cpu_device_)); in MakeNewOptimizer()
223 : cpu_device_(cpu_device), in MetaOptimizer()
226 DCHECK(cpu_device_ == nullptr || in MetaOptimizer()
227 cpu_device_->attributes().device_type() == "CPU"); in MetaOptimizer()
256 cfg_.constant_folding(), cpu_device_, in InitializeOptimizers()
288 MakeUnique<LoopOptimizer>(cfg_.loop_optimization(), cpu_device_)); in InitializeOptimizers()
Dloop_optimizer.h72 DeviceBase* cpu_device_; variable
Dmeta_optimizer.h92 DeviceBase* const cpu_device_; // may be NULL variable
Dloop_optimizer.cc721 cpu_device_(nullptr), in LoopOptimizer()
727 cpu_device_(cpu_device), in LoopOptimizer()
786 cpu_device_, resource_mgr_.get(), in RemoveDeadBranches()
Dconstant_folding.h330 DeviceBase* cpu_device_; variable
Dconstant_folding.cc194 cpu_device_(cpu_device), in ConstantFolding()
1318 return ::tensorflow::grappler::EvaluateNode(node, inputs, cpu_device_, in EvaluateNode()
3986 if (cpu_device_ == nullptr) { in Optimize()
3988 cpu_device_ = owned_device_.get(); in Optimize()
/external/eigen/unsupported/test/
Dcxx11_tensor_device.cu46 const Eigen::DefaultDevice& device() const { return cpu_device_; } in device()
64 Eigen::DefaultDevice cpu_device_; member