
Hi All I am new to using Boost libraries. I have written a function that makes use of the boost for computing the inverse of the cummulative distribution function of the beta distribution (quantile) in C++ which works fine. Now I would like to use the same function on the GPU, but I cannot call a host function from device. Are there any alternatives to use boost functions on GPU? Looking forward to your reply. Many thanks and kind regards Blesson

[Please do not mail me a copy of your followup]
boost-users@lists.boost.org spake the secret code
I am new to using Boost libraries. I have written a function that makes use of the boost for computing the inverse of the cummulative distribution function of the beta distribution (quantile) in C++ which works fine. Now I would like to use the same function on the GPU, but I cannot call a host function from device. Are there any alternatives to use boost functions on GPU?
Visual Studio 2012 has a non-standard extension (although they hope to have it standardized) that lets you run C++ code on the GPU. See this Channel 9 video: http://channel9.msdn.com/posts/AFDS-Keynote-Herb-Sutter-Heterogeneous-Comput... AFAIK, Boost doesn't have any GPU stuff in the pipeline, but I could be wrong as there's a ton of stuff in there. -- "The Direct3D Graphics Pipeline" free book http://tinyurl.com/d3d-pipeline The Computer Graphics Museum http://computergraphicsmuseum.org The Terminals Wiki http://terminals.classiccmp.org Legalize Adulthood! (my blog) http://legalizeadulthood.wordpress.com

On Tue, Apr 16, 2013 at 10:43 PM, Richard wrote: AFAIK, Boost doesn't have any GPU stuff in the pipeline, but I could
be wrong as there's a ton of stuff in there. If my memory is correct, someone proposed Boost.Compute which would be an
abstraction layer over OpenCL.
Not sure it fits the need here but it might be worth taking a look.
Joel Lamotte

Thank you very much for the pointers.
Kind regards
Blesson
On Tue, Apr 16, 2013 at 7:40 PM, Klaim - Joël Lamotte
On Tue, Apr 16, 2013 at 10:43 PM, Richard < legalize+jeeves@mail.xmission.com> wrote:
AFAIK, Boost doesn't have any GPU stuff in the pipeline, but I could be wrong as there's a ton of stuff in there.
If my memory is correct, someone proposed Boost.Compute which would be an abstraction layer over OpenCL. Not sure it fits the need here but it might be worth taking a look.
Joel Lamotte
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

On 17 April 2013 02:22, Blesson Varghese
Are there any alternatives to use boost functions on GPU?
Kyle Lutz is working on a GPGPU library, boost compute. I believe it is still in early development, so I'm not sure you'll find all you're looking for. Details are here: http://kylelutz.github.io/compute/

[Please do not mail me a copy of your followup]
boost-users@lists.boost.org spake the secret code
Kyle Lutz is working on a GPGPU library, boost compute. I believe it is still in early development, so I'm not sure you'll find all you're looking for.
Details are here: http://kylelutz.github.io/compute/
Very interesting, thanks! -- "The Direct3D Graphics Pipeline" free book http://tinyurl.com/d3d-pipeline The Computer Graphics Museum http://computergraphicsmuseum.org The Terminals Wiki http://terminals.classiccmp.org Legalize Adulthood! (my blog) http://legalizeadulthood.wordpress.com
participants (4)
-
Blesson Varghese
-
Klaim - Joël Lamotte
-
legalize+jeeves@mail.xmission.com
-
Steve Lorimer