Skip to content

Commit d66218b

Browse files
ggerganovhodlen
authored andcommitted
ggml : remove __constant__ specifier for CUDA tables (ggml-org#5940)
1 parent 1b68365 commit d66218b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml-common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#elif defined(GGML_COMMON_IMPL_CUDA)
1818
#include <cstdint>
1919

20-
#define GGML_TABLE_BEGIN(type, name, size) static const __device__ __constant__ type name[size] = {
20+
#define GGML_TABLE_BEGIN(type, name, size) static const __device__ type name[size] = {
2121
#define GGML_TABLE_END() };
2222

2323
#define GGML_COMMON_IMPL

0 commit comments

Comments
 (0)