Error 1011: To run a kernel on an input array, that input array must have dimension equal to or greater than the kernel.