Merge pull request #1601 from emankov/hipify

[HIPIFY][Linux] Rollback --cuda-compile-host-device on Linux
This commit is contained in:
Evgeny Mankov authored and GitHub committed 2019-10-29 20:55:29 +03:00
کامیت 265d34e160
1 file changed
+3 -3
@@ -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
}