]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
ggml : do not define GGML_USE_CUDA when building with GGML_BACKEND_DL (llama/11211)
authorRadoslav Gerganov <redacted>
Mon, 13 Jan 2025 11:31:41 +0000 (13:31 +0200)
committerGeorgi Gerganov <redacted>
Tue, 14 Jan 2025 07:36:36 +0000 (09:36 +0200)
commitac76d16d0c6f07341a27a7ce2c81df85ef92e278
tree4a3ab668649f5414def7343a9e90f85a23e798af
parent3f79c121e54a3534bd7ba001976e7bcbf431cdd3
ggml : do not define GGML_USE_CUDA when building with GGML_BACKEND_DL (llama/11211)

Build fails when using HIP and GGML_BACKEND_DL:
```
/usr/bin/ld: ../ggml/src/libggml.so: undefined reference to `ggml_backend_cuda_reg'
collect2: error: ld returned 1 exit status
```
This patch fixes this.
src/ggml-hip/CMakeLists.txt