Following is a multi-kernel example, where different kernels run sequentially in a pipeline to form an application. This example performs ‘Canny Edge Detection’, where two kernels are involved, Canny and edge tracing. The Canny function will take gray-scale image as input and provided the edge information in three states (weak edge (1), strong edge (3), and background (0)), which is being fed into edge tracing, which filters out the weak edges. The prior works in a streaming based implementation and the later in a memory mapped manner.