fix: correctly select gpuDomainHandler for unified_memory_aub_tests

Related-To: NEO-8284
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
This commit is contained in:
Pawel Cieslak
2023-10-16 20:51:06 +00:00
committed by Compute-Runtime-Automation
parent e1267e46e4
commit 180829b0b8

View File

@@ -17,9 +17,15 @@ class UnifiedMemoryAubTest : public UnifiedMemoryAubFixture,
public:
using UnifiedMemoryAubFixture::tearDown;
DebugManagerStateRestore restorer;
std::vector<char> values;
void SetUp() override {
if (testMode == TestMode::AubTestsWithTbx) {
DebugManager.flags.SetCommandStreamReceiver.set(static_cast<int32_t>(CommandStreamReceiverType::CSR_TBX_WITH_AUB));
} else {
DebugManager.flags.SetCommandStreamReceiver.set(static_cast<int32_t>(CommandStreamReceiverType::CSR_AUB));
}
UnifiedMemoryAubFixture::setUp();
values = std::vector<char>(dataSize, 11);
};