mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Move API agnotic gen8 tests to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
38ace23f72
commit
eb9746987e
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user