[HIPIFY][fix] Abandon canCompileHostAndDeviceInOneJob check for --cuda-compile-host-device option

[Reason] It turned out that it is not so: 2 jobs are always
This commit is contained in:
Evgeny Mankov
2019-11-07 11:30:40 +03:00
parent 16a27213e4
commit c2c144ac04
2 changed files with 1 additions and 14 deletions
-8
View File
@@ -127,14 +127,6 @@ bool pragma_once_outside_header() {
#endif
}
bool canCompileHostAndDeviceInOneJob() {
#if LLVM_VERSION_MAJOR > 9 && defined(_WIN32)
return true;
#else
return false;
#endif
}
void RetainExcludedConditionalBlocks(clang::CompilerInstance &CI) {
#if LLVM_VERSION_MAJOR > 9
clang::PreprocessorOptions &PPOpts = CI.getPreprocessorOpts();