mirror of
https://github.com/RYDE-WORK/llama.cpp.git
synced 2026-02-01 21:23:14 +08:00
ggml : remove __constant__ specifier for CUDA tables (#5940)
This commit is contained in:
parent
fa8a809a91
commit
bf47a5eefc
@ -17,7 +17,7 @@
|
|||||||
#elif defined(GGML_COMMON_IMPL_CUDA)
|
#elif defined(GGML_COMMON_IMPL_CUDA)
|
||||||
#include <cstdint>
|
#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_TABLE_END() };
|
||||||
|
|
||||||
#define GGML_COMMON_IMPL
|
#define GGML_COMMON_IMPL
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user