cleaning up CL cl_mems