1. A method comprising: receiving, at a first processor, a command to perform convolution filtering on a grid of pixels; partitioning the grid into multiple sections; generating multiple instructions for the multiple sections, each instruction for performing a convolution computation on at least one pixel in one section; dispatching at least one of the multiple instructions to a second processor, the second processor multiplying the at least one pixel with at least one coefficient received in the at least one instruction, and accumulating at least one result of the multiply to generate an intermediate result; and generating instructions to combine intermediate results from the multiple instructions for the multiple sections.