mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Update gen9 test
Change-Id: I3ba75654314b4e54c1dd61b2ee5a92ec19fbb091 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
ded006295f
commit
0f231eb80c
@ -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);
|
||||
|
Reference in New Issue
Block a user