C++ with CUDA?

I have a communication system code writen using C++.

I want to replace some sub-unit in this system by rewrite the sub-unit using CUDA.

For example, I write a FFT code using CUDA, and want to replace the original FFT in the system.

Can I do this??

Because I’ve heard that CUDA are not compatible with C++ right now, do I have to rewrite the system using C first, then do what I surpose to do?? :wacko:

You can’t use C++ in kernels (except for templates). There’s no problem with calling C-based CUDA kernels from C++ host code.

Thanks a lot!!