From cdd91d64c6a1ff53bba383f6db485bb3c2c7b778 Mon Sep 17 00:00:00 2001 From: Rafal Maziejuk Date: Thu, 20 Apr 2023 13:28:57 +0000 Subject: [PATCH] test(ocl): add getProgrammedGrfValue function Related-To: NEO-7357 Signed-off-by: Rafal Maziejuk --- shared/test/common/helpers/unit_test_helper.h | 2 ++ shared/test/common/helpers/unit_test_helper.inl | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/shared/test/common/helpers/unit_test_helper.h b/shared/test/common/helpers/unit_test_helper.h index 9ae283d40f..aa1acc6bbd 100644 --- a/shared/test/common/helpers/unit_test_helper.h +++ b/shared/test/common/helpers/unit_test_helper.h @@ -78,6 +78,8 @@ struct UnitTestHelper { static std::vector getProgrammedLargeGrfValues(CommandStreamReceiver &csr, LinearStream &linearStream); + static uint32_t getProgrammedGrfValue(CommandStreamReceiver &csr, LinearStream &linearStream); + static bool getWorkloadPartitionForStoreRegisterMemCmd(typename GfxFamily::MI_STORE_REGISTER_MEM &storeRegisterMem); static bool timestampRegisterHighAddress(); diff --git a/shared/test/common/helpers/unit_test_helper.inl b/shared/test/common/helpers/unit_test_helper.inl index b9bb1e79b4..61f9455183 100644 --- a/shared/test/common/helpers/unit_test_helper.inl +++ b/shared/test/common/helpers/unit_test_helper.inl @@ -103,4 +103,9 @@ bool UnitTestHelper::findStateCacheFlushPipeControl(LinearStream &csr return stateCacheFlushFound; } +template +uint32_t UnitTestHelper::getProgrammedGrfValue(CommandStreamReceiver &csr, LinearStream &linearStream) { + return 0u; +} + } // namespace NEO