further work on OpenCL driver: context and memobjects