[HIPIFY][Linux] Rollback --cuda-compile-host-device on Linux

[Reason] It doesn't work with LLVM 9 and higher; Windows is fine
Bu işleme şunda yer alıyor:
Evgeny Mankov
2019-10-29 20:53:54 +03:00
ebeveyn 411b18a124
işleme dd2243f2fa
+3 -3
Dosyayı Görüntüle
@@ -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
}