onnxruntime
1b584c19 - [webgpu] Enable per-run control for graph capture (#25367)

Commit
180 days ago
[webgpu] Enable per-run control for graph capture (#25367) This PR uses the existed RunOption `gpu_graph_id` to control whether to skip the graph capture. When the webgpu ep option `enableGraphCapture` is enabled, in RunOption, gpu_graph_id = -1 means skipping graph capture. Otherwise, go to the graph capture path for each session.run. If gpu_graph_id is not specified in RunOption, it will respect `enableGraphCapture `'s value to see whether to go to graph capture path.
Author
Parents
Loading