]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
vulkan : cmake integration (#8119)
authorbandoti <redacted>
Sat, 13 Jul 2024 16:12:39 +0000 (13:12 -0300)
committerGitHub <redacted>
Sat, 13 Jul 2024 16:12:39 +0000 (18:12 +0200)
commit17eb6aa8a992cda37ee65cf848d9289bd6cad860
tree6c5acdb5bb49cec5ce8c7d1224114e73110d34d6
parentc917b67f06c42d8ca8391b9bc73f5fe62c83bf70
vulkan : cmake integration (#8119)

* Add Vulkan to CMake pkg

* Add Sycl to CMake pkg

* Add OpenMP to CMake pkg

* Split generated shader file into separate translation unit

* Add CMake target for Vulkan shaders

* Update README.md

* Add make target for Vulkan shaders

* Use pkg-config to locate vulkan library

* Add vulkan SDK dep to ubuntu-22-cmake-vulkan workflow

* Clean up tabs

* Move sudo to apt-key invocation

* Forward GGML_EXTRA_LIBS to CMake config pkg

* Update vulkan obj file paths

* Add shaderc to nix pkg

* Add python3 to Vulkan nix build

* Link against ggml in cmake pkg

* Remove Python dependency from Vulkan build

* code review changes

* Remove trailing newline

* Add cflags from pkg-config to fix w64devkit build

* Update README.md

* Remove trailing whitespace

* Update README.md

* Remove trailing whitespace

* Fix doc heading

* Make glslc required Vulkan component

* remove clblast from nix pkg
12 files changed:
.devops/nix/package.nix
.github/workflows/build.yml
CMakeLists.txt
Makefile
cmake/llama-config.cmake.in
docs/build.md
ggml/.gitignore [new file with mode: 0644]
ggml/ggml_vk_generate_shaders.py [deleted file]
ggml/src/CMakeLists.txt
ggml/src/ggml-vulkan-shaders.hpp [deleted file]
ggml/src/vulkan-shaders/CMakeLists.txt [new file with mode: 0644]
ggml/src/vulkan-shaders/vulkan-shaders-gen.cpp [new file with mode: 0644]