• Validate WebGPU configuration options

    Parameters

    • options: SessionOptions

      Session options to validate

    Returns boolean

    true if configuration is valid, false otherwise

    Example

    const isValid = validateWebGPUConfig({
    preferWebGPU: true,
    webgpuPowerPreference: 'high-performance'
    });