]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
CUDA: fix build and enable warnings (#494)
authorCebtenzzre <redacted>
Tue, 29 Aug 2023 12:34:59 +0000 (08:34 -0400)
committerGitHub <redacted>
Tue, 29 Aug 2023 12:34:59 +0000 (15:34 +0300)
commit7c8a87690c363ea34ed15a2f912e669b92aeddde
treef0d08bd53530f89d92f9c6b74f7d5a31bd50b232
parentd4d6f51de561c21a87c323ae8e47c5fb96fddedb
CUDA: fix build and enable warnings (#494)

* cmake : fix CUDA build

-Werror=vla needs to be passed to the host compiler.

* cmake : enable warnings for ggml-cuda.cu

* ggml : fix some unused variable warnings
CMakeLists.txt
src/CMakeLists.txt
src/ggml-cuda.cu
src/ggml.c