From f7635df7758b394549e88875fb4932e31592aed2 Mon Sep 17 00:00:00 2001 From: Sarbojit2019 <52527887+SarbojitAMD@users.noreply.github.com> Date: Thu, 25 Nov 2021 15:09:36 +0530 Subject: [PATCH] SWDEV-304211 - Removed known targets from hipcc (#2388) [ROCm/hip commit: a6f49b27db69bb9375b71932983200bc05165c61] --- projects/hip/bin/hipcc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/projects/hip/bin/hipcc b/projects/hip/bin/hipcc index a0d12505f9..cd3481db80 100755 --- a/projects/hip/bin/hipcc +++ b/projects/hip/bin/hipcc @@ -58,11 +58,6 @@ $verbose = $ENV{'HIPCC_VERBOSE'} // 0; $HIPCC_COMPILE_FLAGS_APPEND=$ENV{'HIPCC_COMPILE_FLAGS_APPEND'}; $HIPCC_LINK_FLAGS_APPEND=$ENV{'HIPCC_LINK_FLAGS_APPEND'}; -# Known HIP target names. -@knownTargets = ('gfx700', 'gfx701', 'gfx702', 'gfx703', 'gfx704', 'gfx705', - 'gfx801', 'gfx802', 'gfx803', 'gfx805', 'gfx810', - 'gfx900', 'gfx902', 'gfx904', 'gfx906', 'gfx908', 'gfx909', 'gfx90a', - 'gfx1010', 'gfx1011', 'gfx1012', 'gfx1030', 'gfx1031', 'gfx1032'); # Known Features @knownFeatures = ('sramecc-', 'sramecc+', 'xnack-', 'xnack+'); @@ -641,11 +636,6 @@ if($HIP_PLATFORM eq "amd"){ if ($HIP_PLATFORM eq 'amd' and $hasHIP) { $HIPCXXFLAGS .= $GPU_ARCH_ARG; } - - # If the specified target is not in the list of known target names, emit a warning. - if (grep($procName, @knownTargets) eq 0) { - print "Warning: The specified HIP target: $val is unknown. Correct compilation is not guaranteed.\n"; - } } } if ($hsacoVersion > 0) {