|
Boost Users : |
Subject: Re: [Boost-users] [proto] using proto with nvcc
From: Manjunath Kudlur (keveman_at_[hidden])
Date: 2010-02-11 13:23:27
Joel,
On Thu, Feb 11, 2010 at 4:49 AM, Joel Falcou <joel.falcou_at_[hidden]> wrote:
> Hi,
>
> I created the following ticket:
>
> https://svn.boost.org/trac/boost/ticket/3919
>
> that gathers the basic files needed to actually make
> nvcc a proper compiler target for boost.
>
> 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.
>
> Concernign proto itself, i finally understood why the previous patch was
> needed. Seems a BOOST_NO_XXX is still missing. I'll investigate and propose
> a proper patch for that.
>
> Side note: If anyone is interested into pursuing efforts in this direction,
> we'll gladly accept help (evn just for testing) and comments so we can
> actually tackle a proper patching process on interesting components.
>
> Regards
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
Thanks for your efforts. I was curious as to what version of CUDA you
have tested these changes with. Also, I would rather call it something
like BOOST_CUDA_DEVICE_ENABLED, rather than BOOST_GPU_ENABLED, but
that's just my taste.
Manjunath
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