| Crates.io | carbon-simd |
| lib.rs | carbon-simd |
| version | 0.1.0 |
| created_at | 2025-08-21 12:01:26.551497+00 |
| updated_at | 2025-08-21 12:01:26.551497+00 |
| description | SIMD utilities written with Rust (fularuen project) |
| homepage | https://github.com/kntt32/carbon-simd |
| repository | https://github.com/kntt32/carbon-simd |
| max_upload_size | |
| id | 1804736 |
| size | 52,038 |
Generic SIMD utilities for Rust, developed under the fularuen project.
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]);
x86_64: AVX2 is requiredAdd this to your Cargo.toml:
[dependencies]
carbon-simd = "0.1.0"
MIT License