rten-vecmath

Crates.iorten-vecmath
lib.rsrten-vecmath
version0.14.0
sourcesrc
created_at2023-12-31 20:31:33.275054
updated_at2024-10-27 17:51:07.42691
descriptionSIMD vectorized implementations of various math functions used in ML models
homepagehttps://github.com/robertknight/rten
repositoryhttps://github.com/robertknight/rten
max_upload_size
id1084991
size39,764
Robert Knight (robertknight)

documentation

README

rten-vecmath

This crate provides portable SIMD types that abstract over SIMD intrinsics on different architectures. Unlike std::simd this works on stable Rust. There is also functionality to detect the available instructions at runtime and dispatch to the optimal implementation.

This crate also contains SIMD-vectorized versions of math functions such as exp, erf, tanh, softmax etc. that are performance-critical in machine-learning models.

Commit count: 2326

cargo fmt