Incomplete support for char4

Incomplete support for char4

I had a code which converts big endian integer to little endian like this:

b = as_int(as_char4(b).wzyx);

It works ok on NVIDIA and AMD's OpenCL, but fails with Intel OpenCL with the following error message:

error: member reference base type '__vector char' is not a structure or union

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Best Reply

Thanks for reporting this issue. We identified the root cause of this topic.

It will be fixed in future versions.

Leave a Comment

Please sign in to add a comment. Not a member? Join today