I am a tyro in GPU programming. I have read the documents downloaded from NVIDIA website and the sample code. My job is to “upgrade” the Cg code developed by other team member earilier to CUDA. But after I searched all the discussions on the forum, I still can’t get how to start.
I also read the book “The Cg Tutorial” roughly and after compared the content, our Cg code and the CUDA sample code, I found that in CUDA it seems like to divide into kernel and other part but I didn’t see the same way in the Cg code. I would like to know if there is any relationship between Cg and CUDA when you developed CUDA. I need someone to tell me how to map Cg into CUDA or where can I get documents or resources about this topic.
Thank you for your help!!