Skip to content

Commit cccbca9

Browse files
authored
attempt adding ROCM hipblas
1 parent a44a1d4 commit cccbca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ inline static void* ggml_aligned_malloc(size_t size) {
160160
#endif
161161
#elif defined(GGML_USE_OPENBLAS)
162162
#include <cblas.h>
163-
#elif defined(GGML_USE_CUBLAS)
163+
#elif defined(GGML_USE_CUBLAS) | defined(GGML_USE_HIPBLAS)
164164
#include "ggml-cuda.h"
165165
#elif defined(GGML_USE_CLBLAST)
166166
#include "ggml-opencl.h"
@@ -18068,4 +18068,4 @@ int ggml_cpu_has_vsx(void) {
1806818068
#endif
1806918069
}
1807018070

18071-
////////////////////////////////////////////////////////////////////////////////
18071+
////////////////////////////////////////////////////////////////////////////////

0 commit comments

Comments
 (0)