Enable Performance Counters for OCL and L0.

Change-Id: I1920b9d406c092fbc26fc6ca27766db297a1958b
This commit is contained in:
Piotr Maciejewski
2020-03-13 15:38:23 +01:00
committed by sys_ocldev
parent 9b14911f8b
commit c6cd582f78
32 changed files with 2053 additions and 464 deletions

View File

@ -16,8 +16,6 @@
#include "opencl/test/unit_test/mocks/mock_execution_environment.h"
#include "test.h"
#include "instrumentation.h"
namespace NEO {
template <>
@ -101,7 +99,7 @@ TEST_F(HwInfoConfigTestWindows, givenInstrumentationForHardwareIsEnabledOrDisabl
outHwInfo.capabilityTable.instrumentationEnabled = true;
ret = hwConfig.configureHwInfo(&pInHwInfo, &outHwInfo, osInterface.get());
ASSERT_EQ(0, ret);
EXPECT_TRUE(outHwInfo.capabilityTable.instrumentationEnabled == haveInstrumentation);
EXPECT_TRUE(outHwInfo.capabilityTable.instrumentationEnabled);
}
HWTEST_F(HwInfoConfigTestWindows, givenFtrIaCoherencyFlagWhenConfiguringHwInfoThenSetCoherencySupportCorrectly) {