Skip to main content

gpu_self_test

Function gpu_self_test 

Source
pub fn gpu_self_test() -> Result<GpuSelfTest, String>
Expand description

Force a GPU compute dispatch and validate the returned scores.

This is stricter than gpu_available: it proves that a non-fallback wgpu adapter initialized and that the MoE compute shader can run at least one production-sized batch.