casting vector types - found answer

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

casting vector types - found answer

Jochen Wilhelmy
Hi!

i found the answer: obviously float4 x = (float4)((int4)(1,2,3,4))  does
not work since
this is not allowed in opencl. for this are the convert_float4 etc.
functions.

-Jochen

_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev