True if NVPTX is usable: a (CUDA) device, plus the LLVM backend it needs.
()
| 198 | |
| 199 | |
| 200 | def has_nvptx() -> bool: |
| 201 | """True if NVPTX is usable: a (CUDA) device, plus the LLVM backend it needs.""" |
| 202 | return _device_usable("nvptx") and has_llvm() |
| 203 | |
| 204 | |
| 205 | def has_llvm() -> bool: |
nothing calls this directly
no test coverage detected
searching dependent graphs…