Skip to main content

route_through_gpu

Function route_through_gpu 

Source
pub fn route_through_gpu(op: DispatchOp) -> Option<&'static GpuRuntime>
Expand description

Returns Some(runtime) when a device is available and policy admits the operation. Auto applies calibrated profitability thresholds; Required deliberately bypasses those thresholds because a CPU continuation would violate the requested execution policy.