Update gen9 test

Change-Id: I3ba75654314b4e54c1dd61b2ee5a92ec19fbb091
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
Filip Hazubski
2020-03-16 12:24:56 +01:00
committed by sys_ocldev
parent ded006295f
commit 0f231eb80c

View File

@ -7,6 +7,7 @@
#include "shared/source/device/root_device.h"
#include "shared/source/os_interface/device_factory.h"
#include "shared/source/os_interface/hw_info_config.h"
#include "opencl/test/unit_test/api/cl_api_tests.h"
@ -15,6 +16,9 @@ using namespace NEO;
typedef api_tests clGetPlatformIDsTests;
TEST(clGetPlatformIDsMultiPlatformTest, whenCreateDevicesWithDifferentProductFamilyThenClGetPlatformIdsCreatesMultiplePlatformsProperlySorted) {
if ((HwInfoConfig::get(IGFX_SKYLAKE) == nullptr) || (HwInfoConfig::get(IGFX_KABYLAKE) == nullptr)) {
GTEST_SKIP();
}
DebugManagerStateRestore restorer;
const size_t numRootDevices = 2u;
DebugManager.flags.CreateMultipleRootDevices.set(numRootDevices);