You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we can now easily switch the wide type, put in generics, or change wide amount to experiment for performance. today simba::simd::WideF32x4::lanes() is trait fn, and cannot be const.
if yes, i will attempt to make PR, thank you
The text was updated successfully, but these errors were encountered:
For what it's worth, I've tried this approach in my own non-simba code, and it does not work very well. This is because rust does not support being generic over associated constants very well.
is possible we can have associated const LANES for wide types? Or for example in SimdValue:
This will be very useful in generic context and working with arrays.
For example:
if we have:
we can now easily switch the wide type, put in generics, or change wide amount to experiment for performance. today
simba::simd::WideF32x4::lanes()
is trait fn, and cannot be const.if yes, i will attempt to make PR, thank you
The text was updated successfully, but these errors were encountered: