From what I can tell from Troy's slides on Kamasu, he has separated boost::proto from what has to be compiled for the GPU (I may be wrong about this). So code that needs boost::proto compiles separately with regular g++, and code that needs to run on GPU compiles with nvcc and both get linked finally. Maybe the real Troy should speak up..
Manjunath
On Mon, Feb 8, 2010 at 1:47 PM, Eric Jourdanneau
Manjunath Kudlur wrote:
Hi Eric,
I am assuming that you are referring to NVIDIA's CUDA compiler, when you say nvcc. I don't know if nvcc has complete C++ compliance/support for CUDA programs. You are better off posting this question to one of NVIDIA's forums http://forums.nvidia.com/index.php.
Yes, indeed. Since You offer me the chance to make a small change in my first post, I would like to tell that the error is on line 314 for the 1.38 version of boost, and on line 422 for the 1.42 one. Well, there are some slides from Troy D. Straszheim, where he talks about nvcc and proto, but he did not seem to have this problem, or at least did not tell about them. Eric
Manjunath
On Mon, Feb 8, 2010 at 12:05 PM, Eric Jourdanneau
wrote: Hi everybody, Nice to meet you :)
I would like to test proto with nvcc, and when I compile the simple Hello world example of 1.42, I get the following error message: /usr/include/boost/proto/detail/decltype.hpp:314: error: invalid use of template-name ‘boost::type’ without an argument list.
Of course it works with g++ I just don't know what to do, can somebody help me on that point? Thanks Eric
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users