Converting Cuda code to C


I am relatively new to coding in CUDA and am writing some code that I need to convert to C. I am using the --cuda --host-compilation “C” compiler option to do this, but the resulting code is quite useless (All the function call names have been modified and have to be edited to their original name). Is there a better way to do this?

Thanks !