tvm_tirx::runtime

Function enabled

Source
pub fn enabled(target: &str) -> Result<bool>
Expand description

Whether the runtime of the device or target kind target ("cpu", "cuda", "llvm"…) is enabled (runtime.RuntimeEnabled).