On 2/11/2010 11:49 PM, Joel Falcou wrote:
THe patch contain a macro called BOOST_GPU_ENABLED that resolves as :
__host__ __device__
This macro can be used on any function or method declaration in Boost so they can be used as device AND host function.
Making boost fully GPU compatible (ie compiling boost component inside a device function) may require to add this on EVERY possible boost function and method. Considering he amount of work needed I prefer first put this up and see what people make out of it.
Whoa. Even inline functions and methods? I can't speak for anybody else, but I'm pretty sure I'm not ok with that. You should move this discussion to development list with a more appropriate subject. -- Eric Niebler BoostPro Computing http://www.boostpro.com