Disable iqx on windows as WA (llama/6435)

* disable iqx on windows as WA

* array instead of global_memory
This commit is contained in:
Meng, Hengyu
2024-04-03 10:34:40 +08:00
committed by Georgi Gerganov
parent fa966b9b40
commit f12e982c0b
2 changed files with 41 additions and 116 deletions

View File

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