Skip to main content

gpu_device_info

Function gpu_device_info 

Source
pub fn gpu_device_info() -> String
Expand description

Return a string describing the active compute device.

Returns "cpu (cuda_bridge feature not enabled)" unless the cuda_bridge Cargo feature is enabled and CUDA hardware is detected at runtime.