Due: Tue, 2022/4/12 23:59
Slides: https://docs.google.com/presentation/d/1ZHly10t-xheS4gbGPt_yY0h0zExnw89CROJNkXTq2CI/edit?usp=sharing
This homework helps you understand the basic concepts in CUDA.
The sobel operator is used in image processing and computer vision, particularly within edge detection algorithms where it creates an image emphasising edges.
In this homework, you are given the sequential (CPU) code of a 5x5 variant of the sobeloperator, and asked to parallelize it with CUDA. Refer to the appendix for the information of the CPU version.
The input file is a PNG image with 3 color channels: RGB.
The output file is a PNG image with 3 color channels: RGB.
Your output is considered correct if at least 99.8% of the pixels are identical with the provided sequential version.
Your output is considered incorrect if the dimensions of the output image is incorrect.

