[cfe-dev] OpenCL 'select' as a builtin?

Martin J. O'Riordan via cfe-dev cfe-dev at lists.llvm.org
Fri Jun 10 22:04:47 PDT 2016


Is there a builtin for CLang that implements the same semantics as OpenCL's
"select" function, but which can be used from C and C++?

 

I tried the obvious name '__builtin_select' but that doesn't exist, and a
trawl through the online docs didn't reveal anything either.

 

Thanks,

 

            MartinO

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20160611/fea651f2/attachment.html>


More information about the cfe-dev mailing list