Searched refs:local_devices (Results 1 – 10 of 10) sorted by relevance
3660 static void drmFoldDuplicatedDevices(drmDevicePtr local_devices[], int count) in drmFoldDuplicatedDevices() argument3666 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 …]
124 &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()
70 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()
71 CHECK(!worker_env_->local_devices.empty()) in CreateSession()75 for (Device* d : worker_env_->local_devices) { in CreateSession()
47 std::vector<Device*> local_devices; member
74 std::vector<Device*> local_devices; member
51 env_.local_devices = {device_.get()}; in SessionMgrTest()
1021 VLOG(1) << "Session " << handle_ << " #local " << env->local_devices.size() in MasterSession()1216 for (Device* dev : env_->local_devices) { in ListDevices()
50 local_devices = device_lib.list_local_devices()52 for device in local_devices:
48 auto parsed = env->local_devices[0]->parsed_name(); in MPIRendezvousMgr()