diff --git a/level_zero/core/test/unit_tests/sources/device/test_l0_device.cpp b/level_zero/core/test/unit_tests/sources/device/test_l0_device.cpp index ba7a3e83b3..f4a4f8a6b6 100644 --- a/level_zero/core/test/unit_tests/sources/device/test_l0_device.cpp +++ b/level_zero/core/test/unit_tests/sources/device/test_l0_device.cpp @@ -2746,7 +2746,6 @@ TEST_F(MultipleDevicesTest, whenCallingsetAtomicAccessAttributeForSystemAccessSh void *ptr = reinterpret_cast(0x1234); L0::Device *device0 = driverHandle->devices[0]; - auto &hwInfo = device0->getNEODevice()->getHardwareInfo(); DebugManagerStateRestore restorer; debugManager.flags.UseKmdMigration.set(true); debugManager.flags.EnableRecoverablePageFaults.set(true); @@ -2763,9 +2762,7 @@ TEST_F(MultipleDevicesTest, whenCallingsetAtomicAccessAttributeForSystemAccessSh ze_memory_atomic_attr_exp_flags_t attr = ZE_MEMORY_ATOMIC_ATTR_EXP_FLAG_SYSTEM_ATOMICS; result = context->setAtomicAccessAttribute(device0->toHandle(), ptr, size, attr); - if ((hwInfo.capabilityTable.p2pAccessSupported == true) && (hwInfo.capabilityTable.p2pAtomicAccessSupported == true)) { - EXPECT_EQ(ZE_RESULT_SUCCESS, result); - } + EXPECT_EQ(ZE_RESULT_SUCCESS, result); result = context->freeMem(ptr); ASSERT_EQ(result, ZE_RESULT_SUCCESS); @@ -2929,13 +2926,9 @@ struct MultipleDevicesP2PFixture : public ::testing::Test { NEO::HardwareInfo hardwareInfo = *NEO::defaultHwInfo; - hardwareInfo.capabilityTable.p2pAccessSupported = p2pAccess; - hardwareInfo.capabilityTable.p2pAtomicAccessSupported = p2pAtomicAccess; executionEnvironment->rootDeviceEnvironments[0]->setHwInfoAndInitHelpers(&hardwareInfo); executionEnvironment->rootDeviceEnvironments[0]->initGmm(); - hardwareInfo.capabilityTable.p2pAccessSupported = p2pAccess; - hardwareInfo.capabilityTable.p2pAtomicAccessSupported = p2pAtomicAccess; executionEnvironment->rootDeviceEnvironments[1]->setHwInfoAndInitHelpers(&hardwareInfo); executionEnvironment->rootDeviceEnvironments[1]->initGmm(); @@ -3118,14 +3111,10 @@ struct MultipleDevicesP2PWithXeLinkFixture : public ::testing::Test { EXPECT_EQ(numRootDevices, executionEnvironment->rootDeviceEnvironments.size()); auto hwInfo0 = *NEO::defaultHwInfo; - hwInfo0.capabilityTable.p2pAccessSupported = p2pAccess; - hwInfo0.capabilityTable.p2pAtomicAccessSupported = p2pAtomicAccess; executionEnvironment->rootDeviceEnvironments[0]->setHwInfoAndInitHelpers(&hwInfo0); executionEnvironment->rootDeviceEnvironments[0]->initGmm(); auto hwInfo1 = *NEO::defaultHwInfo; - hwInfo1.capabilityTable.p2pAccessSupported = p2pAccess; - hwInfo1.capabilityTable.p2pAtomicAccessSupported = p2pAtomicAccess; executionEnvironment->rootDeviceEnvironments[1]->setHwInfoAndInitHelpers(&hwInfo1); executionEnvironment->rootDeviceEnvironments[1]->initGmm(); diff --git a/shared/source/gen12lp/hw_info_adln.cpp b/shared/source/gen12lp/hw_info_adln.cpp index 75bc033bb6..354c9a4c13 100644 --- a/shared/source/gen12lp/hw_info_adln.cpp +++ b/shared/source/gen12lp/hw_info_adln.cpp @@ -66,8 +66,6 @@ const RuntimeCapabilityTable ADLN::capabilityTable{ false, // supportsIndependentForwardProgress true, // isIntegratedDevice true, // supportsMediaBlock - false, // p2pAccessSupported - false, // p2pAtomicAccessSupported true, // fusedEuEnabled false, // l0DebuggerSupported; true, // supportsFloatAtomics diff --git a/shared/source/gen12lp/hw_info_adlp.cpp b/shared/source/gen12lp/hw_info_adlp.cpp index b660e89e33..8fdd0ee34d 100644 --- a/shared/source/gen12lp/hw_info_adlp.cpp +++ b/shared/source/gen12lp/hw_info_adlp.cpp @@ -66,8 +66,6 @@ const RuntimeCapabilityTable ADLP::capabilityTable{ false, // supportsIndependentForwardProgress true, // isIntegratedDevice true, // supportsMediaBlock - false, // p2pAccessSupported - false, // p2pAtomicAccessSupported true, // fusedEuEnabled false, // l0DebuggerSupported; true, // supportsFloatAtomics diff --git a/shared/source/gen12lp/hw_info_adls.cpp b/shared/source/gen12lp/hw_info_adls.cpp index 5b7c2cd0aa..52317fcaa6 100644 --- a/shared/source/gen12lp/hw_info_adls.cpp +++ b/shared/source/gen12lp/hw_info_adls.cpp @@ -66,8 +66,6 @@ const RuntimeCapabilityTable ADLS::capabilityTable{ false, // supportsIndependentForwardProgress true, // isIntegratedDevice true, // supportsMediaBlock - false, // p2pAccessSupported - false, // p2pAtomicAccessSupported true, // fusedEuEnabled false, // l0DebuggerSupported; true, // supportsFloatAtomics diff --git a/shared/source/gen12lp/hw_info_dg1.cpp b/shared/source/gen12lp/hw_info_dg1.cpp index 0a98173abb..005f5580f5 100644 --- a/shared/source/gen12lp/hw_info_dg1.cpp +++ b/shared/source/gen12lp/hw_info_dg1.cpp @@ -66,8 +66,6 @@ const RuntimeCapabilityTable DG1::capabilityTable{ false, // supportsIndependentForwardProgress false, // isIntegratedDevice true, // supportsMediaBlock - true, // p2pAccessSupported - false, // p2pAtomicAccessSupported true, // fusedEuEnabled true, // l0DebuggerSupported; true, // supportsFloatAtomics diff --git a/shared/source/gen12lp/hw_info_rkl.cpp b/shared/source/gen12lp/hw_info_rkl.cpp index c97ee1a764..7ecca08e43 100644 --- a/shared/source/gen12lp/hw_info_rkl.cpp +++ b/shared/source/gen12lp/hw_info_rkl.cpp @@ -66,8 +66,6 @@ const RuntimeCapabilityTable RKL::capabilityTable{ false, // supportsIndependentForwardProgress true, // isIntegratedDevice true, // supportsMediaBlock - false, // p2pAccessSupported - false, // p2pAtomicAccessSupported true, // fusedEuEnabled false, // l0DebuggerSupported; true, // supportsFloatAtomics diff --git a/shared/source/gen12lp/hw_info_tgllp.cpp b/shared/source/gen12lp/hw_info_tgllp.cpp index b16e794130..61fcaac501 100644 --- a/shared/source/gen12lp/hw_info_tgllp.cpp +++ b/shared/source/gen12lp/hw_info_tgllp.cpp @@ -66,8 +66,6 @@ const RuntimeCapabilityTable TGLLP::capabilityTable{ false, // supportsIndependentForwardProgress true, // isIntegratedDevice true, // supportsMediaBlock - false, // p2pAccessSupported - false, // p2pAtomicAccessSupported true, // fusedEuEnabled false, // l0DebuggerSupported; true, // supportsFloatAtomics diff --git a/shared/source/helpers/hw_info.h b/shared/source/helpers/hw_info.h index b2af7292ad..4b005e2dab 100644 --- a/shared/source/helpers/hw_info.h +++ b/shared/source/helpers/hw_info.h @@ -53,8 +53,6 @@ struct RuntimeCapabilityTable { bool supportsIndependentForwardProgress; bool isIntegratedDevice; bool supportsMediaBlock; - bool p2pAccessSupported; - bool p2pAtomicAccessSupported; bool fusedEuEnabled; bool l0DebuggerSupported; bool supportsFloatAtomics; diff --git a/shared/source/xe2_hpg_core/hw_info_bmg.cpp b/shared/source/xe2_hpg_core/hw_info_bmg.cpp index dd5df3cd49..9d00da3b8a 100644 --- a/shared/source/xe2_hpg_core/hw_info_bmg.cpp +++ b/shared/source/xe2_hpg_core/hw_info_bmg.cpp @@ -69,8 +69,6 @@ const RuntimeCapabilityTable BMG::capabilityTable{ true, // supportsIndependentForwardProgress false, // isIntegratedDevice false, // supportsMediaBlock - false, // p2pAccessSupported - false, // p2pAtomicAccessSupported false, // fusedEuEnabled true, // l0DebuggerSupported; true, // supportsFloatAtomics diff --git a/shared/source/xe2_hpg_core/hw_info_lnl.cpp b/shared/source/xe2_hpg_core/hw_info_lnl.cpp index 18b75eb2ce..e3c32f5bad 100644 --- a/shared/source/xe2_hpg_core/hw_info_lnl.cpp +++ b/shared/source/xe2_hpg_core/hw_info_lnl.cpp @@ -67,8 +67,6 @@ const RuntimeCapabilityTable LNL::capabilityTable{ true, // supportsIndependentForwardProgress true, // isIntegratedDevice false, // supportsMediaBlock - false, // p2pAccessSupported - false, // p2pAtomicAccessSupported false, // fusedEuEnabled true, // l0DebuggerSupported; true, // supportsFloatAtomics diff --git a/shared/source/xe3_core/hw_info_ptl.cpp b/shared/source/xe3_core/hw_info_ptl.cpp index a26560a9b4..92d71234dc 100644 --- a/shared/source/xe3_core/hw_info_ptl.cpp +++ b/shared/source/xe3_core/hw_info_ptl.cpp @@ -67,8 +67,6 @@ const RuntimeCapabilityTable PTL::capabilityTable{ true, // supportsIndependentForwardProgress true, // isIntegratedDevice false, // supportsMediaBlock - false, // p2pAccessSupported - false, // p2pAtomicAccessSupported false, // fusedEuEnabled true, // l0DebuggerSupported; true, // supportsFloatAtomics diff --git a/shared/source/xe_hpc_core/hw_info_pvc.cpp b/shared/source/xe_hpc_core/hw_info_pvc.cpp index 8eebc0fcb3..6441818650 100644 --- a/shared/source/xe_hpc_core/hw_info_pvc.cpp +++ b/shared/source/xe_hpc_core/hw_info_pvc.cpp @@ -79,8 +79,6 @@ const RuntimeCapabilityTable PVC::capabilityTable{ true, // supportsIndependentForwardProgress false, // isIntegratedDevice false, // supportsMediaBlock - true, // p2pAccessSupported - true, // p2pAtomicAccessSupported false, // fusedEuEnabled true, // l0DebuggerSupported; true, // supportsFloatAtomics diff --git a/shared/source/xe_hpg_core/hw_info_arl.cpp b/shared/source/xe_hpg_core/hw_info_arl.cpp index 77693ec79d..39cf3c5b9e 100644 --- a/shared/source/xe_hpg_core/hw_info_arl.cpp +++ b/shared/source/xe_hpg_core/hw_info_arl.cpp @@ -64,8 +64,6 @@ const RuntimeCapabilityTable ARL::capabilityTable{ false, // supportsIndependentForwardProgress true, // isIntegratedDevice true, // supportsMediaBlock - false, // p2pAccessSupported - false, // p2pAtomicAccessSupported true, // fusedEuEnabled true, // l0DebuggerSupported true, // supportsFloatAtomics diff --git a/shared/source/xe_hpg_core/hw_info_dg2.cpp b/shared/source/xe_hpg_core/hw_info_dg2.cpp index ce2b49fb43..1c15713f5c 100644 --- a/shared/source/xe_hpg_core/hw_info_dg2.cpp +++ b/shared/source/xe_hpg_core/hw_info_dg2.cpp @@ -69,8 +69,6 @@ const RuntimeCapabilityTable DG2::capabilityTable{ false, // supportsIndependentForwardProgress false, // isIntegratedDevice true, // supportsMediaBlock - true, // p2pAccessSupported - false, // p2pAtomicAccessSupported true, // fusedEuEnabled true, // l0DebuggerSupported true, // supportsFloatAtomics diff --git a/shared/source/xe_hpg_core/hw_info_mtl.cpp b/shared/source/xe_hpg_core/hw_info_mtl.cpp index f8bef2975e..6052a9fe37 100644 --- a/shared/source/xe_hpg_core/hw_info_mtl.cpp +++ b/shared/source/xe_hpg_core/hw_info_mtl.cpp @@ -65,8 +65,6 @@ const RuntimeCapabilityTable MTL::capabilityTable{ false, // supportsIndependentForwardProgress true, // isIntegratedDevice true, // supportsMediaBlock - false, // p2pAccessSupported - false, // p2pAtomicAccessSupported true, // fusedEuEnabled true, // l0DebuggerSupported true, // supportsFloatAtomics