carbon-simd 0.1.0

SIMD utilities written with Rust (fularuen project)
Documentation
  • Coverage
  • 100%
    35 out of 35 items documented1 out of 33 items with examples
  • Size
  • Source code size: 52.03 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 6.18 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 19s Average build duration of successful builds.
  • all releases: 19s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • kntt32/carbon-simd
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kntt32

carbon-simd

Generic SIMD utilities for Rust, developed under the fularuen project.

Example

use simd::*;

let mut left = [1, 2, 3, 4, 5, 6, 7, 8];
let right = [7, 6, 5, 4, 3, 2, 1, 0];
 
let mut left_simd = SimdMut::new(&mut left);
let right_simd = SimdRef::new(&right);

left_simd += &right_simd;

assert_eq!(left, [8, 8, 8, 8, 8, 8, 8, 8]);

Architectures

  • x86_64: AVX2 is required

Installation

Add this to your Cargo.toml:

[dependencies]
carbon-simd = "0.1.0"

License

MIT License