Heidarshenas, Azin via llvm-dev
2016-Apr-08 07:19 UTC
[llvm-dev] LIBCLC with LLVM 3.9 Trunk
Hello there, Has anyone here used the recent LIBCLC (current git version) with the recent git version LLVM (3.9)? It seems to me that the libraries are not compiled properly and so the generated GPU kernel code does not have the implementation of OpenCl API. Thanks, Azin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160408/31bf19af/attachment.html>
I built it yesterday. it works. actually, you can only build libclc using llvm 3.9. yes, the interface of writeBitcodeToFile changed. make sure you delete old '*.o' files before. "so the generated GPU kernel code does not have the implementation of OpenCl API." ~~what's that mean? On Fri, Apr 8, 2016 at 3:19 PM, Heidarshenas, Azin via llvm-dev < llvm-dev at lists.llvm.org> wrote:> Hello there, > > Has anyone here used the recent LIBCLC (current git version) with the > recent git version LLVM (3.9)? > It seems to me that the libraries are not compiled properly and so the > generated GPU kernel code does not have the implementation of OpenCl API. > > Thanks, > Azin > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160408/cbc0349f/attachment.html>
It's not clear what is actually wrong from your original message, I think you need to give some more information as to what you are doing: Example source, what target GPU, compiler error messages or other evidence of "it's wrong" (llvm IR, disassembly, etc) ... -- Mats On 8 April 2016 at 09:55, Liu Xin via llvm-dev <llvm-dev at lists.llvm.org> wrote:> I built it yesterday. it works. actually, you can only build libclc using > llvm 3.9. > > yes, the interface of writeBitcodeToFile changed. make sure you delete old > '*.o' files before. > > "so the generated GPU kernel code does not have the implementation of > OpenCl API." > ~~what's that mean? > > > On Fri, Apr 8, 2016 at 3:19 PM, Heidarshenas, Azin via llvm-dev < > llvm-dev at lists.llvm.org> wrote: > >> Hello there, >> >> Has anyone here used the recent LIBCLC (current git version) with the >> recent git version LLVM (3.9)? >> It seems to me that the libraries are not compiled properly and so the >> generated GPU kernel code does not have the implementation of OpenCl API. >> >> Thanks, >> Azin >> >> _______________________________________________ >> LLVM Developers mailing list >> llvm-dev at lists.llvm.org >> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >> >> > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160408/3d996516/attachment.html>