mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-18 22:08:53 +08:00
test: refactor non uniform aub fixture
- set allowNonUniform flag in program Related-To: NEO-14449 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
f00d5effbf
commit
1d07198a4c
@@ -276,6 +276,11 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, XeHPAndLaterAubInlineDataTest, givenCrossThreadSize
|
||||
crossThreadData += inlineSize - offsetInBytes;
|
||||
|
||||
void *payloadData = ih.getCpuBase();
|
||||
|
||||
auto pImplicitArgs = kernel->getImplicitArgs();
|
||||
if (pImplicitArgs) {
|
||||
payloadData = ptrOffset(payloadData, alignUp(pImplicitArgs->getSize(), MemoryConstants::cacheLineSize));
|
||||
}
|
||||
EXPECT_EQ(0, memcmp(payloadData, crossThreadData, crossThreadDataSize));
|
||||
},
|
||||
walkerVariant);
|
||||
@@ -445,7 +450,7 @@ HWCMDTEST_F(IGFX_XE_HP_CORE, XeHPAndLaterAubHwLocalIdsTest, givenNonPowOf2LocalW
|
||||
|
||||
EXPECT_EQ(expectedEmitLocal, walker->getEmitLocalId());
|
||||
EXPECT_EQ(1u, walker->getGenerateLocalId());
|
||||
EXPECT_EQ(4u, walker->getWalkOrder());
|
||||
EXPECT_EQ(0u, walker->getWalkOrder());
|
||||
}
|
||||
},
|
||||
walkerVariant);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2024 Intel Corporation
|
||||
* Copyright (C) 2018-2025 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -95,6 +95,7 @@ class SimpleArgNonUniformKernelFixture : public ProgramFixture {
|
||||
"simple_nonuniform",
|
||||
"");
|
||||
ASSERT_NE(nullptr, pProgram);
|
||||
pProgram->allowNonUniform = true;
|
||||
|
||||
retVal = pProgram->build(
|
||||
pProgram->getDevices(),
|
||||
|
||||
Reference in New Issue
Block a user