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

sycl: use complex extension #217

Open
bd4 opened this issue Nov 4, 2022 · 0 comments
Open

sycl: use complex extension #217

bd4 opened this issue Nov 4, 2022 · 0 comments
Assignees

Comments

@bd4
Copy link
Contributor

bd4 commented Nov 4, 2022

The fact that std::complex works at all in device code is specific to Intel's SYCL implementaiton, and not part of standard SYCL. Standardizing it is in process, with a header only implementation available here: https://github.com/argonne-lcf/SyclCPLX

To aid in the standardization process and make sure this will work for our needs, we should explore using this instead of std::complex for the SYCL backend. Eventually it should be possible to use this with Intel without the extra header, i.e. this will be included in the open source llvm fork and in the official oneAPI releases eventually.

@bd4 bd4 self-assigned this Nov 4, 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

No branches or pull requests

1 participant