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

Request single lane compile target for mixed SD/MD use. #1254

Open
mauricevanswaaij opened this issue Jan 25, 2017 · 1 comment
Open

Request single lane compile target for mixed SD/MD use. #1254

mauricevanswaaij opened this issue Jan 25, 2017 · 1 comment

Comments

@mauricevanswaaij
Copy link

It shouldn't surprise anyone that ISPC generated code in general won't compete with Clang if we compare it by calling the ISPC compiled SPMD with just 1 active lane. ISPC is not made for that purpose, it's made to compute a bunch (8, 16, ..) of values at once.

However if we like to use a single source for mixed SPSD/SPMD programming, then it would be nice if ISPC could provide a 'single lane' compile target.

In our case we need to support legacy code that can't easily be transformed into MD operation but we would rather not duplicate code and have separate SD and MD code bases for new code going forward.

Thanks for your consideration

@ispc
Copy link
Collaborator

ispc commented Jan 25, 2017 via email

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

No branches or pull requests

1 participant