diff --git a/ggml/src/ggml-sycl/dpct/helper.hpp b/ggml/src/ggml-sycl/dpct/helper.hpp index 645f681d8..b66073f48 100644 --- a/ggml/src/ggml-sycl/dpct/helper.hpp +++ b/ggml/src/ggml-sycl/dpct/helper.hpp @@ -18,16 +18,9 @@ #include #include #include -#include -#include "ggml-sycl.h" #include "ggml.h" -#include "ggml-backend.h" -#include "ggml-backend-impl.h" -#include "ggml-alloc.h" -#include "ggml-impl.h" - #if defined(__linux__) #include #elif defined(_WIN64) diff --git a/ggml/src/ggml-sycl/ggml-sycl.cpp b/ggml/src/ggml-sycl/ggml-sycl.cpp index d89286d89..5592e119c 100644 --- a/ggml/src/ggml-sycl/ggml-sycl.cpp +++ b/ggml/src/ggml-sycl/ggml-sycl.cpp @@ -37,7 +37,6 @@ #include "ggml-backend-impl.h" #include "ggml-sycl/backend.hpp" -#include "ggml-sycl/dpct/helper.hpp" #include "ggml-sycl/presets.hpp" #include "ggml-sycl/gemm.hpp" @@ -3486,7 +3485,7 @@ static void ggml_sycl_mul_mat_batched_sycl(ggml_backend_sycl_context & ctx, (const void **)(ptrs_src.get() + 1 * ne23), dpct::library_data_t::real_half, nb11 / nb10, beta, (void **)(ptrs_dst.get() + 0 * ne23), cu_data_type, ne01, ne23, - cu_compute_type, (matrix_info_t*)matrix_info.get()))); + cu_compute_type, matrix_info.get()))); } } catch (sycl::exception const &exc) {