Skip to content

Conversation

@mtavenrath
Copy link
Contributor

@mtavenrath mtavenrath commented Aug 29, 2024

  • Add option to generate debug info for Vulkan shaders to provide shader source to Vulkan shader profiling tools

  • I have read the contributing guidelines

  • Self-reported review complexity:

    • Low
    • Medium
    • High

- Add dependency to vulkan-shaders-gen to rebuild shaders when changing the shader compilation utility.
- Add option to generate debug info for Vulkan shaders to provide shader source to Vulkan shader profiling tools
@mtavenrath mtavenrath changed the title Improve Vulkan shader builds system Improve Vulkan shader build system Aug 29, 2024
@mofosyne mofosyne added the Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix label Aug 30, 2024
@0cc4m 0cc4m self-requested a review September 4, 2024 08:53
@0cc4m
Copy link
Collaborator

0cc4m commented Sep 4, 2024

Can you add some information on how this can be used and with which tools? I assume one might be Nvidia Nsight?

@mtavenrath
Copy link
Contributor Author

I can confirm that NSight Graphics can utilize the debug information to match assembly to the actual GLSL source code line. I do not have any information about other profilers.

@0cc4m 0cc4m merged commit 8ebe8dd into ggml-org:master Sep 6, 2024
dsx1986 pushed a commit to dsx1986/llama.cpp that referenced this pull request Oct 29, 2024
* Improve Vulkan shader builds system

- Add dependency to vulkan-shaders-gen to rebuild shaders when changing the shader compilation utility.
- Add option to generate debug info for Vulkan shaders to provide shader source to Vulkan shader profiling tools

* remove not required self dependency
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 15, 2024
* Improve Vulkan shader builds system

- Add dependency to vulkan-shaders-gen to rebuild shaders when changing the shader compilation utility.
- Add option to generate debug info for Vulkan shaders to provide shader source to Vulkan shader profiling tools

* remove not required self dependency
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Nov 18, 2024
* Improve Vulkan shader builds system

- Add dependency to vulkan-shaders-gen to rebuild shaders when changing the shader compilation utility.
- Add option to generate debug info for Vulkan shaders to provide shader source to Vulkan shader profiling tools

* remove not required self dependency
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Review Complexity : Low Trivial changes to code that most beginner devs (or those who want a break) can tackle. e.g. UI fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants