[HIPIFY][Linux] Rollback --cuda-compile-host-device on Linux
[Reason] It doesn't work with LLVM 9 and higher; Windows is fine
[ROCm/clr commit: dd2243f2fa]
Этот коммит содержится в:
1 родитель
21d798394a
Коммит
d8e846fc91
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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user