Skip to content

Commit cdd91d6

Browse files
test(ocl): add getProgrammedGrfValue function
Related-To: NEO-7357 Signed-off-by: Rafal Maziejuk <[email protected]>
1 parent 86337dc commit cdd91d6

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

shared/test/common/helpers/unit_test_helper.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ struct UnitTestHelper {
7878

7979
static std::vector<bool> getProgrammedLargeGrfValues(CommandStreamReceiver &csr, LinearStream &linearStream);
8080

81+
static uint32_t getProgrammedGrfValue(CommandStreamReceiver &csr, LinearStream &linearStream);
82+
8183
static bool getWorkloadPartitionForStoreRegisterMemCmd(typename GfxFamily::MI_STORE_REGISTER_MEM &storeRegisterMem);
8284

8385
static bool timestampRegisterHighAddress();

shared/test/common/helpers/unit_test_helper.inl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,4 +103,9 @@ bool UnitTestHelper<GfxFamily>::findStateCacheFlushPipeControl(LinearStream &csr
103103
return stateCacheFlushFound;
104104
}
105105

106+
template <typename GfxFamily>
107+
uint32_t UnitTestHelper<GfxFamily>::getProgrammedGrfValue(CommandStreamReceiver &csr, LinearStream &linearStream) {
108+
return 0u;
109+
}
110+
106111
} // namespace NEO

0 commit comments

Comments
 (0)