Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Benchmark for vek is broken on latest nightly #36

Open
utensil opened this issue Oct 29, 2024 · 0 comments
Open

Benchmark for vek is broken on latest nightly #36

utensil opened this issue Oct 29, 2024 · 0 comments

Comments

@utensil
Copy link

utensil commented Oct 29, 2024

After bypassing #35, cargo bench --features scalar scalar results in the following compile errors:

error[E0076]: SIMD vector's only field must be an array
    --> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/vek-0.15.10/src/vec.rs:3209:13
     |
3209 |             pub struct Vec2<T> { pub x:T, pub y:T }
     |             ^^^^^^^^^^^^^^^^^^   ------- not an array
...
3709 |     vec_impl_all_vecs!{simd #[repr(simd)] c #[repr(C)] repr_simd}
     |     ------------------------------------------------------------- in this macro invocation
     |
     = note: this error originates in the macro `vec_impl_all_vecs` (in Nightly builds, run with -Z macro-backtrace for more info)

This is reported as yoanlcq/vek#96 , there are discussions about fixing this, and a workaround is also provided in the issue, namely:

[dependencies.vek]
version = "0.15.10"
default-features = false
features = ["mint"]
optional = true

i.e. disable default features. The above compiles, but I guess this would have performance impact.

@bitshifter bitshifter changed the title Benchmark for vek is broken Benchmark for vek is broken with latest nightly Oct 29, 2024
@bitshifter bitshifter changed the title Benchmark for vek is broken with latest nightly Benchmark for vek is broken on latest nightly Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant