Threading in #22, also OpenCL kernel