[Libclc-dev] Issue with sincos helpers

Erik Schnetter schnetter at gmail.com
Sat Jul 26 07:00:07 PDT 2014


The usual way to handle this is to use a prefix for internal names that lives in a reserved name space. For example, using "__libclc_" as prefix would make sense.

-erik

On Jul 25, 2014, at 18:52 , Jeroen Ketema <j.ketema at imperial.ac.uk> wrote:

> Hi all,
> 
> I noticed a rather significant issue with the sincos helpers: If I declare functions with similar names in a kernel, then linking occurs against those kernel declared functions and not against the libclc defined ones.
> 
> Best,
> 
> Jeroen
> 
> 
> _______________________________________________
> Libclc-dev mailing list
> Libclc-dev at pcc.me.uk
> http://www.pcc.me.uk/cgi-bin/mailman/listinfo/libclc-dev

-- 
Erik Schnetter <schnetter at gmail.com>
http://www.perimeterinstitute.ca/personal/eschnetter/

My email is as private as my paper mail. I therefore support encrypting
and signing email messages. Get my PGP key from http://pgp.mit.edu/.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/libclc-dev/attachments/20140726/95afc1f7/attachment.sig>


More information about the Libclc-dev mailing list