summaryrefslogtreecommitdiff
path: root/ggml-common.h
diff options
context:
space:
mode:
authorMeng, Hengyu <hengyu.meng@intel.com>2024-04-03 10:34:40 +0800
committerGitHub <noreply@github.com>2024-04-03 10:34:40 +0800
commit52604860f93063ef98863921da697576af1c7665 (patch)
treed846f8f1f501cdef38a9ad04e2bcdac3786ee575 /ggml-common.h
parentf87f7b898651339fe173ddf016ca826163e899d8 (diff)
[SYCL] Disable iqx on windows as WA (#6435)
* disable iqx on windows as WA * array instead of global_memory
Diffstat (limited to 'ggml-common.h')
-rw-r--r--ggml-common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/ggml-common.h b/ggml-common.h
index b2d67d5d..43c7978a 100644
--- a/ggml-common.h
+++ b/ggml-common.h
@@ -447,10 +447,11 @@ static_assert(sizeof(block_iq4_xs) == sizeof(ggml_half) + sizeof(uint16_t) + QK_
#define GGML_COMMON_IMPL
#elif defined(GGML_COMMON_IMPL_SYCL)
+
#include <cstdint>
-#define GGML_TABLE_BEGIN(type, name, size) static dpct::global_memory<const type, 1> name(sycl::range<1>(size), {
-#define GGML_TABLE_END() });
+#define GGML_TABLE_BEGIN(type, name, size) static const type name[size] = {
+#define GGML_TABLE_END() };
#define GGML_COMMON_IMPL
#endif