[ExecuTorch][WebGPU] Generate typed to_copy shader variants - #21449
[ExecuTorch][WebGPU] Generate typed to_copy shader variants#21449JCNTH wants to merge 2 commits into
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/21449
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New FailureAs of commit f9f2cdc with merge base 8200b9e ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
|
@claude Double check for need of changes, modulariziation opportunity, etc |
|
Claude finished @JCNTH's task in 1m 52s —— View job Review: WebGPU typed
|
Stack from ghstack (oldest at bottom):
Generate typed
to_copyvariants from one byte-identical templateThe two conversion directions duplicated the same WGSL structure and could drift independently. This moves fp32-to-int32 and int32-to-fp32 into one typed family while preserving both expanded payloads. Mirrors Vulkan
backends/vulkan/runtime/graph/ops/glsl/view_convert_buffer.{glsl,yaml}.Key changes:
to_copy_convert.wgsland YAML — declare the two typed variants.Host routing and dispatch remain unchanged; tests expand fixture coverage.
Co-authored-with: Claude Code.
@exported-using-ghexport
Differential Revision: D113979712
Differential Revision: D113979712