-
Notifications
You must be signed in to change notification settings - Fork 607
[ET-VK][ez] Improvements to GLSL codegen script #10605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
## Changes Fixed a bug in the caching mechanism in the `gen_vulkan_spv.py` script where changing the YAML file will not trigger a recompile. Allow the python codegen to be applied to files other than GLSL compute shaders. One example application of this is generating header files (`.glslh` files) which can be shared among multiple `.glsl` files. This enables better code re-use and organization. For a simple application of this, see the `reference_matmul_common.glslh` file that was added to the test compute shader library. Differential Revision: [D74008572](https://our.internmc.facebook.com/intern/diff/D74008572/) [ghstack-poisoned]
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/10605
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit 276d882 with merge base cd3b53d ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
## Changes Fixed a bug in the caching mechanism in the `gen_vulkan_spv.py` script where changing the YAML file will not trigger a recompile. Allow the python codegen to be applied to files other than GLSL compute shaders. One example application of this is generating header files (`.glslh` files) which can be shared among multiple `.glsl` files. This enables better code re-use and organization. For a simple application of this, see the `reference_matmul_common.glslh` file that was added to the test compute shader library. Differential Revision: [D74008572](https://our.internmc.facebook.com/intern/diff/D74008572/) ghstack-source-id: 281448039 Pull Request resolved: #10605
This pull request was exported from Phabricator. Differential Revision: D74008572 |
## Changes Fixed a bug in the caching mechanism in the `gen_vulkan_spv.py` script where changing the YAML file will not trigger a recompile. Allow the python codegen to be applied to files other than GLSL compute shaders. One example application of this is generating header files (`.glslh` files) which can be shared among multiple `.glsl` files. This enables better code re-use and organization. For a simple application of this, see the `reference_matmul_common.glslh` file that was added to the test compute shader library. Differential Revision: [D74008572](https://our.internmc.facebook.com/intern/diff/D74008572/) [ghstack-poisoned]
Pull Request resolved: #10605 ## Changes Fixed a bug in the caching mechanism in the `gen_vulkan_spv.py` script where changing the YAML file will not trigger a recompile. Allow the python codegen to be applied to files other than GLSL compute shaders. One example application of this is generating header files (`.glslh` files) which can be shared among multiple `.glsl` files. This enables better code re-use and organization. For a simple application of this, see the `reference_matmul_common.glslh` file that was added to the test compute shader library. ghstack-source-id: 281449549 @exported-using-ghexport Differential Revision: [D74008572](https://our.internmc.facebook.com/intern/diff/D74008572/)
This pull request was exported from Phabricator. Differential Revision: D74008572 |
## Changes Fixed a bug in the caching mechanism in the `gen_vulkan_spv.py` script where changing the YAML file will not trigger a recompile. Allow the python codegen to be applied to files other than GLSL compute shaders. One example application of this is generating header files (`.glslh` files) which can be shared among multiple `.glsl` files. This enables better code re-use and organization. For a simple application of this, see the `reference_matmul_common.glslh` file that was added to the test compute shader library. Differential Revision: [D74008572](https://our.internmc.facebook.com/intern/diff/D74008572/) [ghstack-poisoned]
Pull Request resolved: #10605 ## Changes Fixed a bug in the caching mechanism in the `gen_vulkan_spv.py` script where changing the YAML file will not trigger a recompile. Allow the python codegen to be applied to files other than GLSL compute shaders. One example application of this is generating header files (`.glslh` files) which can be shared among multiple `.glsl` files. This enables better code re-use and organization. For a simple application of this, see the `reference_matmul_common.glslh` file that was added to the test compute shader library. ghstack-source-id: 282026609 @exported-using-ghexport Differential Revision: [D74008572](https://our.internmc.facebook.com/intern/diff/D74008572/)
This pull request was exported from Phabricator. Differential Revision: D74008572 |
Stack from ghstack (oldest at bottom):
Changes
Fixed a bug in the caching mechanism in the
gen_vulkan_spv.py
script where changing the YAML file will not trigger a recompile.Allow the python codegen to be applied to files other than GLSL compute shaders. One example application of this is generating header files (
.glslh
files) which can be shared among multiple.glsl
files. This enables better code re-use and organization.For a simple application of this, see the
reference_matmul_common.glslh
file that was added to the test compute shader library.Differential Revision: D74008572