2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-24 05:42:14 +00:00
Commit Graph

5 Commits

Author SHA1 Message Date
Denis Demidov
201f85a038 Skip tests requiring OpenCL 1.2 on usupported devices 2014-07-12 22:54:16 +04:00
Kyle Lutz
a107b9239f Fix tests for event::set_callback() on Intel GPUs
Intel GPUs don't fire the callbacks registered with set_callback()
until the underlying OpenCL event object is destroyed. This changes
the test so that the events go out of scope or are explicitly reset
before checking that the callback has been executed.
2014-05-10 18:04:42 -07:00
Kyle Lutz
6ac757887c Support generic function callbacks for event 2014-04-19 11:38:10 -07:00
Kyle Lutz
6499e30c66 Add test creating a std::future for an event object 2014-04-11 20:24:12 -07:00
Kyle Lutz
8e086104a0 Add event::set_callback() method
This adds a method to the event class which allows the user to
register a callback function to be invoked when the event reaches
the specified state (e.g. when it completes).
2014-03-16 13:20:57 -07:00