arnaucube
arnaucube/poulpyPublic Self-hosted repository
poulpy/poulpy-cpu-ref/README.md
poulpy-cpu-ref/README.mdRaw
 1# 🐙 Poulpy-CPU-AVX
 2
 3**Poulpy-Backend-CPU-AVX** is a Rust crate that provides the reference CPU implementation of **`poulpy-hal`**. This crate is used to instantiate projects implemented with **`poulpy-hal`**, **`poulpy-core`** and/or **`poulpy-schemes`**.
 4
 5## Example
 6
 7```rust
 8use poulpy_backend_cpu_ref::FFT64Ref;
 9use poulpy_hal::{api::ModuleNew, layouts::Module};
10
11let log_n: usize = 10;
12let module = Module<FFT64Ref> = Module<FFT64Ref>::new(1<<log_n);
13```
14
15## Contributors
16
17To add your own backend, implement the open extension traits from **`poulpy-hal/oep`** for a struct that implements the `Backend` trait.  
18This will automatically make your backend compatible with the API of **`poulpy-hal`**, **`poulpy-core`** and **`poulpy-schemes`**.