Not sure if it is proper forum to ask questions. If not, please ignore it.
For the AMD OpenCL code, we know vector operates more efficently. And during my calculation, I have a int array, e.g. int value, I want to do add operations to continuous 4 array elements. like value += 2; value+=3 ...
when I wrote code like the following:
int4 *tmp = &value;
*tmp += (int4)(2,3,4,5);
the final results shows it does not work. Does AMD opencl support such scale ->vector cast and operations?