I am totally a greenhand here and with little programming experience.
After reading the programming guide and some examples, I got to understand a little about cuda however I still don’t know how to wirte a basic program like “hello world!” with cuda. Why some example have xx.cu and xx_kenel.cu and xx_gold.cpp while some dont, some of the codes are just testing cuda as far as I see. I got confused.
My current task is to realize the particle swarm optimization algorithm with cuda but I dont know how to get started. If someone woule like to offer some help, I will be very greatful.
Thanks in advance.