Removing ATT tests skip

Change-Id: I9d84b89d62fb516b89e335ce0a5013b5d0b3dc5d


[ROCm/rocprofiler commit: 649583eaea]
このコミットが含まれているのは:
Giovanni LB
2023-08-25 00:44:33 -03:00
コミット 5a1a3d6fa8
-12
ファイルの表示
@@ -595,7 +595,6 @@ bool ATTCollection::bCollected = false;
TEST_F(ATTCollection, WhenRunningATTItCollectsTraceDataWithOldAPI) {
// iterate for gpu's
struct agent_info {
bool skip = false;
std::vector<std::string> agents = {};
auto as_string() const {
@@ -615,15 +614,10 @@ TEST_F(ATTCollection, WhenRunningATTItCollectsTraceDataWithOldAPI) {
char gpu_name[64] = {'\0'};
hsa_agent_get_info(agent, HSA_AGENT_INFO_NAME, gpu_name);
_info_v->agents.emplace_back(std::string{gpu_name});
if (std::regex_search(_info_v->agents.back(), std::regex{"^gfx1[0-1][0-9][0-9]"})) {
_info_v->skip = true;
}
return HSA_STATUS_SUCCESS;
},
static_cast<void*>(&_info));
if (_info.skip) GTEST_SKIP();
int result = ROCPROFILER_STATUS_ERROR;
// inititalize ROCProfiler
@@ -692,7 +686,6 @@ TEST_F(ATTCollection, WhenRunningATTItCollectsTraceDataWithOldAPI) {
TEST_F(ATTCollection, WhenRunningATTItCollectsTraceDataWithNewAPI) {
// iterate for gpu's
struct agent_info {
bool skip = false;
std::vector<std::string> agents = {};
auto as_string() const {
@@ -712,15 +705,10 @@ TEST_F(ATTCollection, WhenRunningATTItCollectsTraceDataWithNewAPI) {
char gpu_name[64] = {'\0'};
hsa_agent_get_info(agent, HSA_AGENT_INFO_NAME, gpu_name);
_info_v->agents.emplace_back(std::string{gpu_name});
if (std::regex_search(_info_v->agents.back(), std::regex{"^gfx1[0-1][0-9][0-9]"})) {
_info_v->skip = true;
}
return HSA_STATUS_SUCCESS;
},
static_cast<void*>(&_info));
if (_info.skip) GTEST_SKIP();
int result = ROCPROFILER_STATUS_ERROR;
// inititalize ROCProfiler
result = rocprofiler_initialize();