onnxruntime/js/web/lib/wasm/jsep/webgpu/ops/3rd-party
Yulong Wang d9b9c5a537
[js/webgpu] support using uniform buffer (#17803)
### Description
support using uniform buffer.

This PR allows to use uniform buffer in shader program, so that some
runtime information (eg. input/output shape) is no longer need to be
hardcoded into shader code.

There are 2 commits in this PR:
-
[667f31c](667f31c83d):
framework changes to support uniform buffer, as well as updates in
program manager, gpu data manager and indices helper.
-
[09e1d2a](09e1d2ad1d):
an example change for operator `Transpose` to use input's rank-only
instead of dims as shader key. With this change, model mobilenetv2-12
shader compile times dropped from 71 to 52.
2023-10-10 00:31:12 -07:00
..
activation_util.ts [js/web] FP16 Conv, ConvTranspose and MatMul (#17514) 2023-09-30 00:00:23 -07:00
conv2d_mm_webgpu.ts [js/webgpu] support using uniform buffer (#17803) 2023-10-10 00:31:12 -07:00
conv_backprop_mm_webgpu.ts [js/webgpu] support using uniform buffer (#17803) 2023-10-10 00:31:12 -07:00
conv_backprop_webgpu.ts [js/webgpu] support using uniform buffer (#17803) 2023-10-10 00:31:12 -07:00
conv_util.ts
matmul_packed_webgpu.ts [js/webgpu] support using uniform buffer (#17803) 2023-10-10 00:31:12 -07:00