ggml
[Ported from github.com/ggml-org/ggml] docs : sync ggml_type enum in gguf.md (#1685)
Brought by drakestapleton
ggml / src / ggml-sycl / fwht.hpp
| 1 | #ifndef GGML_SYCL_FWHT_HPP |
| 2 | #define GGML_SYCL_FWHT_HPP |
| 3 | |
| 4 | #include "common.hpp" |
| 5 | |
| 6 | // Fast Walsh-Hadamard transform, the fast path for a MUL_MAT whose src0 ggml has |
| 7 | // tagged GGML_HINT_SRC0_IS_HADAMARD. src0 is not read at all. Returns false if the |
| 8 | // shape is not one this can serve, in which case the caller must fall through to the |
| 9 | // ordinary mat-mul dispatch. |
| 10 | bool ggml_sycl_op_fwht(ggml_backend_sycl_context & ctx, const ggml_tensor * src, ggml_tensor * dst); |
| 11 | |
| 12 | #endif // GGML_SYCL_FWHT_HPP |