gpt4 book ai didi

cuda - 有没有办法使用doxygen记录cuda的 ".cu"文件

转载 作者:行者123 更新时间:2023-12-04 12:14:07 25 4
gpt4 key购买 nike

由于cuda的“.cu”文件基本上是c,是否有办法使用doxygen生成“.cu”文件的文档?我注意到NVIDIA使用doxygen生成cuda的文档。但是,当我使用doxygen时,“。cu”文件将被忽略。

最佳答案

我怀疑这是您的问题:http://www.doxygen.nl/manual/config.html#cfg_file_patterns

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 - 有没有办法使用doxygen记录cuda的 ".cu"文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4047081/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com