Src/GPUPerfAPIUnitTests/CounterGeneratorHSATests.cpp
// Test the HSA counter names on all supported hardware
Test the HSA counter names on all supported hardware
Test the HSA counter names on all supported hardware
TEST(CounterDLLTests, HSACounterNames)
{
    VerifyHardwareNotSupported(GPA_API_HSA, gDevIdUnknown);
    VerifyHardwareNotSupported(GPA_API_HSA, gDevIdSI);
    std::vector<const char*> counterNames;
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX7, counterNames);
    VerifyCounterNames(GPA_API_HSA, gDevIdCI, counterNames);
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX8, counterNames);
    VerifyCounterNames(GPA_API_HSA, gDevIdVI, counterNames);
    GetExpectedCountersForGeneration(GPA_HW_GENERATION_GFX9, counterNames);
    VerifyCounterNames(GPA_API_HSA, gDevIdGfx9, counterNames);
}
TEST ( CounterDLLTests , HSACounterNames ) { VerifyHardwareNotSupported ( GPA_API_HSA , gDevIdUnknown ) ; VerifyHardwareNotSupported ( GPA_API_HSA , gDevIdSI ) ; std :: vector < const char * > counterNames ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX7 , counterNames ) ; VerifyCounterNames ( GPA_API_HSA , gDevIdCI , counterNames ) ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX8 , counterNames ) ; VerifyCounterNames ( GPA_API_HSA , gDevIdVI , counterNames ) ; GetExpectedCountersForGeneration ( GPA_HW_GENERATION_GFX9 , counterNames ) ; VerifyCounterNames ( GPA_API_HSA , gDevIdGfx9 , counterNames ) ; }
Test the HSA counter names on all supported hardware
Test the HSA counter names on all supported hardware