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