char-fork/llama.cpp

git clone https://git.t4t.associates/char-fork/llama.cpp

Titaniumtownsycl: honor GGML_HINT_SRC0_IS_HADAMARD (#27298)0882c7bc8

char/aliceai-t5-moe
492 B12 linesraw
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.
10bool ggml_sycl_op_fwht(ggml_backend_sycl_context & ctx, const ggml_tensor * src, ggml_tensor * dst);
11
12#endif  // GGML_SYCL_FWHT_HPP