Skip to content

Commit

Permalink
ggml : remove __constant__ specifier for CUDA tables (ggerganov#5940)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored and hodlen committed Apr 1, 2024
1 parent 1b68365 commit d66218b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ggml-common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d66218b

Please sign in to comment.