Home
last modified time | relevance | path

Searched refs:host_id (Results 1 – 25 of 33) sorted by relevance

12

/external/tensorflow/tensorflow/core/profiler/utils/
Dstep_intersection_test.cc33 PerCoreStepInfo CreateOneTestStep(uint32 host_id, uint32 num_steps, in CreateOneTestStep() argument
37 step_idx * host_id; // creates the situation where each host has a in CreateOneTestStep()
42 if (host_id == 0 && step_idx == (num_steps - 1)) { in CreateOneTestStep()
61 for (uint32 host_id = 0; host_id < num_hosts; host_id++) { in CreateTestSteps() local
66 CreateOneTestStep(host_id, kNumStepsPerHost, step_idx, step_begin_ps); in CreateTestSteps()
69 result[host_id] = step_db; in CreateTestSteps()
77 for (uint32 host_id = 0; host_id < num_hosts; host_id++) { in CreateNoStep() local
79 result[host_id] = step_db; in CreateNoStep()
88 auto host_id = hostid_stepdb.first; in Convert() local
90 result[host_id] = &step_db; in Convert()
[all …]
Dstep_intersection.cc177 auto host_id = hostid_stepdb.first; in StepIntersection() local
181 chief_host_id_ = host_id; in StepIntersection()
198 auto host_id = hostid_stepdb.first; in StepIntersection() local
200 if (host_id == chief_host_id_) { in StepIntersection()
202 perhost_alignment_[host_id] = { in StepIntersection()
206 perhost_alignment_[host_id] = in StepIntersection()
210 uint32 host_begin_chief_idx = perhost_alignment_[host_id].begin_chief_idx; in StepIntersection()
212 uint32 host_end_chief_idx = perhost_alignment_[host_id].begin_chief_idx + in StepIntersection()
213 perhost_alignment_[host_id].num_steps; in StepIntersection()
244 uint32 StepIntersection::FirstStepIndex(uint32 host_id) const { in FirstStepIndex()
[all …]
Dstep_intersection.h52 uint32 FirstStepIndex(uint32 host_id) const;
/external/bcc/examples/networking/distributed_bridge/
Dtunnel_mesh.py18 host_id = int(argv[2]) variable
44 gre_local='172.16.1.%d' % (100 + host_id),
66 if i != host_id:
86 ipaddr = "99.1.%d.%d/24" % (j, host_id + 1)
91 if dhcp == 1 and host_id == 0:
115 call(["/bin/rm", "-rf", "/tmp/dhcp_%d_%d" % (host_id, j)])
116 call(["mkdir", "/tmp/dhcp_%d_%d" % (host_id, j)])
117 call(["touch", "/tmp/dhcp_%d_%d/dhclient.conf" % (host_id, j)])
118 call(["touch", "/tmp/dhcp_%d_%d/dhclient.lease" % (host_id, j)])
120 "-cf", "/tmp/dhcp_%d_%d/dhclient.conf" % (host_id, j),
[all …]
Dtunnel.py17 host_id = int(argv[1]) variable
67 ipaddr = "99.1.%d.%d/24" % (i, host_id + 1)
/external/autotest/server/lib/
Dstatus_history.py231 def get_tasks(cls, afe, host_id, start_time, end_time): argument
250 host_id,
258 def get_status_task(cls, afe, host_id, end_time): argument
274 task = afe.get_host_status_task(host_id, query_end)
340 def get_hqes(cls, afe, host_id, start_time, end_time): argument
359 host_id=host_id,
635 def get_diagnosis_interval(host_id, end_time, success): argument
662 host_id=host_id, is_complete=True)
682 def get_status_task(host_id, end_time): argument
708 host_id=host_id,
/external/autotest/database/
Dschema_129.sql61 `host_id` int(11) DEFAULT NULL,
63 UNIQUE KEY `acl_groups_hosts_both_ids` (`aclgroup_id`,`host_id`),
64 KEY `acl_groups_hosts_host_id` (`host_id`),
66 …CONSTRAINT `acl_groups_hosts_host_id_fk` FOREIGN KEY (`host_id`) REFERENCES `afe_hosts` (`id`) ON …
211 `host_id` int(11) NOT NULL,
215 KEY `host_id` (`host_id`),
217 CONSTRAINT `afe_host_attributes_ibfk_1` FOREIGN KEY (`host_id`) REFERENCES `afe_hosts` (`id`)
231 `host_id` int(11) DEFAULT NULL,
243 UNIQUE KEY `host_queue_entries_job_id_and_host_id` (`job_id`,`host_id`),
244 KEY `host_queue_entries_host_id` (`host_id`),
[all …]
/external/ltp/testcases/lib/
Dtst_net.sh396 local counter host_id host_range is_counter max_host_id min_host_id net_id prefix tmp type
461 host_id=$((tmp - net_id * host_range + min_host_id - 1))
464 host_id="${2:-0}"
467 host_id=$(printf %d $host_id)
469 host_id=$((host_id % host_range + min_host_id))
475 echo "${IPV4_NET16_UNUSED}.${net_id}.${host_id}${prefix}"
479 [ $host_id -gt 0 ] && host_id="$(printf %x $host_id)" || host_id=
482 echo "${IPV6_NET32_UNUSED}${net_id}::${host_id}${prefix}"
/external/autotest/site_utils/
Djob_history.py125 def try_get(self, host_id, job_id, start_time, end_time): argument
136 if not host_id in self:
138 return self[host_id].try_get(job_id, start_time, end_time)
141 def update(self, host_id, start_time, end_time): argument
151 host_id=host_id,
154 self[host_id] = TaskCache(tasks, search_start_time, search_end_time)
275 host_id=self.host.id,
/external/tensorflow/tensorflow/python/tpu/
Dtpu_embedding.py2051 for host_id, table_variable, accumulator_variable in zip(
2060 shard_id=host_id,
2074 for host_id, table_variable, accumulator_variable in (zip(
2081 shard_id=host_id,
2128 for host_id, table_variable, accumulator_variable in zip(
2137 shard_id=host_id,
2151 for host_id, table_variable, accumulator_variable in (zip(
2158 shard_id=host_id,
2217 for host_id, table_variable, m_variable, v_variable in (zip(
2227 shard_id=host_id,
[all …]
Dtpu_embedding_v2.py1380 def select_fn(host_id): argument
1383 if host_id >= len(x.variables):
1389 return x.variables[host_id]
1393 for host_id, host in enumerate(hosts):
1395 host_variables = nest.map_structure(select_fn(host_id), variables)
1400 shard_id=host_id,
1425 for host_id, host in enumerate(hosts):
1431 shard_id=host_id,
1444 if host_id < len(sharded_var.variables):
1447 sharded_var.variables[host_id].assign(retrieved[i])
/external/autotest/frontend/afe/
Dfrontend_test_utils.py143 for host_id in hosts:
144 models.HostQueueEntry.objects.create(job=job, host_id=host_id,
146 models.IneligibleHostQueue.objects.create(job=job, host_id=host_id)
Drpc_interface.py687 host_id=host_dict['id'], active=True, complete=False)
692 host_id=host_dict['id'], is_active=True, is_complete=False)
1454 def get_host_special_tasks(host_id, **filter_data): argument
1468 host = models.Host.smart_get(host_id, False)
1470 return get_special_tasks(host_id=host_id, **filter_data)
1478 host_id=host_id, **filter_data)
1515 def get_status_task(host_id, end_time): argument
1537 status_history.get_status_task(host_id, end_time),
1542 def get_host_status_task(host_id, end_time): argument
1557 host = models.Host.smart_get(host_id)
[all …]
Dshard_heartbeat_unittest.py102 host_id=host.id,
/external/autotest/server/
Dfrontend.py630 def get_host_special_tasks(self, host_id, **data): argument
632 host_id=host_id, **data)
636 def get_host_status_task(self, host_id, end_time): argument
638 host_id=host_id, end_time=end_time)
642 def get_host_diagnosis_interval(self, host_id, end_time, success): argument
644 host_id=host_id, end_time=end_time,
Dafe_urls.py89 def get_host_url(self, host_id): argument
96 return self._geturl({'tab_id': 'view_host', 'object_id': host_id})
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/
Dtpu_driver.proto38 optional int32 host_id = 2; field
53 optional int32 host_id = 4; field
/external/OpenCL-CTS/test_conformance/SVM/
Dtest_byte_granularity.cpp101 cl_uint host_id = num_devices; // host code will take the id above the devices. in test_svm_byte_granularity() local
102 for(int i = (int)num_devices; i < num_elements; i+= num_devices_plus_host) pA[i] = host_id; in test_svm_byte_granularity()
/external/tensorflow/tensorflow/core/profiler/convert/
Dop_stats_combiner.h37 uint32 GlobalCoreId(int host_id, uint32 device_ordinal);
Dop_stats_combiner.cc187 uint32 GlobalCoreId(int host_id, uint32 device_ordinal) { in GlobalCoreId() argument
189 return host_id * kMaxDevicesPerHost + device_ordinal; in GlobalCoreId()
/external/tensorflow/tensorflow/python/distribute/cluster_resolver/tpu/
Dtpu_cluster_resolver.py132 host_id = match.group('host_id')
134 device_map[host_id].append(core_id)
/external/arm-trusted-firmware/plat/ti/k3/common/drivers/ti_sci/
Dti_sci.h177 int ti_sci_proc_handover(uint8_t proc_id, uint8_t host_id);
Dti_sci_protocol.h526 uint8_t host_id; member
Dti_sci.c1256 int ti_sci_proc_handover(uint8_t proc_id, uint8_t host_id) in ti_sci_proc_handover() argument
1274 req.host_id = host_id; in ti_sci_proc_handover()
/external/autotest/site_utils/deployment/
Dinstall.py287 def _wait_for_idle(afe, host_id): argument
297 afe_host = afe.get_hosts(id=host_id)[0]
331 afe.run('abort_special_tasks', host_id=afe_host.id, is_active=1)

12