OpenCL* for CPU
Ask questions and share information on Intel® SDK for OpenCL™ Applications and OpenCL™ implementations for Intel® CPU
Announcements
This forum covers OpenCL* for CPU only. OpenCL* for GPU questions can be asked in the GPU Compute Software forum. Intel® FPGA SDK for OpenCL™ questions can be ask in the FPGA Intel® High Level Design forum.
1663 Discussions

Incomplete support for char4

Gregory_S__Chudov
337 Views
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
0 Kudos
1 Solution
Shiri_M_Intel
Employee
337 Views

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

It will be fixed in future versions.

View solution in original post

1 Reply
Shiri_M_Intel
Employee
338 Views

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

It will be fixed in future versions.

Reply