ggml
[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)
Brought by drakestapleton
ggml / src / ggml-sycl / mmq.hpp
| 1 | // |
| 2 | // MIT license |
| 3 | // Copyright (C) 2024 Intel Corporation |
| 4 | // SPDX-License-Identifier: MIT |
| 5 | // |
| 6 | |
| 7 | // |
| 8 | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. |
| 9 | // See https://llvm.org/LICENSE.txt for license information. |
| 10 | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 11 | // |
| 12 | |
| 13 | #ifndef GGML_SYCL_MMQ_HPP |
| 14 | #define GGML_SYCL_MMQ_HPP |
| 15 | |
| 16 | #include "common.hpp" |
| 17 | |
| 18 | void ggml_sycl_op_mul_mat_q( |
| 19 | ggml_backend_sycl_context & ctx, |
| 20 | const ggml_tensor* src0, |
| 21 | const ggml_tensor* src1, |
| 22 | ggml_tensor* dst, |
| 23 | const char* src0_dd_i, |
| 24 | const float* src1_ddf_i, |
| 25 | const char* src1_ddq_i, |
| 26 | float* dst_dd_i, |
| 27 | const int64_t row_low, |
| 28 | const int64_t row_high, |
| 29 | const int64_t src1_ncols, |
| 30 | const int64_t src1_padded_row_size, |
| 31 | const dpct::queue_ptr& stream); |
| 32 | |
| 33 | #endif // GGML_SYCL_MMQ_HPP |