Skip to content

Commit

Permalink
Merge pull request #53 from ROCm-Developer-Tools/develop
Browse files Browse the repository at this point in the history
merge develop into mainline
  • Loading branch information
searlmc1 committed Dec 19, 2022
2 parents 404dd10 + 43b4672 commit 25c471b
Show file tree
Hide file tree
Showing 5 changed files with 103 additions and 260 deletions.
5 changes: 3 additions & 2 deletions amd/hipcc/src/hipBin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ THE SOFTWARE.
#include "hipBin_util.h"
#include "hipBin_amd.h"
#include "hipBin_nvidia.h"
#include <iostream>
#include <vector>
#include <string>

Expand Down Expand Up @@ -75,7 +76,7 @@ HipBin::HipBin() {
}
// if no device is detected, then it is defaulted to AMD
if (!platformDetected) {
cout << "Device not supported - Defaulting to AMD" << endl;
std::cerr << "Device not supported - Defaulting to AMD" << endl;
// populates the struct with AMD info
const PlatformInfo& platformInfo = hipBinAMDPtr_->getPlatformInfo();
platformVec_.push_back(platformInfo);
Expand Down Expand Up @@ -109,7 +110,7 @@ void HipBin::executeHipBin(string filename, int argc, char* argv[]) {
} else if (hipBinUtilPtr_->substringPresent(filename, "hipcc")) {
executeHipCC(argc, argv);
} else {
cout << "Command " << filename
std::cerr << "Command " << filename
<< " not supported. Name the exe as hipconfig"
<< " or hipcc and then try again ..." << endl;
exit(-1);
Expand Down
Loading

0 comments on commit 25c471b

Please sign in to comment.