Merge pull request #1601 from emankov/hipify

[HIPIFY][Linux] Rollback --cuda-compile-host-device on Linux
Tento commit je obsažen v:
Evgeny Mankov
2019-10-29 20:55:29 +03:00
odevzdal GitHub
+3 -3
Zobrazit soubor
@@ -128,10 +128,10 @@ bool pragma_once_outside_header() {
}
bool canCompileHostAndDeviceInOneJob() {
#if LLVM_VERSION_MAJOR < 9
return false;
#else
#if LLVM_VERSION_MAJOR >= 9 && defined(_WIN32)
return true;
#else
return false;
#endif
}