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

execute fibers row by row #34

Closed
BenjaminW3 opened this issue Feb 16, 2015 · 1 comment · Fixed by #1718
Closed

execute fibers row by row #34

BenjaminW3 opened this issue Feb 16, 2015 · 1 comment · Fixed by #1718

Comments

@BenjaminW3
Copy link
Member

By executing the fibers randomly we prevent memory prefetching.
Iterating X 1st, Y 2nd, Z 3rd (native C memory order) we would assist the prefetcher by using the expected default access pattern.
This could be extended to support arbitrary thread (and block) execution schemes.

@ax3l
Copy link
Member

ax3l commented Feb 16, 2015

👍
also, alternative schemes such as increase x then y then z and then again x would be interesting in some cases (e.g. stencil operations in 3D).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants