I’m trying to analyze the SobelFilter(Sample code including CUDA SDK).
It has 2 source files(SobelFilter.cu, SobelFilter_Kernels.cu).
In the SobelFilter.cu, the main function has glutMainLoop();
I think that mainfunction is in the SobelFilter_Kernels.cu. hence I try to connect SobelFilter.cu and SobelFilter_Kernel.cu.
But there are no connection between two files.
SobelFilter_Kernel.cu has only subrootins for calculating Sobel mask.
What is connection between glutMainLoop() and SobelFilter_Kernels.cu.
I’m too hard to learn CUDA ㅜㅜ
PS) I’m sorry about my poor English skill.