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 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Best Reply

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

It will be fixed in future versions.

Accedere per lasciare un commento.