Commit Graph

1607 Commits

Author SHA1 Message Date
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
Filip Hazubski
cb81078d40 Add disableOverdispatch to FrontEndProperties
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-07-29 17:05:47 +02:00
Szymon Morek
e836f994f6 Correct maxMemAllocSize for multitile devices
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-07-29 14:32:42 +02:00
Bartosz Dunajski
949c90fc0d Update BCS test checker
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-29 14:09:41 +02:00
Bartosz Dunajski
65f02858ea Add support for multi tile blit transfers
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-29 13:21:09 +02:00
Bartosz Dunajski
3e213c9c06 Add xe_hp_core shared tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-28 16:59:09 +02:00
Szymon Morek
74e6c74071 Disable shareable allocs with huge size
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-07-28 15:52:27 +02:00
Mateusz Jablonski
113cef8977 Add missing includes
Signed-off-by: Florian Minnecker <florian.github@minnecker.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-28 10:51:17 +02:00
Bartosz Dunajski
214deac4dc Add Blit and HwHelper tests
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-27 14:47:48 +02:00
Krystian Chmielewski
7dea397f22 Decode collection attributes in exec env
Add support for decoding required work group size and work gorup walk
order dimensions in zebin.

Related-To: NEO-6088
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-07-27 14:09:30 +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
Rafal Maziejuk
78aeef801a Add additional pipe control arguments check
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2021-07-26 15:33:33 +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
Maciej Plewka
e87056fb4d Implement WA for 2d Images
Related-To: NEO-5659, NEO-5654, NEO-5653

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-07-26 10:26:28 +02:00
Compute-Runtime-Validation
f6efba9a26 Revert "Use latest sent task count for Linux flush stamp"
This reverts commit 566415a1f5.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-07-24 10:02:26 +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
Zbigniew Zdanowicz
566415a1f5 Use latest sent task count for Linux flush stamp
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-07-23 17:35:00 +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 Jablonski
f5dca9e14c Prevent double-free in StackVec's move-assignment operator
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-23 11:52:05 +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
Mateusz Hoppe
6486b3574d Set MaxEusPerSubslice from topology if not already set
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-22 19:29:08 +02:00
Mateusz Jablonski
575445dbb5 Minor code cleanup
prevent nullptr dereference

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-22 19:25:23 +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
Lukasz Jobczyk
f22251f68a Add remaining external allocation types for local bank selector
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-22 16:57:37 +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
Kamil Kopryk
aa70ad0aee Simplify code
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2021-07-22 14:58:37 +02:00
Lukasz Jobczyk
0f6484755a Chceck all BCS types in direct submission initialization
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-22 09:31:31 +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
Lukasz Jobczyk
890eec6105 Separate local memory usage tracking for internal and external
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2021-07-22 07:52:43 +02:00
Bartosz Dunajski
c7aa5e0317 Update ftr flags
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-21 19:28:51 +02:00
Mateusz Jablonski
54b4b18fa0 Enable multi root device contexts by default
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-07-21 16:16:57 +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
lgotszal
3187be3c76 remove unused files
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-07-21 13:01:03 +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
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
Krystian Chmielewski
78abc1c6fd Add work dimensions payload arg to zebin
Related-To: NEO-5833
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-07-20 16:30:27 +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
Jaime Arteaga
fa26f2b075 Fix typo
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-07-19 22:10:38 +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
Bartosz Dunajski
7a99bcc2f7 Add shared tests for xe_hp_core
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-19 18:06:53 +02:00
Dominik Dabek
b67fdb2ade Enable workgroup WA on different steppings
Related-To: NEO-6022

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-07-19 16:21:05 +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
e939e97384 Dont replicate GPU_TIMESTAMP_DEVICE_BUFFER
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-16 15:23:50 +02:00
Krystian Chmielewski
9c7d8a183b Decode zebin reloc types
Change LinkerInput::RelocationInfo::Type to be compliant with zebin
relocation types.
Add support for setting relocation type if zebin relocation
type is set.
Continue supporting R_AMD64_64 and R_AMD64_32 relocation types for
backward compatibility

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-07-16 12:33:51 +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
Jaroslaw Chodor
78499ca48d Mitigation for WDDM_LINUX allocation size limits
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-07-16 03:36:19 +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