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

[BUG] No associated item named LANES found for struct Simd #3

Open
ashayp22 opened this issue Jan 13, 2024 · 1 comment
Open

[BUG] No associated item named LANES found for struct Simd #3

ashayp22 opened this issue Jan 13, 2024 · 1 comment

Comments

@ashayp22
Copy link

Describe the bug
simd-rand isn't able to recognize Portable SIMD when accessing the constant LANES.

image

This issue pops up here:

const LEN: usize = u64x4::LANES;

const LEN: usize = u64x8::LANES;

const LEN: usize = u64x4::LANES;

const LEN: usize = u64x8::LANES;

Environment
Rust nightly 1.77, Mac M1

Additional context
A temporary fix is hardcoding the LANE number in these spots.

@martinothamar
Copy link
Owner

Hey! Seems like it was renamed to LEN, I've pushed a commit with the fix. Thanks :)

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

2 participants