True if a Vulkan device is present and enabled in TVM_TEST_TARGETS.
()
| 183 | |
| 184 | |
| 185 | def has_vulkan() -> bool: |
| 186 | """True if a Vulkan device is present and enabled in TVM_TEST_TARGETS.""" |
| 187 | return _device_usable("vulkan") |
| 188 | |
| 189 | |
| 190 | def has_metal() -> bool: |
nothing calls this directly
no test coverage detected
searching dependent graphs…