| 34 | static bool callback_invoked = false; |
| 35 | |
| 36 | static void BOOST_COMPUTE_CL_CALLBACK |
| 37 | callback(cl_event event, cl_int status, void *user_data) |
| 38 | { |
| 39 | std::lock_guard<std::mutex> lock(callback_mutex); |
| 40 | callback_invoked = true; |
| 41 | callback_condition_variable.notify_one(); |
| 42 | } |
| 43 | |
| 44 | BOOST_AUTO_TEST_CASE(event_callback) |
| 45 | { |
nothing calls this directly
no outgoing calls
no test coverage detected