Merge pull request #1601 from emankov/hipify

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

[ROCm/hip commit: 265d34e160]
Este commit está contenido en:
Evgeny Mankov
2019-10-29 20:55:29 +03:00
cometido por GitHub
+3 -3
Ver fichero
@@ -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
}