Boost logo

Boost Users :

Subject: Re: [Boost-users] [proto] using proto with nvcc
From: Eric Niebler (eric_at_[hidden])
Date: 2010-02-11 16:26:08


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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net