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

Par framework should support hints in the indexSet parameter #13

Open
lars-t-hansen opened this issue Jan 21, 2015 · 1 comment
Open

Comments

@lars-t-hansen
Copy link
Owner

(1) The original conception of Multicore.build would operate on individual index range elements unless an index was SPLIT. In the conception of Par, the index is always split. Is this reasonable, or should we incorporate the non-tiled API as well?

Since the initial Par API always tiles the index dimensions (SPLIT is the default), a non-tiled invocation might be requested with eg MasterPar.POINTWISE.

(2) The original conception of Multicore.build allowed the index space to contain hints to aid load balancing. It would be useful to import that idea, probably, or at least experiment with it to see if it really affects performance.

@lars-t-hansen
Copy link
Owner Author

One interesting notion of a hint is that if the kernel is using SIMD, it will be useful to specify boundaries for the index space in the sense that we would like boundaries to be divisible by 4 (say). If the index space is itself 4-aligned and the kernel code knows this then only a pure SIMD kernel is required. Otherwise, the kernel would have to handle non-aligned subspaces but we would only generate those at the edges.

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

No branches or pull requests

1 participant