How to give cuda code

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 …

Hi simoliok,

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”.

  • Mat

Hi Mat
This help me
And this link is useful too!
Thanks A lot Mat