[cfe-users] compiling OpenCL with Clang
Tyler Kenney
tjkenney at us.ibm.com
Tue Oct 28 13:32:41 PDT 2014
Hey all,
I'm doing some research into Clang's openCL capabilities and have a few
questions.
I'm trying to understand how the -cl-*** command line options defined by
the openCL spec are handled by clang. After tinkering with the command-line
and lots of googling, it looks like the -cl-* flags are only supported if
-cc1 is passed first? Is this correct?
Which brings me to my next question, what specifically does the -cc1 flag
do? I can't find documentation on it. And why are link-time flags after it
treated as an error?
Lastly, all of the flags defined in OCL 1.2 seem to be supported (and by
that I mean, don't throw an error when they're preceded by -cc1, I haven't
actually tested any of the functionality) with the exception of:
-cl-no-signed-zeros
Does anyone know the cause for this?
Thanks,
Tyler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-users/attachments/20141028/03dd7e1d/attachment.html>
More information about the cfe-users
mailing list