From 7281f9a0de1cfc1b56621e9804c9c08a7649a68d Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 17 May 2016 02:18:09 -0500
Subject: [PATCH] Fix another version unsupported error

---
 src/c_wrapper/device.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/c_wrapper/device.cpp b/src/c_wrapper/device.cpp
index a539df84..5e9ec8fc 100644
--- a/src/c_wrapper/device.cpp
+++ b/src/c_wrapper/device.cpp
@@ -301,6 +301,6 @@ device__create_sub_devices(clobj_t _dev, clobj_t **_devs,
             *_devs = devs.release();
         });
 #else
-    PYOPENCL_UNSUPPORTED(clCreateImage, "CL 1.1 and below")
+    PYOPENCL_UNSUPPORTED_BEFORE(clCreateSubDevices, "CL 1.2")
 #endif
 }
-- 
GitLab