Drop --amdgpu-target= options for hip-clang

They are replaced by --cuda-gpu-arch= options elsewhere


[ROCm/clr commit: 3609e6f3b2]
Bu işleme şunda yer alıyor:
Yaxun (Sam) Liu committed 2018-05-30 06:47:44 -04:00
1 ebeveyn 92757a7033
işleme 859b4f218a
1 file changed
+4
+4
Dosyayı Görüntüle
@@ -303,6 +303,10 @@ foreach $arg (@ARGV)
$default_amdgpu_target = 0;
}
# hip-clang does not accept --amdgpu-target= options.
if (($arg =~ /--amdgpu-target=/) and $HIP_PLATFORM eq 'clang' ) {
$swallowArg = 1;
}
if(($trimarg eq '-stdlib=libstdc++') and ($setStdLib eq 0))
{