Add support for zeDeviceGetP2PProperties

Related-to: LOCI-2784

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2022-02-01 01:46:54 +00:00
committed by Compute-Runtime-Automation
parent cfc9f385bc
commit 4aef9925b0
20 changed files with 195 additions and 14 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2021 Intel Corporation
* Copyright (C) 2019-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -80,6 +80,8 @@ const RuntimeCapabilityTable EHL::capabilityTable{
false, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false // fusedEuEnabled
};

View File

@@ -81,6 +81,8 @@ const RuntimeCapabilityTable ICLLP::capabilityTable{
true, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2021 Intel Corporation
* Copyright (C) 2019-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -80,6 +80,8 @@ const RuntimeCapabilityTable LKF::capabilityTable{
false, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Intel Corporation
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -78,6 +78,8 @@ const RuntimeCapabilityTable ADLP::capabilityTable{
true, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
true // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2021 Intel Corporation
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -78,6 +78,8 @@ const RuntimeCapabilityTable ADLS::capabilityTable{
true, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
true // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2021 Intel Corporation
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -86,6 +86,8 @@ const RuntimeCapabilityTable DG1::capabilityTable{
true, // levelZeroSupported
false, // isIntegratedDevice
true, // supportsMediaBlock
true, // p2pAccessSupported
false, // p2pAtomicAccessSupported
true // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2020-2021 Intel Corporation
* Copyright (C) 2020-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -78,6 +78,8 @@ const RuntimeCapabilityTable RKL::capabilityTable{
true, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
true // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2019-2021 Intel Corporation
* Copyright (C) 2019-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -82,6 +82,8 @@ const RuntimeCapabilityTable TGLLP::capabilityTable{
true, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
true // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -85,6 +85,8 @@ const RuntimeCapabilityTable BDW::capabilityTable{
false, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false // fusedEuEnabled
};

View File

@@ -82,6 +82,8 @@ const RuntimeCapabilityTable BXT::capabilityTable{
false, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false // fusedEuEnabled
};

View File

@@ -77,6 +77,8 @@ const RuntimeCapabilityTable CFL::capabilityTable{
true, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -77,6 +77,8 @@ const RuntimeCapabilityTable GLK::capabilityTable{
false, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false // fusedEuEnabled
};

View File

@@ -77,6 +77,8 @@ const RuntimeCapabilityTable KBL::capabilityTable{
true, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false // fusedEuEnabled
};

View File

@@ -85,6 +85,8 @@ const RuntimeCapabilityTable SKL::capabilityTable{
true, // levelZeroSupported
true, // isIntegratedDevice
true, // supportsMediaBlock
false, // p2pAccessSupported
false, // p2pAtomicAccessSupported
false // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2018-2021 Intel Corporation
* Copyright (C) 2018-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -65,6 +65,8 @@ struct RuntimeCapabilityTable {
bool levelZeroSupported;
bool isIntegratedDevice;
bool supportsMediaBlock;
bool p2pAccessSupported;
bool p2pAtomicAccessSupported;
bool fusedEuEnabled;
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Intel Corporation
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -82,6 +82,8 @@ const RuntimeCapabilityTable XE_HP_SDV::capabilityTable{
true, // levelZeroSupported
false, // isIntegratedDevice
true, // supportsMediaBlock
true, // p2pAccessSupported
false, // p2pAtomicAccessSupported
true // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Intel Corporation
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -90,6 +90,8 @@ const RuntimeCapabilityTable PVC::capabilityTable{
true, // levelZeroSupported
false, // isIntegratedDevice
false, // supportsMediaBlock
true, // p2pAccessSupported
true, // p2pAtomicAccessSupported
false // fusedEuEnabled
};

View File

@@ -1,5 +1,5 @@
/*
* Copyright (C) 2021 Intel Corporation
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@@ -82,6 +82,8 @@ const RuntimeCapabilityTable DG2::capabilityTable{
true, // levelZeroSupported
false, // isIntegratedDevice
true, // supportsMediaBlock
true, // p2pAccessSupported
false, // p2pAtomicAccessSupported
true // fusedEuEnabled
};