Skip to main content

webgpu_available

Function webgpu_available 

Source
pub fn webgpu_available() -> bool
Expand description

Returns true if a WebGPU adapter is available for CubeCL.

Use this in test helpers to skip WebGPU tests on machines without an adapter.