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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Referencia en una nueva incidencia
Block a user