From e1b8efb9ac942191c3dd5df74988feb4c669a44d Mon Sep 17 00:00:00 2001 From: Iwan Kawrakow Date: Fri, 23 Feb 2024 16:24:52 +0200 Subject: [PATCH] Will this fix ROCm? --- ggml-cuda.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ggml-cuda.cu b/ggml-cuda.cu index e8ff91163..21c612cb7 100644 --- a/ggml-cuda.cu +++ b/ggml-cuda.cu @@ -172,7 +172,7 @@ #endif typedef int8_t int8x4_t __attribute__((ext_vector_type(4))); -typedef uint8_t int8x4_t __attribute__((ext_vector_type(4))); +typedef uint8_t uint8x4_t __attribute__((ext_vector_type(4))); static __device__ __forceinline__ int __vsubss4(const int a, const int b) { const int8x4_t va = reinterpret_cast(a); const int8x4_t vb = reinterpret_cast(b);