From ec28084ed4ee08e4a69c8922526a10c0e67b2829 Mon Sep 17 00:00:00 2001 From: Dominik Dabek Date: Tue, 3 Aug 2021 14:32:51 +0000 Subject: [PATCH] Remove checking for 32 bit support Related-To: NEO-6110 Signed-off-by: Dominik Dabek --- opencl/source/dll/get_devices.cpp | 8 ------- .../unit_test/windows/get_devices_tests.cpp | 22 ------------------- 2 files changed, 30 deletions(-) diff --git a/opencl/source/dll/get_devices.cpp b/opencl/source/dll/get_devices.cpp index e478c5c483..693735b0bc 100644 --- a/opencl/source/dll/get_devices.cpp +++ b/opencl/source/dll/get_devices.cpp @@ -31,14 +31,6 @@ bool prepareDeviceEnvironments(ExecutionEnvironment &executionEnvironment) { 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) { executionEnvironment.rootDeviceEnvironments.erase(executionEnvironment.rootDeviceEnvironments.begin() + i); } else { diff --git a/opencl/test/unit_test/windows/get_devices_tests.cpp b/opencl/test/unit_test/windows/get_devices_tests.cpp index 070c3b47b3..7090aae5b6 100644 --- a/opencl/test/unit_test/windows/get_devices_tests.cpp +++ b/opencl/test/unit_test/windows/get_devices_tests.cpp @@ -42,28 +42,6 @@ HWTEST_F(PrepareDeviceEnvironmentsTests, whenPrepareDeviceEnvironmentsIsCalledTh 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) { REQUIRE_64BIT_OR_SKIP();