adding mytest target

Change-Id: Ia82b971597a4876d99c85d7dbbf997faea83f0c9
This commit is contained in:
Evgeny
2020-03-19 01:27:06 -05:00
parent f69c938f52
commit ffa0a51408
4 changed files with 56 additions and 23 deletions
+1 -8
View File
@@ -82,14 +82,7 @@ bool TestHsa::Initialize(int /*arg_cnt*/, char** /*arg_list*/) {
// Obtain the code object file name
std::string agentName(agent_info_->name);
if (agentName.compare(0, 4, "gfx8") == 0) {
brig_path_obj_.append("gfx8");
} else if (agentName.compare(0, 4, "gfx9") == 0) {
brig_path_obj_.append("gfx9");
} else {
TEST_ASSERT(false);
return false;
}
brig_path_obj_.append(agentName);
brig_path_obj_.append("_" + name_ + ".hsaco");
return true;