BOOST (thread) and CUDA How to use 2 cards simultaneous ?

Hi,

To use my two graphics cards (Tesla C2050), I use Boost to create two threads (one per card) but I just do:

#include <boost/thread.hpp>

#include <boost/bind.hpp>

I have error :

/usr/include/c++/4.5/iomanip

Has anyone ever had such a mistake (and he knows how to solve it)? Or is there another way to use 2 graphics cards simultaneously without using threads?

Thanks

That isn’t an error, it is a filename. But there is a good clue in the filename - it looks like you are trying to use gcc 4.5 with CUDA. As far as I know, it is not currently supported.

Thanks for reply,

Know you a method for control 2 cards silmutaneous without use thread ? or it’s necessary separating boost to cuda ?