Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions onnxruntime/core/providers/webgpu/wgsl_templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ This section includes instructions for how to use the template system in the dev
1. Create WGSL template files in `.wgsl.template` extension.

- [Reference: Template Syntax](https://github.com/fs-eire/wgsl-template?tab=readme-ov-file#template-syntax)
- [Reference: Built-in Utilities](#Utilities)
- [Reference: Built-in Utilities](https://github.com/fs-eire/wgsl-template?tab=readme-ov-file#Utilities)
- [Example: Pad](../tensor/pad.wgsl.template)

2. In the implementation of `YourProgram::GenerateShaderCode()`, load and use the generated template files.
Expand Down Expand Up @@ -117,4 +117,4 @@ This section includes instructions for how to use the template system in the dev
1. Build ORT once with dynamic template mode
2. Launch wgsl-gen in watch mode
3. Run ORT to debug/validate the shader
4. Make changes to the template files, and repeat step (3)
4. Make changes to the template files, and repeat step (c)
Loading