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

Support for vector types with more than 4 elements #339

Closed
Ardy123 opened this issue Apr 8, 2019 · 2 comments
Closed

Support for vector types with more than 4 elements #339

Ardy123 opened this issue Apr 8, 2019 · 2 comments

Comments

@Ardy123
Copy link

Ardy123 commented Apr 8, 2019

Today, opencl code that uses vector types with more than 4 elements needs to be rewritten to work around the 4 element restriction. It would be nice that even if SPIR-V doesn't support it, if code could be generate to work around that limitation... For example, a char16 is really 4 char4s (once translated to spir-v) instead of just throwing an error message..

"Vectors with more than 4 elements are not supported"

@dneto0
Copy link
Collaborator

dneto0 commented Apr 11, 2019

Yes, this is often requested.

It has been lower on our list of priorities. See #63 (comment)

However, as this project matures this request is now closer to our planning horizon. I'll keep this request open.

@rjodinchr
Copy link
Collaborator

Long vector are now supported

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

3 participants