Skip to content

Commit

Permalink
Add missing PYOPENCL_CL_CASTABLE_THIS
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Dec 1, 2015
1 parent 0ef2fda commit 4be4cf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/c_wrapper/kernel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ kernel::get_arg_info(cl_uint idx, cl_kernel_arg_info param) const
KernelArg, PYOPENCL_CL_CASTABLE_THIS, idx, param);
case CL_KERNEL_ARG_TYPE_QUALIFIER:
return pyopencl_get_int_info(cl_kernel_arg_type_qualifier,
KernelArg, this, idx, param);
KernelArg, PYOPENCL_CL_CASTABLE_THIS, idx, param);
case CL_KERNEL_ARG_TYPE_NAME:
case CL_KERNEL_ARG_NAME:
return pyopencl_get_str_info(KernelArg, PYOPENCL_CL_CASTABLE_THIS, idx, param);
Expand Down

0 comments on commit 4be4cf5

Please sign in to comment.