[HIPIFY][Win][fix] canCompileHostAndDeviceInOneJob is true only for LLVM >= 10

[ROCm/hip commit: 9ca4e96641]
Cette révision appartient à :
Evgeny Mankov
2019-11-06 19:25:42 +03:00
Parent 223897c24c
révision 282c76c26f
+1 -1
Voir le fichier
@@ -128,7 +128,7 @@ bool pragma_once_outside_header() {
}
bool canCompileHostAndDeviceInOneJob() {
#if LLVM_VERSION_MAJOR >= 9 && defined(_WIN32)
#if LLVM_VERSION_MAJOR > 9 && defined(_WIN32)
return true;
#else
return false;