Remove unnecessary headers and cast
Signed-off-by: nscipione <nicolo.scipione@codeplay.com>
This commit is contained in:
parent
0afea98ef0
commit
ee11dea6d6
2 changed files with 1 additions and 9 deletions
|
@ -18,16 +18,9 @@
|
||||||
#include <syclcompat/math.hpp>
|
#include <syclcompat/math.hpp>
|
||||||
#include <oneapi/mkl.hpp>
|
#include <oneapi/mkl.hpp>
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <cassert>
|
|
||||||
|
|
||||||
#include "ggml-sycl.h"
|
|
||||||
#include "ggml.h"
|
#include "ggml.h"
|
||||||
|
|
||||||
#include "ggml-backend.h"
|
|
||||||
#include "ggml-backend-impl.h"
|
|
||||||
#include "ggml-alloc.h"
|
|
||||||
#include "ggml-impl.h"
|
|
||||||
|
|
||||||
#if defined(__linux__)
|
#if defined(__linux__)
|
||||||
#include <sys/mman.h>
|
#include <sys/mman.h>
|
||||||
#elif defined(_WIN64)
|
#elif defined(_WIN64)
|
||||||
|
|
|
@ -37,7 +37,6 @@
|
||||||
#include "ggml-backend-impl.h"
|
#include "ggml-backend-impl.h"
|
||||||
|
|
||||||
#include "ggml-sycl/backend.hpp"
|
#include "ggml-sycl/backend.hpp"
|
||||||
#include "ggml-sycl/dpct/helper.hpp"
|
|
||||||
#include "ggml-sycl/presets.hpp"
|
#include "ggml-sycl/presets.hpp"
|
||||||
#include "ggml-sycl/gemm.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),
|
(const void **)(ptrs_src.get() + 1 * ne23),
|
||||||
dpct::library_data_t::real_half, nb11 / nb10, beta,
|
dpct::library_data_t::real_half, nb11 / nb10, beta,
|
||||||
(void **)(ptrs_dst.get() + 0 * ne23), cu_data_type, ne01, ne23,
|
(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) {
|
catch (sycl::exception const &exc) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue