onnxruntime/js/web/lib/wasm
Yang Gu e803f8eb0f
[js/webgpu] Refactor timestamp-query and introduce timestamp-query-inside-passes (#18894)
We submit kernels in a batch (a fixed number 16 is used except for the
last batch) for better performance. However, timestamp query support is
at pass level so we disable the batch execution in profiling mode in
previous implementation. Actually we can have multiple passes in a batch
so that we don't have to disable batch execution, which is the first
enhancement of this PR.
Furthermore, WebGPU has an extension to support timestamp query inside
passes, which isn't supported by all the platforms (e.g., Windows
supports it, while macOS doesn't). This is expected to have lower cost
compared with multiple passes solution. So this PR also introduce this
support when available.
This PR also refactors some implementation related to kernelInfo, and
try to unify the related kernel names.
2024-01-13 00:23:17 -08:00
..
binding [js] enable external data loading for ort-web (#19087) 2024-01-12 19:24:24 -08:00
jsep [js/webgpu] Refactor timestamp-query and introduce timestamp-query-inside-passes (#18894) 2024-01-13 00:23:17 -08:00
proxy-worker [js] enable external data loading for ort-web (#19087) 2024-01-12 19:24:24 -08:00
proxy-messages.ts [js/web] revise backend registration (#18715) 2023-12-20 14:45:55 -08:00
proxy-wrapper.ts [js/web] revise backend registration (#18715) 2023-12-20 14:45:55 -08:00
run-options.ts [js/web] enable ONNX Runtime Web error messages in JS (#16335) 2023-06-15 09:45:41 -07:00
session-handler-inference.ts [js] enable external data loading for ort-web (#19087) 2024-01-12 19:24:24 -08:00
session-handler-training.ts [js/web] revise backend registration (#18715) 2023-12-20 14:45:55 -08:00
session-options.ts [WebNN EP] Support numThreads option for WebNN CPU device (#18054) 2023-11-12 16:45:10 -08:00
wasm-common.ts [js/webgpu] support IO binding (#17480) 2023-09-29 11:24:42 -07:00
wasm-core-impl.ts [js] enable external data loading for ort-web (#19087) 2024-01-12 19:24:24 -08:00
wasm-factory.ts [js/web] wait for threadpool initialization (#18952) 2024-01-04 08:06:55 -08:00
wasm-training-core-impl.ts [js/web] revise backend registration (#18715) 2023-12-20 14:45:55 -08:00
wasm-utils-load-file.ts [js] enable external data loading for ort-web (#19087) 2024-01-12 19:24:24 -08:00
wasm-utils.ts [js/web] enable ONNX Runtime Web error messages in JS (#16335) 2023-06-15 09:45:41 -07:00