Skip to content

Commit

Permalink
Add CL_CALLBACK to event callback (#260 on github)
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Nov 25, 2018
1 parent a673384 commit 2d6fffc
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 2d6fffc

Please sign in to comment.