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

Function _target

tests/python/runtime/test_runtime_rpc.py:541–546  ·  view source on GitHub ↗
(host, port, device_key, timeout)

Source from the content-addressed store, hash-verified

539
540
541def _target(host, port, device_key, timeout):
542 client = rpc.connect_tracker(host, port)
543 remote = client.request(device_key, session_timeout=timeout)
544 while True:
545 pass
546 remote.cpu()
547
548
549@pytest.mark.skipif(not env.has_rpc(), reason="need rpc")

Callers

nothing calls this directly

Calls 3

connect_trackerMethod · 0.80
requestMethod · 0.45
cpuMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…