[cfe-dev] OpenCL : invalid operands to binary expression
Xiuxia
zhangxiuxia1 at gmail.com
Fri Apr 18 16:43:11 PDT 2014
Hi Everybody,
I have a problem when parsing opencl kernel source file.
I have vector type varaibles, such as float3.
float3 x ;
float3 y;
float3 z;
//some inital work
z = x + y;
here compiler will complain : error: invalid operands to binary expression
Does anybody know how to solve this problem ?
--
View this message in context: http://clang-developers.42468.n3.nabble.com/OpenCL-invalid-operands-to-binary-expression-tp4038893.html
Sent from the Clang Developers mailing list archive at Nabble.com.
More information about the cfe-dev
mailing list