clspv
clspv copied to clipboard
Support for vector types with more than 4 elements
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"
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.
Long vector are now supported