From 95daece908183a0a2ce4b784daed48e393e0e5ce Mon Sep 17 00:00:00 2001 From: jianyuzh Date: Mon, 15 Jan 2024 14:18:19 +0800 Subject: [PATCH] fix build with sycl --- tests/test-sampling.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test-sampling.cpp b/tests/test-sampling.cpp index 32e58941c..e9dd6af1b 100644 --- a/tests/test-sampling.cpp +++ b/tests/test-sampling.cpp @@ -7,7 +7,11 @@ #include #include + +#ifndef GGML_USE_SYCL #include +#endif + #include #include