Filip Hazubski
80b520bc9b
Change ThreadArbitrationPolicy enum type to int32_t
...
Change ThreadArbitrationPolicy::NotPresent value to -1
Update initial values to ThreadArbitrationPolicy::NotPresent
Related-To: NEO-6728
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-07 20:04:24 +01:00
Compute-Runtime-Validation
d06bbd07e5
Revert "Add ze_eu_count_t to get total number of EUs"
...
This reverts commit 30ea8ea48e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-04 06:55:17 +01:00
Jaime Arteaga
30ea8ea48e
Add ze_eu_count_t to get total number of EUs
...
Related-To: LOCI-2667
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-03-03 01:30:59 +01:00
Joshua Santosh Ranjan
10f98b45db
Metrics Add Os specific implementation Structure for IP Sampling
...
This patch adds OS specific implementation for IP Sampling.
Implementation for linux is provided as part of this patch.
Related-To: LOCI-2787
--- master-files
level_zero/tools/source/metrics/linux/os_metric_ip_sampling_imp_linux.cpp
level_zero/tools/source/metrics/os_metric_ip_sampling.h
level_zero/tools/source/metrics/windows/os_metric_ip_sampling_imp_windows.cpp
level_zero/tools/test/unit_tests/sources/metrics/linux/test_metric_ip_sampling_linux_prelim.cpp
level_zero/tools/test/unit_tests/sources/metrics/linux/test_metric_ip_sampling_linux_upstream.cpp
level_zero/tools/test/unit_tests/sources/metrics/windows/test_metric_ip_sampling_windows.cpp
--- master-files
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-02-18 23:15:44 +01:00
Compute-Runtime-Validation
83025da96f
Revert "Add ze_eu_count_t to get total number of EUs"
...
This reverts commit 24c18beada .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-17 09:42:22 +01:00
Jaime Arteaga
24c18beada
Add ze_eu_count_t to get total number of EUs
...
Related-To: LOCI-2667
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-02-16 17:25:26 +01:00
Bartosz Dunajski
4b0d986876
Move AllocationType enum out of GraphicsAllocation class
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-02-04 17:49:09 +01:00
Joshua Santosh Ranjan
f1c50a8c89
Metric Refactor Metric Context
...
Rename Metric Context and move OA specific functions
and members from Metric Context to OA specific class(MetricSource).
This refactoring is done so that additional Metric Source
like Stall Sampling could be Seamlessly implemented.
Related-To: LOCI-2753
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-02-03 21:34:14 +01:00
Compute-Runtime-Validation
900e63102c
Revert "Add ze_eu_count_t to get total number of EUs"
...
This reverts commit efdfdeba7f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-02 02:59:25 +01:00
Jaime Arteaga
4aef9925b0
Add support for zeDeviceGetP2PProperties
...
Related-to: LOCI-2784
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-02-01 17:06:43 +01:00
Mateusz Hoppe
4d8d2412f9
Add subslice ID remapping for single slice configs
...
Related-To: NEO-6565
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-02-01 16:38:57 +01:00
Jaime Arteaga
efdfdeba7f
Add ze_eu_count_t to get total number of EUs
...
Related-To: LOCI-2667
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-02-01 00:19:08 +01:00
Zbigniew Zdanowicz
8aaa927869
Return default context for multi-tile device in low-priority queue
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-20 14:48:11 +01:00
Zbigniew Zdanowicz
4238679078
Refactor implicit scaling device support
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-18 13:08:43 +01:00
Compute-Runtime-Validation
b249c10e09
Revert "Add ze_eu_count_t to get total number of EUs"
...
This reverts commit 635c02e1ff .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-10 20:06:52 +01:00
Jaime Arteaga
635c02e1ff
Add ze_eu_count_t to get total number of EUs
...
Related-To: LOCI-2667
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-01-06 17:38:56 +01:00
Young Jin Yoon
32ccf30c61
Add support for pci_ext_properties_t
...
Added API definition in ze_device.cpp, and added function declaration of
getPciProperties() in device.h and device_imp.cpp
Initially returns -1 for all values of ze_pci_speed_ext_t for now, simply
because we do not have function to retrieve the information of the PCI
speed.
Related-To: LOCI-2669
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2022-01-05 10:43:54 +01:00
Jaime Arteaga
dfe2be6e1a
Remove EnableCrossDeviceAccess
...
And rely now on querying the KMD for support.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-12-22 09:13:11 +01:00
Michal Mrozek
62faecf6d5
Optimize virtual calls #2 .
...
Optimize frequently used virtual cost.
Compiler cannot inline those which causes overhead.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-12-16 16:26:59 +01:00
Michal Mrozek
b4ad6e011f
Restore assert.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-12-16 13:37:26 +01:00
Michal Mrozek
dc44b13b53
Optimize getRootDeviceIndex.
...
Virtual functions are not easily optimizable by compiler,
so making this normal function.
This function is called heavily so it needs to be highly optimized.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-12-16 11:53:12 +01:00
Filip Hazubski
64aec8dc4e
Rename functions
...
Rename getEngines to getAllEngines
Rename engines to allEngines
Rename getEngineGroups to getRegularEngineGroups
Rename engineGroups to regularEngineGroups
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-13 14:27:02 +01:00
Lukasz Jobczyk
3fd938a124
Destroy allocations list when reset device
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-13 13:16:14 +01:00
Raiyan Latif
abb91a7dae
Return error in canAccessPeer when P2P appendMemoryCopy fails
...
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2021-12-10 10:19:53 +01:00
Joshua Santosh Ranjan
06be26fd1e
Add uuid support using inband information
...
Added chipset specific uuid retrieving functionality
This is used by zeDeviceGetProperties
Related-To: LOCI-2636
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2021-12-10 08:02:33 +01:00
Filip Hazubski
cf4ce308d9
Rename function
...
Rename multiDeviceCapable to implicitScalingCapable
Rename isMultiDeviceCapable to isImplicitScalingCapable
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-09 11:14:08 +01:00
Barigou, Youcef
ac2b1d403b
- Fix memProperties flags to be set to zero
...
Signed-off-by: Barigou, Youcef <youcef.barigou@intel.com >
2021-12-08 23:51:26 +01:00
Filip Hazubski
2098b0c3fa
Refactor Device::engineGroups to store only available engine groups
...
Simplify logic around engine groups.
Remove no longer needed code.
Ensure correct device is used when verifying engine groups.
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-06 18:27:31 +01:00
Lukasz Jobczyk
c455c0f9c6
Remove "Update Device::engineGroups"
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-03 10:16:40 +01:00
Filip Hazubski
4461b8ea3f
Refactor: Update Device::engineGroups to store only available engine groups
...
Simplify logic around engine groups.
Remove no longer needed code.
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-02 15:10:22 +01:00
Filip Hazubski
f00cae09d6
Return error when incorrect group ordinal is given on command list creation
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-11-29 19:42:53 +01:00
Bartosz Dunajski
ee29dc5c13
Fix L0 device caps
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-26 15:05:08 +01:00
Zbigniew Zdanowicz
e857979406
Refactor multi context device checker
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-25 20:17:14 +01:00
Zbigniew Zdanowicz
357f650b8b
Unify code for check is implicit scaling enabled
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-24 12:41:00 +01:00
Zbigniew Zdanowicz
2b60cadf1e
Use implicit scaling conditions to check for multi context device
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-23 15:27:48 +01:00
Mateusz Jablonski
babdbfb0cf
Rename L0 Device method
...
remove gmock from mock device
add macros to define mock methods with ref return
Related-To: NEO-4914
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-16 22:01:14 +01:00
Spruit, Neil R
9c6433e55e
Fix to L3 Caching given unaligned memory & hostPtrCopy only for src host ptrs
...
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2021-11-16 00:44:46 +01:00
Zbigniew Zdanowicz
f90932cca7
Use references instead copy ctors
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-15 14:42:33 +01:00
Filip Hazubski
7af07b6d8c
Update cooperative dispatch logic
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-11-09 18:23:25 +01:00
Igor Venevtsev
4286b3a55c
Reserve precise amount of memory for debug surface
...
Resolves: LOCI-2209
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-10-15 12:19:51 +02:00
Bartosz Dunajski
7fa3d0e8f6
Improve L0 Device creation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-10-15 10:18:40 +02:00
Bartosz Dunajski
8605f06435
Fix L0 SubDevice creation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-10-13 16:55:17 +02:00
Mateusz Jablonski
bf25853799
Move some mocks to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-10-12 21:46:53 +02:00
Raiyan Latif
0859f99d64
Enable zeDeviceCanAccessPeer
...
- Propagate return value up from Batch Buffer exec
- Add zeDeviceCanAccessPeer functionality
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2021-10-12 09:38:22 +02:00
Milczarek, Slawomir
afa45bd9e7
Add support for mem advise to set cache policy in buffer object
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2021-10-07 22:16:58 +02:00
Zbigniew Zdanowicz
279181a384
Remove not needed include header
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-10-06 21:32:40 +02:00
Jaime Arteaga
62de443660
Add copy engine support for USM shared migration
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-10-06 10:43:31 +02:00
Jitendra Sharma
cfad41f28a
Introduce new interface for reinitializing level zero device
...
This change introduce
- new method deviceReinit, which could be used, to reinitialize
existing level zero device.
Related-To: LOCI-2612
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-10-06 07:16:33 +02:00
Robert Krzemien
b5e0d32fe1
Metric Api: Fix activation for sub devices
...
Resolves: LOCI-2611
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com >
2021-10-05 18:39:22 +02:00
Bartosz Dunajski
7f3b90b07f
Enable Engine Instanced SubDevices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-09-29 12:01:34 +02:00