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

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


[ROCm/hip commit: 9008a3ec56]
Este cometimento está contido em:
Yaxun (Sam) Liu cometeu 2018-05-30 06:47:44 -04:00
1 ascendente b92ace4cdb
cometimento ef02210768
1 ficheiro modificado
+4
+4
Ver ficheiro
@@ -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))
{