Skip to content

Commit

Permalink
Merge pull request #55 from agunashe/rocmPathOption
Browse files Browse the repository at this point in the history
SWDEV-379927 - ignore passing --rocm-path=xxxxx to nvcc nvidia platform
  • Loading branch information
searlmc1 authored Feb 6, 2023
2 parents 43b4672 + 3efa9b1 commit 63b13c3
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 63b13c3

Please sign in to comment.