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

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

+6
source share
1 answer

They can be used with vector types, for example. float3 .

+5
source

Source: https://habr.com/ru/post/894868/


All Articles