Skip to content

Commit 91477d8

Browse files
committed
SWDEV-1 - fix unknown device warning
1 parent add834b commit 91477d8

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

amd/hipcc/src/hipBin_amd.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1042,14 +1042,6 @@ void HipBinAmd::executeHipCCCmd(vector<string> argv) {
10421042
if (hasHIP) {
10431043
HIPCXXFLAGS += GPU_ARCH_ARG;
10441044
}
1045-
for (unsigned int j= 0; j < knownTargets.size(); j++) {
1046-
// If the specified target is not
1047-
// in the list of known target names, emit a warning.
1048-
if (procName == knownTargets.at(j)) {
1049-
cout << "Warning: The specified HIP target: "<< val <<
1050-
" is unknown. Correct compilation is not guaranteed.\n";
1051-
}
1052-
}
10531045
} // end of val != "gfx000"
10541046
} // end of targets for loop
10551047
string HCC_EXTRA_LIBRARIES;

0 commit comments

Comments
 (0)