Validate WebGPU configuration options
Session options to validate
true if configuration is valid, false otherwise
const isValid = validateWebGPUConfig({ preferWebGPU: true, webgpuPowerPreference: 'high-performance'}); Copy
const isValid = validateWebGPUConfig({ preferWebGPU: true, webgpuPowerPreference: 'high-performance'});
Validate WebGPU configuration options