mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Change default state of CSR.
Change-Id: I1124ff538de37736996d4cae3e827950b1022a8f Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
214342f405
commit
8093400baf
@ -1125,6 +1125,12 @@ HWTEST_F(CommandStreamReceiverTest, givenDebugPauseThreadWhenTerminatingAtFirstS
|
||||
EXPECT_EQ(0u, output.length());
|
||||
}
|
||||
|
||||
HWTEST_F(CommandStreamReceiverTest, whenCreatingCommandStreamReceiverThenLastAddtionalKernelExecInfoValueIsCorrect) {
|
||||
int32_t executionStamp = 0;
|
||||
std::unique_ptr<MockCsr<FamilyType>> mockCSR(new MockCsr<FamilyType>(executionStamp, *pDevice->executionEnvironment, pDevice->getRootDeviceIndex()));
|
||||
EXPECT_EQ(AdditionalKernelExecInfo::NotSet, mockCSR->lastAdditionalKernelExecInfo);
|
||||
}
|
||||
|
||||
HWTEST_F(CommandStreamReceiverTest, givenDebugPauseThreadWhenTerminatingAtSecondStageThenFunctionEndsCorrectly) {
|
||||
DebugManagerStateRestore restore;
|
||||
DebugManager.flags.PauseOnEnqueue.set(0);
|
||||
|
@ -89,6 +89,7 @@ class MockCsr : public MockCsrBase<GfxFamily> {
|
||||
public:
|
||||
using BaseClass = MockCsrBase<GfxFamily>;
|
||||
using CommandStreamReceiver::mediaVfeStateDirty;
|
||||
using MockCsrBase<GfxFamily>::lastAdditionalKernelExecInfo;
|
||||
|
||||
MockCsr() = delete;
|
||||
MockCsr(const HardwareInfo &hwInfoIn) = delete;
|
||||
|
Reference in New Issue
Block a user