mirror of
https://github.com/arnaucube/poulpy.git
synced 2026-02-10 05:06:44 +01:00
* update poulpy_arch.svg * update main readme * update lib_diagram.png & main readme * update poulpy-core readme * update backend readmes * update poulpy-hal readme * update poulpy-schemes readme * update CHANGELOG.md
18 lines
754 B
Markdown
18 lines
754 B
Markdown
# 🐙 Poulpy-CPU-REF
|
|
|
|
**Poulpy-Backend-CPU-AVX** is a Rust crate that provides an AVX accelerated CPU implementation of **`poulpy-hal`**. This crate is used to instantiate projects implemented with **`poulpy-hal`**, **`poulpy-core`** and/or **`poulpy-schemes`**.
|
|
|
|
## Example
|
|
|
|
```rust
|
|
use poulpy_backend_cpu_avx::FFT64Avx;
|
|
use poulpy_hal::{api::ModuleNew, layouts::Module};
|
|
|
|
let log_n: usize = 10;
|
|
let module = Module<FFT64Avx> = Module<FFT64Avx>::new(1<<log_n);
|
|
```
|
|
|
|
## Contributors
|
|
|
|
To add your own backend, implement the open extension traits from **`poulpy-hal/oep`** for a struct that implements the `Backend` trait.
|
|
This will automatically make your backend compatible with the API of **`poulpy-hal`**, **`poulpy-core`** and **`poulpy-schemes`**. |