Commit Graph

673 Commits

Author SHA1 Message Date
Jaime Arteaga
ec18046f24 Remove peer allocation from device map when freeing original allocation
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-04 22:42:50 +02:00
Filip Hazubski
caf1ab628a Do not allow mixing cooperative and non-cooperative kernels in an execute
When executing command lists, ensure that all lists contain either cooperative
or non-cooperative kernels. When appending kernels to a command list, do not
allow mixing cooperative and non-cooperative kernels.

Related-To: NEO-4940, NEO-5757

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-03 20:24:33 +02:00
Jaime Arteaga
79a2607c63 Add method to increase stream size when appending new commands
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-03 17:09:26 +02:00
Zbigniew Zdanowicz
7b52f587da Disable timeout for inifinite synchronization time
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-08-03 16:34:07 +02:00
Milczarek, Slawomir
e5237c2368 Enable stateless compression on xehp
Related-To: NEO-5107

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-03 16:01:44 +02:00
Filip Hazubski
2dd0e67e65 Disable overdispatch by default
When disable overdispatch is available:
- change default value of CFE_STATE::ComputeOverdispatchDisable to true.
- change default value of
INTERFACE_DESCRIPTOR_DATA::ThreadGroupDispatchSize to 3u.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-03 15:28:53 +02:00
Zbigniew Zdanowicz
b454bcbfe7 Make KMD wait function non default and available under debug key
Related-To: NEO-5845

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-08-03 11:24:43 +02:00
Bartosz Dunajski
e880cf2ad6 Add xe_hp_sdv unit test target + minor test fixes
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-03 11:12:57 +02:00
Milczarek, Slawomir
eb14d8458b Add helper function to enable stateless compression
Related-To: NEO-5107

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-08-02 14:34:33 +02:00
Compute-Runtime-Validation
1f4a835314 Revert "Add xe_hp_sdv unit test target + minor test fixes"
This reverts commit 6f75d67406.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-08-02 13:48:10 +02:00
Bartosz Dunajski
0ecc7b26b4 Revert "Use UINT64_MAX for infinite event timeout"
This reverts commit 147d9b592a810bf80a192833724a79596ec095b9.

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-08-02 12:54:46 +02:00
Andrzej Janik
e11e00763a Use UINT64_MAX for infinite event timeout
Signed-off-by: Andrzej Janik <andrzej.janik@intel.com>
2021-07-30 22:30:19 +02:00
Kamil Kopryk
4533595274 Rename constructPropertiesForCopyBuffer to constructPropertiesForCopy
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2021-07-30 11:31:56 +02:00
Bartosz Dunajski
6f75d67406 Add xe_hp_sdv unit test target + minor test fixes
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-07-30 10:23:08 +02:00
Mateusz Hoppe
549b458e2f Add UNRECOVERABLE_IF when bufferAllocation is nullptr
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-30 09:59:36 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Sebastian Luzynski
c389db6f1c Add space calculation for SBA instruction
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2021-07-13 12:19:30 +02:00
Kacper Nowak
157bbbfb23 Enable generating & running Level Zero AUB tests
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-07-09 14:12:41 +02:00
Kamil Diedrich
d5fdb949eb Extended import device memory
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-07-07 16:12:36 +02:00
Vinod Tipparaju
fc4a1d608d Refactor immediate command list with kernel operations to use flushTask().
This is applicable for submissions with sync & async command queue modes.

Related-To: LOCI-1988

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-07-07 15:31:38 +02:00
Mateusz Hoppe
bbb27cdb8a L0 Device slice id mapping
Related-To: NEO-5640


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-07-07 15:00:44 +02:00