Skip to content

Commit 43a308f

Browse files
committed
bump python bindings to 0.1.1 with x86-64-v3 target for AVX2/FMA
1 parent fb8a7da commit 43a308f

5 files changed

Lines changed: 24 additions & 3 deletions

File tree

.cargo/config.toml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
11
[target.wasm32-unknown-unknown]
22
rustflags = ["-C", "target-feature=+simd128"]
3+
4+
# x86_64 baseline: Haswell (2013+). Enables AVX2 + FMA for auto-vectorization
5+
# on the resonator hot loop. Users on pre-Haswell CPUs should install from
6+
# sdist with their own RUSTFLAGS.
7+
[target.x86_64-unknown-linux-gnu]
8+
rustflags = ["-C", "target-cpu=x86-64-v3"]
9+
10+
[target.x86_64-unknown-linux-musl]
11+
rustflags = ["-C", "target-cpu=x86-64-v3"]
12+
13+
[target.x86_64-pc-windows-msvc]
14+
rustflags = ["-C", "target-cpu=x86-64-v3"]
15+
16+
[target.x86_64-apple-darwin]
17+
rustflags = ["-C", "target-cpu=x86-64-v3"]

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
All notable changes to this project will be documented in this file. Format based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this project adheres to [Semantic Versioning](https://semver.org/).
44

5+
## [Python 0.1.1] - 2026-04-22
6+
7+
### Changed
8+
9+
- Linux and Windows x86_64 wheels now target `x86-64-v3` (Haswell, 2013+) to enable AVX2 + FMA auto-vectorization in the resonator hot loop. On Linux, this is typically a 20-50x speedup over the `0.1.0` wheel. Users on pre-Haswell CPUs should install from sdist with custom `RUSTFLAGS`.
10+
511
## [0.1.0] - 2026-04-21
612

713
### Added

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/resonators-py/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "resonators-py"
33
description = "Python bindings for the resonators crate."
44
publish = false
5-
version.workspace = true
5+
version = "0.1.1"
66
authors.workspace = true
77
edition.workspace = true
88
license.workspace = true

crates/resonators-py/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "maturin"
44

55
[project]
66
name = "resonators"
7-
version = "0.1.0"
7+
version = "0.1.1"
88
description = "Rust implementation of the Resonate algorithm for low-latency spectral analysis."
99
readme = "README.md"
1010
requires-python = ">=3.9"

0 commit comments

Comments
 (0)