MCPcopy Create free account
hub / github.com/apache/tvm / has_adreno_opencl

Function has_adreno_opencl

python/tvm/testing/env.py:436–438  ·  view source on GitHub ↗

True if remote Adreno OpenCL testing is configured (RPC_TARGET set).

()

Source from the content-addressed store, hash-verified

434
435@functools.cache
436def has_adreno_opencl() -> bool:
437 """True if remote Adreno OpenCL testing is configured (RPC_TARGET set)."""
438 return _build_flag_enabled("USE_OPENCL") and os.environ.get("RPC_TARGET") is not None
439
440
441@functools.cache

Callers

nothing calls this directly

Calls 2

_build_flag_enabledFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…