tvm_tirx.testing.env#
Local runtime, device, and compiler capability probes.
Functions#
|
True if a CUDA device is present. |
|
True if a ROCm device is present. |
True if a Vulkan device is present. |
|
True if a Metal device is present. |
|
True if an OpenCL device is present. |
|
True if NVPTX is usable: a (CUDA) device, plus the LLVM backend it needs. |
|
|
True if the LLVM backend was built in. |
|
True if any GPU backend (cuda/rocm/opencl/metal/vulkan) is present. |
|
True if at least |
|
Return a CUDA device's canonical runtime architecture, if available. |
|
True if a CUDA device exactly matches one of arches. |
|
True if the CUDA compute capability satisfies |
|
True if a CUDA device is present and nvcc is at least |
|
True if LLVM is available and its major version is at least |
True if a ROCm device with Matrix Core support (compute >= 8) exists. |
|
True if a CUDA device is present and the toolkit supports CUDA Graphs. |
|
|
True if the host CPU supports |
True if the host CPU supports x86 VNNI (AVX512-VNNI or AVX-VNNI). |
|
True if the host CPU supports the x86 AVX512 extensions. |