ggml : remove __constant__ specifier for CUDA tables (#5940)

This commit is contained in:
Georgi Gerganov 2024-03-10 20:09:24 +02:00
parent fa8a809a91
commit bf47a5eefc
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View 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