summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgi Gerganov <ggerganov@gmail.com>2024-03-10 20:09:24 +0200
committerGeorgi Gerganov <ggerganov@gmail.com>2024-03-10 20:09:24 +0200
commitbf47a5eefc669fdba71af096942af999bc1167d4 (patch)
treebb47d15b99226a1d30fdf019b9d55508ff195305
parentfa8a809a9119411bc9c3f00026550d0343f4d9b7 (diff)
ggml : remove __constant__ specifier for CUDA tables (#5940)
-rw-r--r--ggml-common.h2
1 files changed, 1 insertions, 1 deletions
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 <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