]> git.djapps.eu Git - pkg/ggml/sources/ggml/commit
CUDA: rename macros to avoid conflicts with WinAPI (llama/10736)
authorAndreas Kieslinger <redacted>
Tue, 10 Dec 2024 17:23:24 +0000 (18:23 +0100)
committerGeorgi Gerganov <redacted>
Tue, 17 Dec 2024 17:23:40 +0000 (19:23 +0200)
commit0ea6edab083d3ceba84ce56ecbb0e82ba739f9c5
tree526de9e56b6ef53fd8d0a90e4d76eefbe3f456f6
parent58eacf28277e40965465e314948cd73a0bac1b69
CUDA: rename macros to avoid conflicts with WinAPI (llama/10736)

* Renames NVIDIA GPU-architecture flags to avoid name clashes with WinAPI. (e.g. CC_PASCAL, GPU architecture or WinAPI pascal compiler flag?)

* Reverts erroneous rename in SYCL-code.

* Renames GGML_CUDA_MIN_CC_DP4A to GGML_CUDA_CC_DP4A.

* Renames the rest of the compute capability macros for consistency.
src/ggml-common.h
src/ggml-cuda/common.cuh
src/ggml-cuda/convert.cu
src/ggml-cuda/fattn.cu
src/ggml-cuda/ggml-cuda.cu
src/ggml-cuda/mma.cuh
src/ggml-cuda/mmq.cu
src/ggml-cuda/mmq.cuh
src/ggml-cuda/mmvq.cu
src/ggml-cuda/sum.cu