Merge pull request #1636 from emankov/hipify-clang

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

[ROCm/clr commit: c0f9c854a6]
This commit is contained in:
Evgeny Mankov
2019-11-06 19:27:40 +03:00
committed by GitHub
@@ -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;