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

Function has_vulkan

python/tvm/testing/env.py:185–187  ·  view source on GitHub ↗

True if a Vulkan device is present and enabled in TVM_TEST_TARGETS.

()

Source from the content-addressed store, hash-verified

183
184
185def has_vulkan() -> bool:
186 """True if a Vulkan device is present and enabled in TVM_TEST_TARGETS."""
187 return _device_usable("vulkan")
188
189
190def has_metal() -> bool:

Callers

nothing calls this directly

Calls 1

_device_usableFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…