-
Notifications
You must be signed in to change notification settings - Fork 51
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
Support for Rayon integration #33
Comments
You can do something like |
I tried your suggestion and getting an error.
Error:
|
The Rayon syntax you’re looking for is |
How would that translate if I wanted to filter elements instead of map? |
AFAIK Faster doesn’t currently provide a way to accelerate filter, with or without Rayon—so you’d just use the normal Rayon filter. (If in the future some kind of filter is added to Faster, the same construction would work: you’d use Rayon’s |
That's correct, and it's unlikely that it will without AVX-512; SSE and AVX don't really have the underlying instructions required to yield an appreciable performance improvement, save for specific cases which wouldn't work well in a general library. |
Rayon supports parallel iterators/mapv function to process using multiple threads. How can we integrate with rayon so we can leverage both simd and thread parallel processing?
The text was updated successfully, but these errors were encountered: