]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/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>
Wed, 18 Dec 2024 10:52:16 +0000 (12:52 +0200)
commitb82c8d76dc39f437703693123660ddd4f7dede1c
treef418e15aea7401fab3dac738c412c742fd13bbc7
parent86346f811eeb15203406c04d08926a1bd8917aa7
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.
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