How to add support for CUDA to Doxygen

Doxygen does not generate documentation for CUDA source files by default. The screenshot above shows how to enable Doxywizard to generate for .cu files. In the Expert tab, Input topic, find the FILE_PATTERNS section. Type *.cu and press the + button to add.

If you want to edit the Doxyfile directly, the steps are similar. Search for FILE_PATTERNS in the file and add *.cu to its list.

To get started quickly, I have shared my Doxyfile for C++ and CUDA code here. Just look for foobar in the file and replace with your project name and directories.

Tried with: Doxygen


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.