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

Function test_popen_worker_reuses

tests/python/support/test_popen_pool.py:62–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60
61
62def test_popen_worker_reuses():
63 proc = PopenWorker(maximum_uses=None)
64
65 proc.send(os.getpid)
66 initial_pid = proc.recv()
67
68 proc.send(os.getpid)
69 assert proc.recv() == initial_pid
70
71
72def test_popen_worker_recycles():

Callers

nothing calls this directly

Calls 3

sendMethod · 0.95
recvMethod · 0.95
PopenWorkerClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…