Skip to content

Commit 6b6542b

Browse files
committed
Merge branch 'main-dev' of https://github.com/ashvardanian/SimSIMD into main-dev
2 parents 29c0f46 + 73e6ccb commit 6b6542b

File tree

11 files changed

+27
-41
lines changed

11 files changed

+27
-41
lines changed

.github/workflows/prerelease.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -170,16 +170,8 @@ jobs:
170170
with:
171171
deno-version: vx.x.x
172172

173-
# --allow-env : `node-gyp-build` pokes at `process.env`
174-
# --allow-ffi : Deno needs this to `dlopen` the `.node` addon
175-
# --unstable : Node-API/FFI loader still gated under this flag
176173
- name: Test with Deno
177-
run: >
178-
deno test
179-
--allow-read
180-
--allow-env=PREBUILDS_ONLY,npm_config_runtime,npm_config_target
181-
--allow-ffi
182-
--unstable
174+
run: deno test -A
183175

184176
test_rust:
185177
name: Test Rust

.github/workflows/release.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
- name: Upload wheels
9696
uses: actions/upload-artifact@v4
9797
with:
98-
name: cibw-wheels-linux-x86
98+
name: cibw-wheels-linux-x86-cp${{ matrix.python-version }}
9999
path: wheelhouse/*.whl
100100
overwrite: true
101101

@@ -138,7 +138,7 @@ jobs:
138138
- name: Upload wheels
139139
uses: actions/upload-artifact@v4
140140
with:
141-
name: cibw-wheels-linux-arm
141+
name: cibw-wheels-linux-arm-cp${{ matrix.python-version }}
142142
path: wheelhouse/*.whl
143143
overwrite: true
144144

@@ -168,7 +168,7 @@ jobs:
168168
- name: Upload wheels
169169
uses: actions/upload-artifact@v4
170170
with:
171-
name: cibw-wheels-macos-x86
171+
name: cibw-wheels-macos-x86-cp${{ matrix.python-version }}
172172
path: wheelhouse/*.whl
173173
overwrite: true
174174

@@ -199,7 +199,7 @@ jobs:
199199
- name: Upload wheels
200200
uses: actions/upload-artifact@v4
201201
with:
202-
name: cibw-wheels-macos-arm
202+
name: cibw-wheels-macos-arm-cp${{ matrix.python-version }}
203203
path: wheelhouse/*.whl
204204
overwrite: true
205205

@@ -244,7 +244,7 @@ jobs:
244244
- name: Upload wheels
245245
uses: actions/upload-artifact@v4
246246
with:
247-
name: cibw-wheels-windows-${{ matrix.architecture }}
247+
name: cibw-wheels-windows-${{ matrix.architecture }}-cp${{ matrix.python-version }}
248248
path: wheelhouse/*.whl
249249
overwrite: true
250250

@@ -277,7 +277,7 @@ jobs:
277277
- name: Upload wheels
278278
uses: actions/upload-artifact@v4
279279
with:
280-
name: cibw-wheels-other
280+
name: cibw-wheels-other-cp${{ matrix.python-version }}
281281
path: wheelhouse/*.whl
282282
overwrite: true
283283

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
cmake_minimum_required(VERSION 3.14 FATAL_ERROR)
33
project(
44
simsimd
5-
VERSION 6.4.5
5+
VERSION 6.4.7
66
LANGUAGES C CXX
77
DESCRIPTION "Portable mixed-precision BLAS-like vector math library for x86 and ARM"
88
HOMEPAGE_URL "https://github.com/ashvardanian/simsimd"

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ irm https://deno.land/install.ps1 | iex # Windows
243243
Testing:
244244
245245
```sh
246-
deno test --allow-read
246+
deno test -A
247247
```
248248
249249
### Bun

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.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "simsimd"
33
description = "Portable mixed-precision BLAS-like vector math library for x86 and ARM"
4-
version = "6.4.5"
4+
version = "6.4.7"
55
edition = "2021"
66
license = "Apache-2.0"
77
authors = ["Ash Vardanian <[email protected]>"]

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -829,12 +829,13 @@ int main() {
829829

830830
simsimd_f32_t vector_a[1536];
831831
simsimd_f32_t vector_b[1536];
832-
simsimd_kernel_punned_t distance_function = simsimd_metric_punned(
832+
simsimd_kernel_punned_t metric_punned = simsimd_metric_punned(
833833
simsimd_metric_cos_k, // Metric kind, like the angular cosine distance
834834
simsimd_datatype_f32_k, // Data type, like: f16, f32, f64, i8, b8, and complex variants
835835
simsimd_cap_any_k); // Which CPU capabilities are we allowed to use
836836
simsimd_distance_t distance;
837-
distance_function(vector_a, vector_b, 1536, &distance);
837+
simsimd_metric_dense_punned_t metric = (simsimd_metric_dense_punned_t)metric_punned;
838+
metric(vector_a, vector_b, 1536, &distance);
838839
return 0;
839840
}
840841
```

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.4.5
1+
6.4.7

include/simsimd/simsimd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090

9191
#define SIMSIMD_VERSION_MAJOR 6
9292
#define SIMSIMD_VERSION_MINOR 4
93-
#define SIMSIMD_VERSION_PATCH 5
93+
#define SIMSIMD_VERSION_PATCH 7
9494

9595
/**
9696
* @brief Removes compile-time dispatching, and replaces it with runtime dispatching.

package-lock.json

Lines changed: 10 additions & 17 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)