-
Notifications
You must be signed in to change notification settings - Fork 12k
vulkan : cmake integration #8119
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
Merged
Merged
Changes from all commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
4eadfb1
Add Vulkan to CMake pkg
bandoti c46a789
Add Sycl to CMake pkg
bandoti 36b081a
Add OpenMP to CMake pkg
bandoti 29ba5a8
Split generated shader file into separate translation unit
bandoti 1b4759f
Add CMake target for Vulkan shaders
bandoti cb3ec88
Merge branch 'ggerganov:master' into vulkan-build-integration
bandoti 37bcad7
Update README.md
bandoti b1a70fc
Merge branch 'ggerganov:master' into vulkan-build-integration
bandoti dd198ce
Merge branch 'ggerganov:master' into vulkan-build-integration
bandoti 491a967
Add make target for Vulkan shaders
bandoti 99c3027
Use pkg-config to locate vulkan library
bandoti 8859546
Add vulkan SDK dep to ubuntu-22-cmake-vulkan workflow
bandoti c61cd05
Clean up tabs
bandoti 2318cad
Move sudo to apt-key invocation
bandoti a1495e7
Merge branch 'master' into vulkan-build-integration
bandoti 6571046
Forward GGML_EXTRA_LIBS to CMake config pkg
bandoti d053004
Update vulkan obj file paths
bandoti d0d825f
Add shaderc to nix pkg
bandoti eec17a6
Add python3 to Vulkan nix build
bandoti 8590508
Link against ggml in cmake pkg
bandoti ac9a065
Remove Python dependency from Vulkan build
bandoti 4eab311
Merge branch 'ggerganov:master' into vulkan-build-integration
bandoti 9bca872
code review changes
bandoti 422bfb3
Merge branch 'master' into vulkan-build-integration
bandoti 22323d5
Merge branch 'master' into vulkan-build-integration
bandoti 2f5a0e8
Remove trailing newline
bandoti a85b5d8
Merge branch 'master' into vulkan-build-integration
bandoti 019e4a3
Add cflags from pkg-config to fix w64devkit build
bandoti 3a554ae
Update README.md
bandoti dafcaf1
Remove trailing whitespace
bandoti 4226103
Update README.md
bandoti 613a3c6
Remove trailing whitespace
bandoti f638ade
Merge branch 'master' into vulkan-build-integration
bandoti 02e65ad
Fix doc heading
bandoti 6b5c5af
Merge branch 'ggerganov:master' into vulkan-build-integration
bandoti 50da329
Merge branch 'master' into vulkan-build-integration
bandoti f47829a
Merge branch 'master' into vulkan-build-integration
bandoti 9501f66
Make glslc required Vulkan component
bandoti 88fd99b
remove clblast from nix pkg
bandoti 24fd7d3
Merge branch 'master' into vulkan-build-integration
bandoti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
src/ggml-vulkan-shaders.hpp | ||
src/ggml-vulkan-shaders.cpp |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why this is needed - an example with a specific flag that is not exported would help. It's OK to merge as it is though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ggerganov I will take a closer look at this. The flags which should be exported should be all interface defines (public interface only) on the ggml/llama libraries. I will follow up with a new pull request.