Spruced up openCL helpers