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

Function _gpu_mark_and_skip

python/tvm/testing/plugin.py:283–285  ·  view source on GitHub ↗

A GPU-family target: the ``gpu`` selection marker plus an env skip.

(has_fn, reason)

Source from the content-addressed store, hash-verified

281
282
283def _gpu_mark_and_skip(has_fn, reason):
284 """A GPU-family target: the ``gpu`` selection marker plus an env skip."""
285 return [pytest.mark.gpu, pytest.mark.skipif(not has_fn(), reason=reason)]
286
287
288def _skip_only(has_fn, reason):

Callers 1

_target_to_requirementFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…