CUDA: State that cuda has preprocessor output and can generate assembly.

We can consider PTX code to be a form of assembly.
This commit is contained in:
Robert Maynard
2016-08-31 08:36:00 -04:00
parent 4f5155f6ab
commit ec6ce62335
2 changed files with 5 additions and 5 deletions

View File

@@ -285,8 +285,8 @@ void cmLocalUnixMakefileGenerator3::WriteLocalMakefile()
for (std::vector<LocalObjectEntry>::const_iterator ei = lo->second.begin();
ei != lo->second.end(); ++ei) {
if (ei->Language == "C" || ei->Language == "CXX" ||
ei->Language == "Fortran") {
// Right now, C, C++ and Fortran have both a preprocessor and the
ei->Language == "CUDA" || ei->Language == "Fortran") {
// Right now, C, C++, Fortran and CUDA have both a preprocessor and the
// ability to generate assembly code
lang_has_preprocessor = true;
lang_has_assembly = true;