Skip to content

Commit bf47a5e

Browse files
committed
ggml : remove __constant__ specifier for CUDA tables (#5940)
1 parent fa8a809 commit bf47a5e

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)