Move API agnotic gen8 tests to shared

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
Mateusz Jablonski
2021-12-23 09:28:36 +00:00
committed by Compute-Runtime-Automation
parent 38ace23f72
commit eb9746987e
21 changed files with 192 additions and 209 deletions

View File

@ -6,10 +6,11 @@
*/
#pragma once
#include "shared/test/common/helpers/default_hw_info.h"
#include "opencl/test/unit_test/command_queue/enqueue_fixture.h"
#include "opencl/test/unit_test/fixtures/hello_world_fixture.h"
#include "opencl/test/unit_test/helpers/cl_hw_parse.h"
#include "opencl/test/unit_test/mocks/mock_platform.h"
namespace NEO {
@ -57,7 +58,7 @@ struct MediaKernelFixture : public HelloWorldFixture<FactoryType>,
}
void SetUp() override {
skipVmeTest = !platform()->peekExecutionEnvironment()->rootDeviceEnvironments[0]->getHardwareInfo()->capabilityTable.supportsVme;
skipVmeTest = !defaultHwInfo->capabilityTable.supportsVme;
if (skipVmeTest) {
GTEST_SKIP();
}