Remove checking for 32 bit support
Related-To: NEO-6110 Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
parent
34be220943
commit
ec28084ed4
|
@ -31,14 +31,6 @@ bool prepareDeviceEnvironments(ExecutionEnvironment &executionEnvironment) {
|
||||||
unsupportedDeviceDetected = true;
|
unsupportedDeviceDetected = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (is32bit) {
|
|
||||||
#ifdef SUPPORT_XE_HP_SDV
|
|
||||||
if (executionEnvironment.rootDeviceEnvironments[i]->getHardwareInfo()->platform.eProductFamily == IGFX_XE_HP_SDV) {
|
|
||||||
unsupportedDeviceDetected = true;
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
if (unsupportedDeviceDetected) {
|
if (unsupportedDeviceDetected) {
|
||||||
executionEnvironment.rootDeviceEnvironments.erase(executionEnvironment.rootDeviceEnvironments.begin() + i);
|
executionEnvironment.rootDeviceEnvironments.erase(executionEnvironment.rootDeviceEnvironments.begin() + i);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -42,28 +42,6 @@ HWTEST_F(PrepareDeviceEnvironmentsTests, whenPrepareDeviceEnvironmentsIsCalledTh
|
||||||
EXPECT_NE(nullptr, executionEnvironment.rootDeviceEnvironments[0]->getGmmHelper());
|
EXPECT_NE(nullptr, executionEnvironment.rootDeviceEnvironments[0]->getGmmHelper());
|
||||||
}
|
}
|
||||||
|
|
||||||
HWTEST_F(PrepareDeviceEnvironmentsTests, Given32bitApplicationWhenPrepareDeviceEnvironmentsIsCalledThenFalseIsReturned) {
|
|
||||||
REQUIRE_32BIT_OR_SKIP();
|
|
||||||
DebugManagerStateRestore restore;
|
|
||||||
DebugManager.flags.NodeOrdinal.set(0); // Dont disable RCS
|
|
||||||
|
|
||||||
NEO::ExecutionEnvironment executionEnviornment;
|
|
||||||
|
|
||||||
auto returnValue = NEO::prepareDeviceEnvironments(executionEnviornment);
|
|
||||||
|
|
||||||
switch (::productFamily) {
|
|
||||||
case IGFX_UNKNOWN:
|
|
||||||
#ifdef SUPPORT_XE_HP_SDV
|
|
||||||
case IGFX_XE_HP_SDV:
|
|
||||||
#endif
|
|
||||||
EXPECT_FALSE(returnValue);
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
EXPECT_TRUE(returnValue);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
HWTEST_F(PrepareDeviceEnvironmentsTests, givenRcsAndCcsNotSupportedWhenInitializingThenReturnFalse) {
|
HWTEST_F(PrepareDeviceEnvironmentsTests, givenRcsAndCcsNotSupportedWhenInitializingThenReturnFalse) {
|
||||||
REQUIRE_64BIT_OR_SKIP();
|
REQUIRE_64BIT_OR_SKIP();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue