As the cuda's ".cu" file is basically c, Is there a way we can use doxygen to generate documentation for ".cu" files? I noticed that NVIDIA use doxygen to generate cuda's docuementation. However when I use doxygen, the ".cu" files are ignored.
In case anyone else is coming along and reading this with the same problem, what you need to do is this:
Add *.cu
to FILE_PATTERNS
.
Add cu=c++
EXTENSION_MAPPING
.
You can find documentation for both options here.
If you're using the Windows Doxygen GUI frontend, FILE_PATTERNS
is on the Input
page and EXTENSION_MAPPING
is on the Project
page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With