Skip to main content

gpu_available

Function gpu_available 

Source
pub fn gpu_available() -> bool
Expand description

Check if GPU acceleration is available. Return true when GPU scoring support is available in this build/runtime.

ยงExamples

use keyhog_scanner::gpu::gpu_available;
let _ = gpu_available();