Skip to main content

enabled

Function enabled 

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

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