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

They are replaced by --cuda-gpu-arch= options elsewhere
This commit is contained in:
Yaxun (Sam) Liu
2018-05-28 10:46:23 -04:00
parent e5b8358b05
commit 3609e6f3b2
+4
View File
@@ -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))
{