瀏覽代碼

ggml : remove __constant__ specifier for CUDA tables (#5940)

Georgi Gerganov 1 年之前
父節點
當前提交
bf47a5eefc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ggml-common.h

+ 1 - 1
ggml-common.h

@@ -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