Python cffi OpenCL bindings and helper classes