Simd128 version of q6k vec-dot. (#1015)

* Add a specific function for the simd128 q6k vec-dot.

* Simdification.

* More simdification.
This commit is contained in:
Laurent Mazare
2023-10-01 19:44:12 +01:00
committed by GitHub
parent 41143db1af
commit 5130a7da32
2 changed files with 127 additions and 1 deletions

View File

@ -1539,6 +1539,9 @@ impl GgmlType for BlockQ6K {
#[cfg(target_feature = "neon")]
return super::neon::vec_dot_q6k_q8k(n, xs, ys);
#[cfg(target_feature = "simd128")]
return super::simd128::vec_dot_q6k_q8k(n, xs, ys);
if n % QK_K != 0 {
crate::bail!("vec_dot_q6k_q8k: {n} is not divisible by {QK_K}")
}