Error can't find LaneCount and SupportedLaneCount in portable SIMD Rust Playground Nightly

⚓ Rust    📅 2026-02-06    👤 surdeus    👁️ 8      

surdeus

I read in the documentation that LaneCount and SupportedLaneCount can be used to retrieve the maximum lane count supported by the current CPU and use it as the total SIMD lanes. I want to use them to set the chunk size portable, but when I tried, both of them were not found

1000021030

1000021028

I've tried importing the prelude, but the result is still the same. How do I actually use those?

5 posts - 2 participants

Read full topic

🏷️ Rust_feed