[Libclc-dev] [PATCH] Fix definition of INFINITY and add NAN/HUGE_VAL[F]
Jeroen Ketema
j.ketema at imperial.ac.uk
Sun Jun 15 15:33:31 PDT 2014
Hi Matt,
> This needs to be replaced with:
>
> :#define NAN __builtin_nanf((const __attribute__((address_space(2))) char *)("”))
This won’t work with the NVPTX target. It uses 4 as its constant address space and not 2 like r600.
Jeroen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20140615/be57006b/attachment.html>
More information about the Libclc-dev
mailing list