I am relatively new to cuda and tried some examples which work fine.
Now I have an own c++ program, where I want to export some calculations to the gpu.
Beginning with small steps I tried to compile the c++ code using nvcc without any changes for gpu implementation,
which means: I tried to compile the same code I used for the gcc compiler.
After hundreds of errors my terminal stoped and i recognized that it wont be as easy as i hoped…
Without referring to my project,
isnt it possible to use the nvcc as a normal c++ compiler without any cuda programming ? Or has it just few different syntaxes ?
And do you know some documented programming samples, where normal c++ programs got some cuda implementation ?
Thanks for any help and best regards