]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
CUDA: add cublasSgemmBatched mapping for HIP/MUSA vendor headers (#25033)
authorleonardHONG <redacted>
Fri, 26 Jun 2026 09:42:56 +0000 (17:42 +0800)
committerGitHub <redacted>
Fri, 26 Jun 2026 09:42:56 +0000 (11:42 +0200)
ggml/src/ggml-cuda/vendors/hip.h
ggml/src/ggml-cuda/vendors/musa.h

index a6115cd80dc4541527dfe126aeb522625af2a833..d01f1533abb6560ee0155b5b1f1aea2ad2553ecb 100644 (file)
@@ -48,6 +48,7 @@
 #define cublasSetMathMode(handle, mode) CUBLAS_STATUS_SUCCESS
 #define cublasSetStream hipblasSetStream
 #define cublasSgemm hipblasSgemm
+#define cublasSgemmBatched hipblasSgemmBatched
 #define cublasSgemmStridedBatched hipblasSgemmStridedBatched
 #define cublasStatus_t hipblasStatus_t
 #define cublasOperation_t hipblasOperation_t
index 99e8fa3703e0e919c54f3bd33cdbb7868559175c..6d725c7ec196ba4da20d5fdfd690cb18cb16f585 100644 (file)
@@ -32,6 +32,7 @@
 #define cublasSetMathMode mublasSetMathMode
 #define cublasSetStream mublasSetStream
 #define cublasSgemm mublasSgemm
+#define cublasSgemmBatched mublasSgemmBatched
 #define cublasSgemmStridedBatched mublasSgemmStridedBatched
 #define cublasStatus_t mublasStatus_t
 #define cublasOperation_t mublasOperation_t