From: Georgi Gerganov Date: Sun, 10 Mar 2024 18:09:24 +0000 (+0200) Subject: ggml : remove __constant__ specifier for CUDA tables (#5940) X-Git-Tag: upstream/0.0.4488~2100 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=bf47a5eefc669fdba71af096942af999bc1167d4;p=pkg%2Fggml%2Fsources%2Fllama.cpp ggml : remove __constant__ specifier for CUDA tables (#5940) --- diff --git a/ggml-common.h b/ggml-common.h index 4b6d248b..84981212 100644 --- a/ggml-common.h +++ b/ggml-common.h @@ -17,7 +17,7 @@ #elif defined(GGML_COMMON_IMPL_CUDA) #include -#define GGML_TABLE_BEGIN(type, name, size) static const __device__ __constant__ type name[size] = { +#define GGML_TABLE_BEGIN(type, name, size) static const __device__ type name[size] = { #define GGML_TABLE_END() }; #define GGML_COMMON_IMPL