From ddc6397a2064aa49a0a8f2bf2705f2787cc180cc Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 8 Mar 2024 14:47:20 +0200 Subject: [PATCH] ggml : minor --- ggml-common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ggml-common.h b/ggml-common.h index 48fb53364..9c9cf4ec6 100644 --- a/ggml-common.h +++ b/ggml-common.h @@ -8,12 +8,12 @@ #elif defined(GGML_COMMON_IMPL_METAL) #include -#define GGML_TABLE_BEGIN(type, name, size) constant static const type name[size] = { +#define GGML_TABLE_BEGIN(type, name, size) static const constant type name[size] = { #define GGML_TABLE_END() }; #elif defined(GGML_COMMON_IMPL_CUDA) #include -#define GGML_TABLE_BEGIN(type, name, size) __device__ __constant__ static const type name[size] = { +#define GGML_TABLE_BEGIN(type, name, size) static const __device__ __constant__ type name[size] = { #define GGML_TABLE_END() }; #elif defined(GGML_COMMON_IMPL_SYCL) #include