Skip to content

Commit

Permalink
SWDEV-379927 - ignore passing --rocm-path=xxxxx to nvcc nvidia platform
Browse files Browse the repository at this point in the history
  • Loading branch information
agunashe committed Jan 31, 2023
1 parent 43b4672 commit 3efa9b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion amd/hipcc/src/hipBin_nvidia.h
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,9 @@ void HipBinNvidia::executeHipCCCmd(vector<string> argv) {
for (unsigned int i = 2; i < argv.size(); i++) {
string isaarg = argv.at(i);
ISACMD += " ";
ISACMD += isaarg;
if (!hipBinUtilPtr_->substringPresent(isaarg,"--rocm-path=")) {
ISACMD += isaarg;
}
}
if (verbose & 0x1) {
cout<< "hipcc-cmd: " << ISACMD << "\n";
Expand Down

0 comments on commit 3efa9b1

Please sign in to comment.