rust/crates/core_simd/examples/README.md
2022-12-03 16:12:00 -08:00

495 B

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 the benchmarks via the command

cargo run --example --benchmark ???

and measure the timings on your local system.