Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the point of the built-in functions isequal, isnotequal, isgreater, etc.?

Tags:

opencl

In OpenCL, what is the point of the built-in functions isequal, isnotequal, isgreater, etc.? Why not ==, !=, >, etc.? Are the semantics different? Do the operators have limitations that the functions do not? The spec is not clear about this...

like image 787
vocaro Avatar asked Aug 11 '11 18:08

vocaro


1 Answers

They can be used with vector types, e.g. float3.

like image 58
Alexander Kojevnikov Avatar answered Nov 13 '22 02:11

Alexander Kojevnikov