diff --git a/src/wrap_cl_part_2.cpp b/src/wrap_cl_part_2.cpp index acf600c7fa7226823ce22839e505fe8651537c98..ac1533e2aefd1c41ce916552a8b3447b6975f556 100644 --- a/src/wrap_cl_part_2.cpp +++ b/src/wrap_cl_part_2.cpp @@ -388,7 +388,7 @@ void pyopencl_expose_part_2(py::module &m) .DEF_SIMPLE_METHOD(get_work_group_info) .def("_set_arg_null", &cls::set_arg_null) .def("_set_arg_buf", &cls::set_arg_buf) -#if PYOPENCL_CL_VERSION >= 0x1020 +#if PYOPENCL_CL_VERSION >= 0x2000 .def("_set_arg_svm", &cls::set_arg_svm) #endif .DEF_SIMPLE_METHOD(set_arg)