mirror of
https://github.com/huggingface/candle.git
synced 2025-06-18 19:47:12 +00:00
AVX optimized q8k vecdot. (#1024)
This commit is contained in:
@ -1758,6 +1758,9 @@ impl GgmlType for BlockQ8K {
|
||||
|
||||
#[allow(unreachable_code)]
|
||||
fn vec_dot(n: usize, xs: &[Self], ys: &[Self::VecDotType]) -> Result<f32> {
|
||||
#[cfg(target_feature = "avx")]
|
||||
return super::avx::vec_dot_q8k_q8k(n, xs, ys);
|
||||
|
||||
#[cfg(target_feature = "neon")]
|
||||
return super::neon::vec_dot_q8k_q8k(n, xs, ys);
|
||||
|
||||
|
Reference in New Issue
Block a user