Skip to main content

cuda_selected

Function cuda_selected 

Source
pub fn cuda_selected() -> bool
Expand description

True when direct solver GPU entry points should be attempted.

Auto attempts CUDA only after the runtime probe finds a usable device. Off pins the process to CPU. Force attempts the GPU path so missing runtime/backend support becomes an explicit error at the callee instead of an implicit CPU route.