Remove unnecessary headers and cast

Signed-off-by: nscipione <nicolo.scipione@codeplay.com>
This commit is contained in:
nscipione 2025-01-15 10:05:48 +01:00
parent 0afea98ef0
commit ee11dea6d6
2 changed files with 1 additions and 9 deletions

View file

@ -18,16 +18,9 @@
#include <syclcompat/math.hpp>
#include <oneapi/mkl.hpp>
#include <map>
#include <cassert>
#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 <sys/mman.h>
#elif defined(_WIN64)

View file

@ -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<float>*)matrix_info.get())));
cu_compute_type, matrix_info.get())));
}
}
catch (sycl::exception const &exc) {