I have another question about usage of vector data types in OpenCL host code.
It throws an error if I try to do the following in OpenCl host code.
a.x = 1; – >throws an error : unknown access of â€˜ .xâ€™
a.y = 1;
a.z = 0;
a.w = 0;
But it works in the kernel code.
Your comments will be helpful