Fix hipcc for -M for hip-clang

[ROCm/clr commit: 6053c71323]
This commit is contained in:
Yaxun Sam Liu committed 2018-07-23 09:26:42 -04:00
1 orang tua 192601f691
melakukan f45c9e9d61
1 file changed
+4
+4
Melihat File
@@ -635,6 +635,10 @@ if ($buildDeps and $HIP_PLATFORM eq 'nvcc') {
$HIPCXXFLAGS .= " -M -D__CUDACC__";
}
if ($buildDeps and $HIP_PLATFORM eq 'clang') {
$HIPCXXFLAGS .= " --cuda-host-only";
}
if ($setStdLib eq 0 and $HIP_PLATFORM eq 'hcc')
{
$HIPCXXFLAGS .= $HCC_WA_FLAGS;