]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
ggml : remove __constant__ specifier for CUDA tables (llama/5940)
authorGeorgi Gerganov <redacted>
Sun, 10 Mar 2024 18:09:24 +0000 (20:09 +0200)
committerGeorgi Gerganov <redacted>
Thu, 14 Mar 2024 16:46:58 +0000 (18:46 +0200)
ggml-common.h

index 4b6d248b6db9034bd02b44ab488bc34d4ce53ef4..84981212cfc468c5ff7ec2df9c03a5f74fe706bd 100644 (file)
@@ -17,7 +17,7 @@
 #elif defined(GGML_COMMON_IMPL_CUDA)
 #include <cstdint>
 
-#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