Skip to content

Commit

Permalink
Merge branch 'add-cl-callback-to-event-callback' into 'master'
Browse files Browse the repository at this point in the history
Add CL_CALLBACK to event callback (#260 on github)

See merge request inducer/pyopencl!64
  • Loading branch information
inducer committed Nov 25, 2018
2 parents fdc3a56 + 2d6fffc commit 348fdc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wrap_cl.hpp
Expand Up @@ -1585,7 +1585,7 @@ namespace pyopencl
{}
};

static void evt_callback(cl_event evt, cl_int command_exec_status, void *user_data)
static void CL_CALLBACK evt_callback(cl_event evt, cl_int command_exec_status, void *user_data)
{
event_callback_info_t *cb_info = reinterpret_cast<event_callback_info_t *>(user_data);
{
Expand Down

0 comments on commit 348fdc6

Please sign in to comment.