clspv icon indicating copy to clipboard operation
clspv copied to clipboard

Support for vector types with more than 4 elements

Open Ardy123 opened this issue 5 years ago • 1 comments

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"

Ardy123 avatar Apr 08 '19 21:04 Ardy123

Yes, this is often requested.

It has been lower on our list of priorities. See https://github.com/google/clspv/issues/63#issuecomment-333213802

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

dneto0 avatar Apr 11 '19 21:04 dneto0

Long vector are now supported

rjodinchr avatar Mar 29 '23 09:03 rjodinchr