This commit is contained in:
Izel Nakri | izelnakri.eth 2026-04-23 15:16:57 +02:00 committed by GitHub
commit 8fdff3822e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 13 additions and 0 deletions

View File

@ -13,6 +13,19 @@
#ifndef GGML_SYCL_COMMON_HPP
#define GGML_SYCL_COMMON_HPP
// ─── Fix: Undefine math macros before SYCL includes ───────────────────
#undef isnan
#undef isinf
#undef isfinite
#undef signbit
#undef isgreater
#undef isgreaterequal
#undef isless
#undef islessequal
#undef islessgreater
#undef isunordered
// ──────────────────────────────────────────────────────────────────────
#include <cstddef>
#include <fstream>
#include <iostream>