rust/crates/core_simd/examples
2023-05-11 12:13:00 -07:00
..
dot_product.rs Sync portable-simd to 2023 May 10 2023-05-11 12:13:00 -07:00
matrix_inversion.rs Sync portable-simd to rust-lang/portable-simd@72df4c4505 2022-03-12 16:09:37 -08:00
nbody.rs Sync portable-simd to rust-lang/portable-simd@72df4c4505 2022-03-12 16:09:37 -08:00
README.md Sync portable-simd to 2023 May 10 2023-05-11 12:13:00 -07:00
spectral_norm.rs Remove unnecessary &format! 2023-01-21 22:06:42 -05: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.