I want to give cuda code , my program write in c or c++ !
Anyone can help me to find Anyway to give cuda code?
A command or …
My apologies but I’m unclear on what you’re asking. Can you please restate your question?
Do you wish to view the device code generated by the compiler when compiling an OpenACC compute region? If so, then add the flag “-ta=tesla:keep”. However, we default to generating LLVM code. To see the CUDA equilvent use the flag “-ta=tesla:nollvm,keep”.
This help me
And this link http://stackoverflow.com/questions/33263541/can-the-pgi-compilers-output-the-generated-cuda-code-to-a-file is useful too!
Thanks A lot Mat