Add missing mockable_virtual in code

Change-Id: Ia8d041b68163a99cf4e9e399e825d39798425544
This commit is contained in:
Kamil Diedrich
2020-10-07 12:07:34 +02:00
committed by sys_ocldev
parent 74aea08d15
commit 67e2853857
5 changed files with 7 additions and 7 deletions

View File

@@ -43,10 +43,10 @@ struct CommandQueueHw : public CommandQueueImp {
size_t estimatePipelineSelect();
void programPipelineSelect(NEO::LinearStream &commandStream);
void handleScratchSpace(NEO::ResidencyContainer &residency,
NEO::HeapContainer &heapContainer,
NEO::ScratchSpaceController *scratchController,
bool &gsbaState, bool &frontEndState);
MOCKABLE_VIRTUAL void handleScratchSpace(NEO::ResidencyContainer &residency,
NEO::HeapContainer &heapContainer,
NEO::ScratchSpaceController *scratchController,
bool &gsbaState, bool &frontEndState);
};
} // namespace L0

View File

@@ -8,3 +8,4 @@ target_sources(${TARGET_NAME} PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
${CMAKE_CURRENT_SOURCE_DIR}/test_cmdqueue.cpp
)
add_subdirectories()