Sample code "SobelFilter"

I’m trying to analyze the SobelFilter(Sample code including CUDA SDK).

It has 2 source files(,

In the, the main function has glutMainLoop();

I think that mainfunction is in the hence I try to connect and

But there are no connection between two files. has only subrootins for calculating Sobel mask.

What is connection between glutMainLoop() and

I’m too hard to learn CUDA ㅜㅜ

PS) I’m sorry about my poor English skill.

normally in the SDK examples the * file is included in the *.cu file
So in this case there is probably a #include “” line in

I found the connection.


#include “” !!!

thank you very much!!