Skip to content

Commit d9b0606

Browse files
airMengtybalex
authored andcommitted
[SYCL] Disable iqx on windows as WA (ggml-org#6435)
* disable iqx on windows as WA * array instead of global_memory
1 parent 4885737 commit d9b0606

File tree

2 files changed

+41
-116
lines changed

2 files changed

+41
-116
lines changed

ggml-common.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,10 +447,11 @@ static_assert(sizeof(block_iq4_xs) == sizeof(ggml_half) + sizeof(uint16_t) + QK_
447447

448448
#define GGML_COMMON_IMPL
449449
#elif defined(GGML_COMMON_IMPL_SYCL)
450+
450451
#include <cstdint>
451452

452-
#define GGML_TABLE_BEGIN(type, name, size) static dpct::global_memory<const type, 1> name(sycl::range<1>(size), {
453-
#define GGML_TABLE_END() });
453+
#define GGML_TABLE_BEGIN(type, name, size) static const type name[size] = {
454+
#define GGML_TABLE_END() };
454455

455456
#define GGML_COMMON_IMPL
456457
#endif

0 commit comments

Comments
 (0)