[HIPIFY][Win][fix] canCompileHostAndDeviceInOneJob is true only for LLVM >= 10
[ROCm/clr commit: 97a0670d29]
This commit is contained in:
@@ -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;
|
||||
|
||||
Fai riferimento in un nuovo problema
Block a user