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
Compute-Runtime-Validation
33f88884bd
Revert "Add copy engine support for USM shared migration"
...
This reverts commit 91e9587a07 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-09-28 19:48:14 +02:00
Jaime Arteaga
91e9587a07
Add copy engine support for USM shared migration
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-09-28 15:30:59 +02:00
John Falkowski
a59ededd00
update num_sublices based upon implicit scaling
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2021-09-23 04:31:28 +02:00
Joshua Santosh Ranjan
d6bb9bf0dd
Metrics MultiDevice Support Add SubDevice Check
...
Adding isSubdevice check to support multi devices
Related-To: LOCI-2554
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2021-09-22 09:45:08 +02:00
Kacper Nowak
abbe98be07
Fix allocating graphics memory for patterns in appendMemoryFill
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2021-09-16 16:20:10 +02:00
Young Jin Yoon
4234a19b69
Add support for ze_scheduling_hint_exp_properties
...
Related-To: LOCI-2319
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2021-09-14 09:30:03 +02:00
Rafal Maziejuk
f6c8fb47bb
Delete unused L0 function
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-4541
2021-09-13 14:22:59 +02:00
Mateusz Hoppe
09e8bc4eda
Return attach flag when state save area header available
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-09-08 19:25:22 +02:00
Kamil Kopryk
4f15365dae
Correct getDeviceMemoryName
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6112
2021-09-07 09:23:31 +02:00
Filip Hazubski
3d6d4acda2
Update isCooperativeDispatchSupported
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-09-02 17:36:58 +02:00
Bartosz Dunajski
0345d9f707
Improve queries with number of SubDevices
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-09-01 14:01:57 +02:00
Bartosz Dunajski
92000bd75b
Improve Device getter to support EngineInstanced Device with single Engine
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-08-31 15:50:23 +02:00