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

Consider replacing Vc as SIMD library #520

Closed
bernhardmgruber opened this issue Jun 3, 2022 · 5 comments · Fixed by #557
Closed

Consider replacing Vc as SIMD library #520

bernhardmgruber opened this issue Jun 3, 2022 · 5 comments · Fixed by #557

Comments

@bernhardmgruber
Copy link
Member

Development of Vc has stopped for a while, since the effort has moved to std::simd. The dependency is also heavy on the CI. We should consider replacing it by either a different SIMD library or just std::experimental::simd directly.

@bussmann
Copy link

bussmann commented Jun 4, 2022

std::

@bernhardmgruber
Copy link
Member Author

The problem with std::experimental::simd is that it is still experimental and not widely supported. AFAIK only libstdc++ has an implementation yet. This would lock us into Linux only for the concerning examples. While Windows is not an important run target, it is still great to debug there. And Apple has interesting hardware recently, so it would be a shame if we could not run on e.g. an M1.

@bernhardmgruber
Copy link
Member Author

I tried xsimd quickly and it lacks an API to write a single element of a SIMD vector.

@bernhardmgruber
Copy link
Member Author

I tried xsimd quickly and it lacks an API to write a single element of a SIMD vector.

That is solved now.

@bernhardmgruber
Copy link
Member Author

Vc now blocks the usage of nvc++ as compiler.

bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Aug 19, 2022
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Aug 19, 2022
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Aug 19, 2022
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Aug 19, 2022
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Aug 19, 2022
bernhardmgruber added a commit to bernhardmgruber/llama that referenced this issue Aug 19, 2022
bernhardmgruber added a commit that referenced this issue Aug 22, 2022
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

Successfully merging a pull request may close this issue.

2 participants