Jaime Arteaga
b057935c7c
Associate shared-allocations with device in multi-device systems
...
When a shared-allocation is created in a multi-device system and
no device is passed during the call, then the allocation needs to be
associated with all the devices. For now, that means we default to
creating the shared-allocation in the host, with no device-backing
memory, so all devices can access it.
However, if a device is passed, then the shared-allocation is
expected to be accessed only by that device, and there is no need
to allocate it solely in the host.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-07-29 20:28:27 +02:00
davidoli
6024ac536a
MultiDevice ActivateMetricGroups enabled
...
Related-To: LOCI-2398
Signed-off-by: davidoli <david.olien@intel.com >
2021-07-29 17:35:21 +02:00
Mayank Raghuwanshi
0f2754e943
Add support for hwmon interface for sysman power
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-07-29 14:53:29 +02:00
Joshua Santosh Ranjan
229ab9e30c
Add tests for sysman schedulder
...
Adding unit tests for scheduler module
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2021-07-29 14:53:15 +02:00
Mateusz Hoppe
89144e494d
Add DebugSession helper methods
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-29 13:21:23 +02:00
Jaime Arteaga
c961301ac7
Add cache flush to appendBarrier
...
Related-To: LOCI-2436
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-07-28 09:35:02 +02:00
Jaroslaw Chodor
7c6c45f5b5
Add option to allocate private mem per dispatch
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-07-27 13:34:12 +02:00
Bartosz Dunajski
cf4972d90e
Update abbreviation string.
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-07-27 11:49:32 +02:00
Jitendra Sharma
478edfc0e4
Sysman: Add support to check if resizable Bar supported
...
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2021-07-27 08:13:08 +02:00
Mateusz Hoppe
c96c1b045a
Pass info about system routine in module debug area
...
Resolves: NEO-6097
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-27 08:08:39 +02:00
Compute-Runtime-Validation
1d1a8473aa
Revert "Add support for ze_kernel_preferred_group_size_properties_t"
...
This reverts commit aa98c9211d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-07-27 05:07:23 +02:00
Jaime Arteaga
aa98c9211d
Add support for ze_kernel_preferred_group_size_properties_t
...
Related-To: LOCI-2313
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-07-26 20:31:38 +02:00
Kamil Kopryk
aed1da7495
Code cleanup - avoid copy 3/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-07-26 12:25:38 +02:00
Mateusz Hoppe
ad5735c60b
Add EuThread class
...
- add thread map to RootDebugSession
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-26 10:29:46 +02:00
Bartosz Dunajski
9f5b3efa73
L0: Add xe_hp_core unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-07-23 17:57:10 +02:00
Mateusz Hoppe
738e62a9ef
Change tested devices scope of preamble tests
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-23 17:23:48 +02:00
Mateusz Hoppe
c4950eb892
Method to get attention bitmask from threads vector
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-23 15:22:22 +02:00
Mateusz Hoppe
b37d46dd3d
Remove not needed virtual keyword
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-23 12:20:20 +02:00
Szymon Morek
1a7c9e63fa
Add method to set force non coherent
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-07-23 11:18:04 +02:00
Zbigniew Zdanowicz
1b4ceb3d11
Use KMD wait function for infinite timeout synchronization
...
Related-To: NEO-5845
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-07-22 19:35:36 +02:00
Vilvaraj, T J Vivek
c2ab7fcf70
add memType and Memory channel support to systemInfo
...
use the updated systemInfo to acquire Memory Type.
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-07-22 18:38:39 +02:00
Bartosz Dunajski
31250b343f
TSP: Move packetsUsed member out of GraphicsAllocation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-07-22 17:04:40 +02:00
Vinod Tipparaju
823dee432a
Optimize UMD to skip PIPE_CONTROL command having DCFlush
...
Related-To: NEO-5927
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2021-07-22 16:52:00 +02:00
bradocaj
2715f03ee2
Tuning of unit test granulatity.
...
Signed-off-by: bradocaj <branislav.radocaj@intel.com >
2021-07-22 15:59:15 +02:00
Jaime Arteaga
4c4823f55e
Add PIPE_CONTROL prior to kernel in L0
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-07-22 10:51:11 +02:00
Jaime Arteaga
803d7cdd8a
Add debug key to print UMD shared migrations
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-07-22 08:37:09 +02:00
Dominik Dabek
99f9079ffc
Use mock env vars in sysman fixture
...
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2021-07-21 17:21:16 +02:00
Jaime Arteaga
2588997e32
Remove memory.cpp from L0 core source
...
It was only hosting two methods, which are better in
driver_handl_imp.cpp
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-07-21 16:45:53 +02:00
Lukasz Jobczyk
9e50138829
Defer ULLS initialization
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-07-21 15:55:16 +02:00
Mateusz Hoppe
8d22247ff2
Add isResumeWARequired()
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-21 09:21:19 +02:00
davidoli
21e9def248
Modify metric query pool create for sub devices
...
Signed-off-by: davidoli <david.olien@intel.com >
2021-07-20 22:41:57 +02:00
Young Jin Yoon
4ba64d2530
Add ze-opt-level support
...
Related-To: LOCI-2315
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2021-07-20 20:34:57 +02:00
Jaime Arteaga
3625344d37
Increase command stream size when appending event reset operations
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-07-20 18:18:29 +02:00
Compute-Runtime-Automation
b9bd014a44
Add fixes to build with gcc11 ( #5325 )
...
* remove Fedora 31 and 32 builds
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
* Add builds on Fedora 33 and 34
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
* Fix build with gcc11
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
* Remove info about EOL'd distributions
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
* clean after build
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
Co-authored-by: Jacek Danecki <jacek.danecki@intel.com >
2021-07-20 17:17:32 +02:00
Kamil Kopryk
ce92b42f63
Code cleanup - avoid copy 2/n
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-07-20 10:44:24 +02:00
Spruit, Neil R
771722f3d7
L0 Support for hints to disable CPU Migration of USM memory
...
- Added support for disabling CPU migration of USM memory given
ZE_MEMORY_ADVICE_SET_READ_MOSTLY && ZE_MEMORY_ADVICE_SET_PREFERRED_LOCATION
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2021-07-20 04:34:16 +02:00
Mateusz Jablonski
6f3c89decb
Add mechanism to migrate multi root device memory
...
invalidate TLB cache if kernel requires migration
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-07-19 19:49:22 +02:00
Mayank Raghuwanshi
f592a82fea
Modify directoryExists function of FsAccess class
...
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-07-19 13:26:02 +02:00
Jaime Arteaga
b28fd75ea1
Set ZE_ENABLE_PCI_ID_DEVICE_ORDER as false by default
...
This to avoid disruptions on performance data in multi-gpu
systems where each gpu may perform differently, when comparing
data before and after last refactor on ZE_ENABLE_PCI_ID_DEVICE_ORDER.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-07-18 06:03:44 +02:00
Bartosz Dunajski
3c88492229
Revert "Extended import device memory"
...
This reverts commit ea6555e788c98314160a11898212c2d664999705.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-07-16 09:56:52 +02:00
Jaime Arteaga
058c30c9a8
Refactor ZE_ENABLE_PCI_ID_DEVICE_ORDER
...
- Make it avaialble also to OpenCL
- Use it before parsing affinity mask, so devices are masked also
following PCI order.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-07-16 01:27:49 +02:00
Szymon Morek
42c5f2235b
Fix calculating maxMemAllocSize
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-07-15 22:10:05 +02:00
Filip Hazubski
f3a67e7fae
Update programming STATE_COMPUTE_MODE
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-07-15 21:07:26 +02:00
Robert Krzemien
c6dc6bf1b9
Metrics Api: Initialize metrics devices for all sub devices
...
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com >
2021-07-15 20:13:26 +02:00
Mateusz Hoppe
4bf6b07e10
Move MultipleDevicesWithCustomHwInfo to device_fixture.h
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-15 16:37:27 +02:00
Krystian Chmielewski
1b2cfbbb1f
Align per thread data size to GRF size
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-07-15 11:53:13 +02:00
Zbigniew Zdanowicz
a869921c2a
Remove RMW from gfx allocations
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-07-15 11:28:03 +02:00
Kamil Diedrich
dd3074f901
Add shareable flag to alloc
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-07-14 13:01:48 +02:00
Mateusz Hoppe
7f1c67c970
Enhance slice remapping testing
...
Related-To: NEO-5640
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-07-14 09:37:50 +02:00
Igor Venevtsev
a955eac9c7
Disable L3 cache for debug surface
...
Related-To: NEO-5783
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-07-13 18:32:48 +02:00