[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
rodzic f18e63b8a9
commit 21c3d25403
2 zmienionych plików z 1 dodań i 14 usunięć
@@ -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();