Home
last modified time | relevance | path

Searched refs:local_devices (Results 1 – 10 of 10) sorted by relevance

/external/libdrm/
Dxf86drm.c3660 static void drmFoldDuplicatedDevices(drmDevicePtr local_devices[], int count) in drmFoldDuplicatedDevices() argument
3666 if (drmCompareBusInfo(local_devices[i], local_devices[j]) == 0) { in drmFoldDuplicatedDevices()
3667 local_devices[i]->available_nodes |= local_devices[j]->available_nodes; in drmFoldDuplicatedDevices()
3668 node_type = log2(local_devices[j]->available_nodes); in drmFoldDuplicatedDevices()
3669 memcpy(local_devices[i]->nodes[node_type], in drmFoldDuplicatedDevices()
3670 local_devices[j]->nodes[node_type], drmGetMaxNodeName()); in drmFoldDuplicatedDevices()
3671 drmFreeDevice(&local_devices[j]); in drmFoldDuplicatedDevices()
3764 drmDevicePtr *local_devices; in drmGetDevice2()
3794 local_devices = calloc(max_count, sizeof(drmDevicePtr)); in drmGetDevice2()
3795 if (local_devices == NULL) in drmGetDevice2()
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/rpc/
Dgrpc_server_lib.cc124 &master_env_.local_devices)); in Init()
125 worker_env_.local_devices = master_env_.local_devices; in Init()
126 worker_env_.device_mgr = new DeviceMgr(worker_env_.local_devices); in Init()
132 if (!DeviceNameUtils::SplitDeviceName(master_env_.local_devices[0]->name(), in Init()
/external/tensorflow/tensorflow/core/distributed_runtime/
Dmaster.cc70 CHECK(!env->local_devices.empty()); in Master()
140 finder.GetRemoteDevices(env->local_devices, out_remote); in GetRemoteDevices()
354 if (env_->local_devices[0]->parsed_name().job == job.name() && in CreateSession()
355 env_->local_devices[0]->parsed_name().task == task.first) { in CreateSession()
404 for (Device* d : env_->local_devices) { in CreateSession()
544 for (Device* dev : env_->local_devices) { in ListDevices()
Dsession_mgr.cc71 CHECK(!worker_env_->local_devices.empty()) in CreateSession()
75 for (Device* d : worker_env_->local_devices) { in CreateSession()
Dworker_env.h47 std::vector<Device*> local_devices; member
Dmaster_env.h74 std::vector<Device*> local_devices; member
Dsession_mgr_test.cc51 env_.local_devices = {device_.get()}; in SessionMgrTest()
Dmaster_session.cc1021 VLOG(1) << "Session " << handle_ << " #local " << env->local_devices.size() in MasterSession()
1216 for (Device* dev : env_->local_devices) { in ListDevices()
/external/tensorflow/tensorflow/python/debug/lib/
Dsession_debug_multi_gpu_test.py50 local_devices = device_lib.list_local_devices()
52 for device in local_devices:
/external/tensorflow/tensorflow/contrib/mpi/
Dmpi_rendezvous_mgr.cc48 auto parsed = env->local_devices[0]->parsed_name(); in MPIRendezvousMgr()