MCPcopy Index your code
hub / github.com/apache/tvm / join

Method join

python/tvm/support/popen_pool.py:194–207  ·  view source on GitHub ↗

Join the current process worker before it terminates. Parameters ---------- timeout: Optional[number] Timeout value, block at most timeout seconds if it is a positive number.

(self, timeout=None)

Source from the content-addressed store, hash-verified

192 self._writer = os.fdopen(main_write, "wb")
193
194 def join(self, timeout=None):
195 """Join the current process worker before it terminates.
196
197 Parameters
198 ----------
199 timeout: Optional[number]
200 Timeout value, block at most timeout seconds if it
201 is a positive number.
202 """
203 if self._proc:
204 try:
205 self._proc.wait(timeout)
206 except subprocess.TimeoutExpired:
207 pass
208
209 def is_alive(self):
210 """Check if the process is alive"""

Callers 15

killMethod · 0.95
start_proxy_serverFunction · 0.45
prepare_relax_libFunction · 0.45
prepare_cpu_libFunction · 0.45
prepare_gpu_libFunction · 0.45
update_single_recordMethod · 0.45
finishMethod · 0.45
_commit_internalMethod · 0.45
dump_tensor_cacheFunction · 0.45
load_tensor_cacheFunction · 0.45
link_sharedFunction · 0.45
link_shared_macosFunction · 0.45

Calls 1

waitMethod · 0.80

Tested by 15

start_proxy_serverFunction · 0.36
prepare_relax_libFunction · 0.36
prepare_cpu_libFunction · 0.36
prepare_gpu_libFunction · 0.36
verify_trace_roundtripFunction · 0.36
repro_commandFunction · 0.36
make_issue_urlFunction · 0.36
show_failure_helpFunction · 0.36
build_test_setFunction · 0.36
test_random_fill_mtFunction · 0.36
_compile_ccFunction · 0.36
_generate_roi_casesFunction · 0.36