From 6e60b1294e0930a1183ab7c14bceb3f5453a0749 Mon Sep 17 00:00:00 2001
From: zachjweiner <zachjweiner@gmail.com>
Date: Sat, 31 Oct 2020 16:42:50 -0500
Subject: [PATCH] get_sub_group_info: 0x1020 -> 0x2010

---
 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 9644eea6..35734a24 100644
--- a/src/wrap_cl_part_2.cpp
+++ b/src/wrap_cl_part_2.cpp
@@ -478,7 +478,7 @@ void pyopencl_expose_part_2(py::module &m)
       .def(py::self != py::self)
       .def("__hash__", &cls::hash)
       PYOPENCL_EXPOSE_TO_FROM_INT_PTR(cl_kernel)
-#if PYOPENCL_CL_VERSION >= 0x1020
+#if PYOPENCL_CL_VERSION >= 0x2010
       .def("get_sub_group_info", &cls::get_sub_group_info,
           py::arg("device"),
           py::arg("param"),
-- 
GitLab