Home
last modified time | relevance | path

Searched refs:cpu_dev (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/distributed_runtime/
Dcollective_rma_distributed.cc122 Device* cpu_dev = nullptr; in RecvFromPeer() local
123 Status status = dev_mgr_->LookupDevice("CPU:0", &cpu_dev); in RecvFromPeer()
131 Tensor* cpu_tensor = new Tensor(cpu_dev->GetAllocator(cpu_attr), in RecvFromPeer()
136 nullptr /*send_dev_ctx*/, to_device_ctx, cpu_dev, in RecvFromPeer()
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_worker_service.cc587 Device* cpu_dev = nullptr; in RecvBufAsync() local
588 s = env_->device_mgr->LookupDevice("CPU:0", &cpu_dev); in RecvBufAsync()
593 Tensor* cpu_tensor = new Tensor(cpu_dev->GetAllocator(cpu_attr), in RecvBufAsync()
/external/tensorflow/tensorflow/contrib/distribute/python/
Dmirrored_strategy_multigpu_test.py1298 cpu_dev = device_util.canonicalize("CPU:0")
1300 devices = [cpu_dev, gpu_dev]