From 478c2f884f7670723e2916db43615247ee0c80cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pekka=20J=C3=A4=C3=A4skel=C3=A4inen?= Date: Fri, 27 Nov 2020 09:04:05 +0200 Subject: [PATCH] Fix a build failure (kernel cloning introduced in 2.1, not 2.0) --- src/wrap_cl_part_2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wrap_cl_part_2.cpp b/src/wrap_cl_part_2.cpp index 35734a24..e68c7851 100644 --- a/src/wrap_cl_part_2.cpp +++ b/src/wrap_cl_part_2.cpp @@ -462,7 +462,7 @@ void pyopencl_expose_part_2(py::module &m) .def(py::init()) .DEF_SIMPLE_METHOD(get_info) .DEF_SIMPLE_METHOD(get_work_group_info) -#if PYOPENCL_CL_VERSION >= 0x2000 +#if PYOPENCL_CL_VERSION >= 0x2010 .DEF_SIMPLE_METHOD(clone) #endif .def("_set_arg_null", &cls::set_arg_null) -- GitLab