Get WebGPU context options based on session configuration
Session options
WebGPU context options object
const contextOptions = getWebGPUContextOptions({ webgpuPowerPreference: 'high-performance'}); Copy
const contextOptions = getWebGPUContextOptions({ webgpuPowerPreference: 'high-performance'});
Get WebGPU context options based on session configuration