test: correct expectations in ocl tests if heapless enabled 1/n

Related-To: NEO-10641

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
Kamil Kopryk
2024-08-26 15:12:39 +00:00
committed by Compute-Runtime-Automation
parent 7e477d4e71
commit 6c9a96e4dc
21 changed files with 192 additions and 121 deletions

View File

@@ -682,8 +682,10 @@ HWTEST_F(EnqueueHandlerTest, givenKernelUsingSyncBufferWhenEnqueuingKernelThenSs
using BINDING_TABLE_STATE = typename FamilyType::BINDING_TABLE_STATE;
using RENDER_SURFACE_STATE = typename FamilyType::RENDER_SURFACE_STATE;
DebugManagerStateRestore restorer{};
UnitTestSetter::disableHeapless(restorer);
auto &compilerProductHelper = this->pDevice->getCompilerProductHelper();
if (compilerProductHelper.isHeaplessModeEnabled()) {
GTEST_SKIP();
}
struct MockSyncBufferHandler : SyncBufferHandler {
using SyncBufferHandler::graphicsAllocation;