mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-06 12:29:11 +00:00
ggml : remove __constant__ specifier for CUDA tables (#5940)
This commit is contained in:
parent
fa8a809a91
commit
bf47a5eefc
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue