some wrappers (to test) for common webcl opeations