Remove checking for 32 bit support

Related-To: NEO-6110

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
This commit is contained in:
Dominik Dabek 2021-08-03 14:32:51 +00:00 committed by Compute-Runtime-Automation
parent 34be220943
commit ec28084ed4
2 changed files with 0 additions and 30 deletions

View File

@ -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 {

View File

@ -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();