|
Boost : |
Subject: Re: [boost] [compute] GPGPU Library - Request For Feedback
From: Kyle Lutz (kyle.r.lutz_at_[hidden])
Date: 2013-03-04 21:13:12
On Sun, Mar 3, 2013 at 6:37 PM, Hartmut Kaiser <hartmut.kaiser_at_[hidden]> wrote:
>
> That's excellent (sorry I have not seen this in the docs before). However I
> think it's not a good idea to create your own futures. This does not scale
> well nor does it compose with std::future or boost::future. Is there a way
> to use whatever futures (or more specifically, threading implementation) the
> user decides to use?
The boost::compute::future class wraps a cl_event object which is used
to monitor the progress of a compute kernel. I'm not sure how to
achieve this with std::future or boost.thread's future (or even which
to chose for the API). Any pointers (or example code) would be greatly
appreciated.
-kyle
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk