Closed Osveron closed 6 years ago
Hi there, Sorry for the lack of docs - I usually add them immediately before releases.
simd_for_each
doesn't do anything by design at the moment, as I'm still implementing mutable/in-place iterators. I should have this finished by 0.5.0. You can get around this by either using simd_map
, or manually storing in the closure for now.
Resolved in 595789262d653077529a6b7424adc35bfe18c871
I have tried to do something using faster and noticed that you added
simd_for_each
, but it doesn't seems to do anything. Simple case:Outputs:
I have looked at the implementation of this function and it takes a owned simd vector and performs user provided function on it and then does nothing with the result. There should be
store
somewhere in there and the user provided function should take mutable reference to the simd vector. Or maybe I'm doing something wrong since there aren't any examples yet.