]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
CUDA: rename macros to avoid conflicts with WinAPI (#10736)
authorAndreas Kieslinger <redacted>
Tue, 10 Dec 2024 17:23:24 +0000 (18:23 +0100)
committerGitHub <redacted>
Tue, 10 Dec 2024 17:23:24 +0000 (18:23 +0100)
commit750cb3e246f7e544124cf18cb0c5e0c8b7e38738
treea0875d6c4bc32188d36acb3ee877742b63de1fbf
parenta86ad841f103e471ac0fd7ee8852d1eb5015ce89
CUDA: rename macros to avoid conflicts with WinAPI (#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.
ggml/src/ggml-common.h
ggml/src/ggml-cuda/common.cuh
ggml/src/ggml-cuda/convert.cu
ggml/src/ggml-cuda/fattn.cu
ggml/src/ggml-cuda/ggml-cuda.cu
ggml/src/ggml-cuda/mma.cuh
ggml/src/ggml-cuda/mmq.cu
ggml/src/ggml-cuda/mmq.cuh
ggml/src/ggml-cuda/mmvq.cu
ggml/src/ggml-cuda/sum.cu