onnxruntime/js/web/lib/wasm/jsep
Yulong Wang 473434c73f
[js/webgpu] perform uniform consistency check (#20019)
### Description

This PR makes a change in WebGPU backend to validate program uniforms.
It compares the uniform data that comes from the result of
`getRunData()` callback from the program info, with the `ShaderHelper`'s
maintained list of uniform variables.

Fixes a few bugs that found by this check as well.
2024-03-26 17:14:43 -07:00
..
webgpu [js/webgpu] perform uniform consistency check (#20019) 2024-03-26 17:14:43 -07:00
backend-webgpu.ts [js/webgpu] perform uniform consistency check (#20019) 2024-03-26 17:14:43 -07:00
init.ts [js/web] rewrite backend resolve to allow multiple EPs (#19735) 2024-03-15 11:47:45 -07:00
log.ts [js/webgpu] support proxy for webgpu (#15851) 2023-05-15 16:23:13 -07:00
tensor-view.ts [js/web] revise TensorView (#17473) 2023-09-14 21:14:44 -07:00
util.ts [js/webgpu] allows a ProgramInfo's RunData to use zero sized output (#19614) 2024-02-23 12:52:47 -08:00