More OCL infrastructure.
Todo: move all applicable kernels to vector data types.