[Trilinos-Users] CUDA compilation

Dmitry N. Mikushin maemarcus at gmail.com
Sun Aug 13 06:17:59 EDT 2017

Do you have -std=c++11 among used NVIDIA compiler options?

2017-08-13 1:48 GMT+03:00 Bart Janssens <bart at bartjanssens.org>:

> Hi,
> I'm following https://trilinos.org/about/documentation/building-with-
> cuda-support/ to build Trilinos with CUDA. Compilation of Trilinos itself
> seems to succeed, but I'm wondering: do I have to compile my own code also
> using the nvcc_wrapper? I get lots of errors like "__device__ does not name
> a type" if I don't, but if I do compile with the wrapper it seems to have
> difficulties with some of my C++11 template code.
> Kind regards,
> Bart
> _______________________________________________
> Trilinos-Users mailing list
> Trilinos-Users at trilinos.org
> https://trilinos.org/mailman/listinfo/trilinos-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20170813/7d435f4f/attachment.html>

More information about the Trilinos-Users mailing list