Test the broadcasting binary ops. (#196)

This commit is contained in:
Laurent Mazare
2023-07-19 07:18:36 +02:00
committed by GitHub
parent fd55fc9592
commit 76dcc7a381
2 changed files with 104 additions and 1 deletions

View File

@ -305,6 +305,7 @@ fn binary_map<T: Copy, F: FnMut(T, T) -> T>(
}
}
// Similar to binary_map but with vectorized variants.
fn binary_map_vec<T: Copy, F: FnMut(T, T) -> T, FV: FnMut(&[T], &[T], &mut [T])>(
lhs_l: &Layout,
rhs_l: &Layout,