rust/crates/core_simd/examples
2023-10-20 20:03:35 -04:00
..
dot_product.rs Add num, ptr, and cmp modules 2023-10-20 20:03:35 -04:00
matrix_inversion.rs Add num, ptr, and cmp modules 2023-10-20 20:03:35 -04:00
nbody.rs Add num, ptr, and cmp modules 2023-10-20 20:03:35 -04:00
README.md Sync portable-simd to 2023 May 10 2023-05-11 12:13:00 -07:00
spectral_norm.rs Add num, ptr, and cmp modules 2023-10-20 20:03:35 -04:00

stdsimd examples

This crate is a port of example uses of stdsimd, mostly taken from the packed_simd crate.

The examples contain, as in the case of dot_product.rs, multiple ways of solving the problem, in order to show idiomatic uses of SIMD and iteration of performance designs.

Run the tests with the command

cargo run --example dot_product

and verify the code for dot_product.rs on your machine.