Boost logo

Boost Users :

Subject: Re: [Boost-users] [proto] : Using proto with NVIDIA CUDA nvcc (redux)
From: Manjunath Kudlur (keveman_at_[hidden])
Date: 2010-10-29 01:25:54


> The workaround would be to disable Proto's operator overload.
>
> struct domain
>  : proto::domain<
>       proto::pod_generator<expr>
>     , proto::not_<proto::address_of<proto::_> >
>   >
> {};
>
> HTH,

That does help, and works like a charm. Seems like the C-lowering of
the device code is a nasty business, and it's hard to pin point what
is busted. But this workaround should be sufficient for many use
cases, I think.

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