Skip to content
/ lav Public

Lane-Associated Vector (LAV): Portable SIMD vector trait as GAT of SIMD lane trait.

Notifications You must be signed in to change notification settings

qu1x/lav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lav

Lane-Associated Vector (LAV): Portable SIMD vector trait as GAT of SIMD lane trait.

Build Documentation Downloads Version Rust License

NOTE: This crate requires nightly Rust.

This example uses SIMD generically over floating-point types while hiding it from the user.

Features

Optional Features

Following features are disabled by default unless their feature gate is enabled:

  • target-features: Provides native number of SIMD vector lanes Real::NATIVE_LANE_COUNT for the current build target.
  • libm: Enables no_std without loss of functionality.

Documentation Builds

Build and open documentation of this crate and its dependencies using KaTeX.

env RUSTDOCFLAGS="--html-in-header $PWD/katex.html" cargo doc --features target-features --open

Note that navigating the documentation requires web access as KaTeX is embedded via remote CDN.

License

Copyright © 2021-2024 Rouven Spreckels rs@qu1x.dev

Licensed under the terms of the MPL-2.0.

The MPL allows the integration of MPL-licensed code into proprietary codebases, as long as the MPL-licensed components remain accessible under the terms of the MPL.

Contribution

Unless you explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Covered Software by You shall be licensed as above, without any additional terms or conditions.

About

Lane-Associated Vector (LAV): Portable SIMD vector trait as GAT of SIMD lane trait.

Resources

Stars

Watchers

Forks

Packages

No packages published