有没有办法记录cuda的“.cu”文件使用doxygen [英] Is there a way to document cuda's ".cu" file use doxygen

查看:221
本文介绍了有没有办法记录cuda的“.cu”文件使用doxygen的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于cuda的.cu文件基本上是c,有没有办法我们可以使用doxygen生成文件的.cu文件?我注意到NVIDIA使用doxygen生成cuda的文档。但是,当我使用doxygen,.cu文件被忽略。

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.

推荐答案

我怀疑这是你的问题: http://www.stack.nl/~dimitri/doxygen/config.html#cfg_file_patterns

I suspect that this is your problem: http://www.stack.nl/~dimitri/doxygen/config.html#cfg_file_patterns


如果INPUT标记的值包含目录,则
可以使用FILE_PATTERNS标记指定一个或多个通配符模式
(如* .cpp和*。 h)过滤掉目录中的源文件。
如果留空,将测试以下模式:
.c * .cc * .cxx * .cpp * .c ++ * .d * .java * .ii * .ixx * .ipp * .i ++ * .inl * .h * .hh
.hxx * .hpp * .h ++ * .idl * .odl * .cs * .php * .php3 * .inc * .m * .mm * .dox * .py .f90 * .f * .vhd
* .vhdl

If the value of the INPUT tag contains directories, you can use the FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and *.h ) to filter out the source-files in the directories. If left blank the following patterns are tested: .c *.cc *.cxx *.cpp *.c++ *.d *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh .hxx *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.dox *.py .f90 *.f *.vhd *.vhdl

这篇关于有没有办法记录cuda的“.cu”文件使用doxygen的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆