Kacper Nowak
f1c64adb3c
fix(ocl): Fix potential mem leak + simplify code
...
- Fix potential memleak in case ASSERT returns false and test gets
aborted
- Remove not needed function argument
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-03-27 13:31:42 +02:00
Milczarek, Slawomir
5936734550
Add regkey to set preferred location for kmd-migrated shared allocation
...
The regkey SetVmAdvisePreferredLocation sets the KMD VM advise
with preferred location for KMD-migrated shared allocation
(default - none, 1 - system, 2 - device memory).
Related-To: NEO-7252
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-03-27 12:48:46 +02:00
Dunajski, Bartosz
e49e245bec
Revert "Disable RelaxedOrdering if UpdateTagFromWait is disabled"
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-27 11:47:10 +02:00
Compute-Runtime-Validation
b1fba762fd
Revert "Correct dg1 host mem capabilities"
...
This reverts commit 41ac42978c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-26 13:21:41 +02:00
Dunajski, Bartosz
b3c2fa41c5
OCL: Optimize IOQ barriers handling
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-24 12:52:47 +01:00
Kamil Kopryk
41ac42978c
Correct dg1 host mem capabilities
...
Related-To: NEO-7470
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-03-24 10:33:08 +01:00
Zbigniew Zdanowicz
b4cce380c8
Revert "Enable state base address tracking"
...
This reverts commit 6fb905acb2 .
Resolves: HSD-18028477709
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-24 10:20:36 +01:00
Spruit, Neil R
9a056318a4
fix_l0:Unbind immediately during unmap
...
- Explicitly force unbind of Buffer Objects during unmap to ensure that
Buffer Objects can be reused in the same application.
Related-To: LOCI-4162
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-03-23 18:47:48 +01:00
Maciej Bielski
3ec0a637ba
fix(l0): return API error on ISA allocation OOM
...
It is possible that a module has so many kernels that the 4GB limit of
GPU VA is depleted when each kernel allocates a 64 KB page for its own
ISA. In such case, propagate the ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY to
the API caller to indicate the actual problem.
Currently such scenario is not detected, the execution advances a bit
further and the following crashes do not let the user to easily
understand what happened.
Related-To: NEO-7788
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2023-03-23 17:30:15 +01:00
Zbigniew Zdanowicz
ef12312672
[perf] add selective properties update for one-time and multi-time properties
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-23 15:59:50 +01:00
Zbigniew Zdanowicz
38e50007f7
[perf] simplify memory layout of command container class
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-23 13:31:47 +01:00
Zbigniew Zdanowicz
179429b25c
Add stateless arguments checker for single kernel
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-23 10:55:15 +01:00
Dunajski, Bartosz
151aecc8bd
Disable RelaxedOrdering if UpdateTagFromWait is disabled
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-22 18:15:39 +01:00
Cencelewska, Katarzyna
1624ad911b
wa: set flag ForceDummyBlitWa to -1 to apply wa properly on mtl
...
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-03-22 13:32:15 +01:00
Francois Dugast
e2a4cd0d48
xe: Add IOCTL support for GemCreate
...
This is needed to execute some workloads with iGPUs.
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
2023-03-22 12:20:13 +01:00
Compute-Runtime-Validation
7b5897d585
Revert "wa: set flag ForceDummyBlitWa to -1 to apply wa properly"
...
This reverts commit 095f5a773a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-22 10:42:46 +01:00
Compute-Runtime-Validation
7785a27f2f
Revert "feature usm: allocate host / shared USM in HEAP_EXTENDED"
...
This reverts commit 2d0c61aa33 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-22 02:36:23 +01:00
Mateusz Jablonski
5610eae710
refactor: fix typo Barrierl -> Barrier
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-21 15:58:24 +01:00
Zbigniew Zdanowicz
6fb905acb2
Enable state base address tracking
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-21 15:53:24 +01:00
Mateusz Jablonski
415d2cb121
fix xe: add missing wait on fence before unbind
...
Related-To: NEO-7306
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-21 15:37:44 +01:00
Mateusz Jablonski
2d0c61aa33
feature usm: allocate host / shared USM in HEAP_EXTENDED
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-21 15:31:33 +01:00
Igor Venevtsev
062abef8ef
Revert "Deferred deletion of allocations in main thread"
...
This reverts commit 2ea734491a .
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-03-20 18:17:15 +01:00
Cencelewska, Katarzyna
095f5a773a
wa: set flag ForceDummyBlitWa to -1 to apply wa properly
...
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-03-20 09:41:31 +01:00
John Falkowski
a1e2eca9e8
Add zeMemGetAllocProperties extension for sub-allocations
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-03-17 21:21:44 +01:00
Mateusz Hoppe
c0794bd974
feature: assert support - decode zebin argument
...
Related-To: NEO-5753
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-17 11:15:13 +01:00
Cencelewska, Katarzyna
a4a296d59f
wa: enable wa to add additional dummy blits after blit copy
...
- reduce number of dummy blits where are not needed
- track if dummy blit required in cmdlist
Related-To: NEO-7450
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-03-17 10:43:00 +01:00
Fabian Zwolinski
65c73a690f
Introduce Online, Offline, Disabled DebuggingModes
...
This change allows to set DebuggingMode via
ZET_ENABLE_PROGRAM_DEBUGGING env var
0: Disabled
1: Online
2: Offline
Related-To: NEO-7630
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-17 09:31:17 +01:00
Zbigniew Zdanowicz
bc4e540c33
[fix] unify heaps size programing
...
- share same code between csr and cmd container to get default heap size
- share handling of debug flag to change heap size
- share platform level surface heap size between csr and command list
- refactor heap size files
- put heap size constant and function into namespace
- command list surface heap size increased to 2MB for xehp+ to match csr
- command list increased surface heap size only for sba tracking
- sba tracking heap consumption increased due to different reset policy
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-17 08:34:06 +01:00
Kulkarni, Ashwin Kumar
ae566a42d8
Disable context creation when NEO_L0_SYSMAN_NO_CONTEXT_MODE is set
...
Related-To: LOCI-4031
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2023-03-16 19:14:46 +01:00
Zbigniew Zdanowicz
f348bf78a3
[fix] allow to use all available command buffer size after reset
...
- this change uses unified approach to reuse command buffer
- unified method takes all available space when reseting stream
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-16 12:48:52 +01:00
Mateusz Hoppe
0204761add
feature: gpu assert implementation
...
- allocate assert buffer when kernel has assert
- track assert kernels in cmdlists and cmdqueues
- check and print assert at sync calls: cmdqueue synchronize(), fence
synchronize(), event hostSynchronize(), synchronous imm cmdlists
append()
Related-To: NEO-5753
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-15 19:22:09 +01:00
Zbigniew Zdanowicz
e645f58b65
[fix] Do not reset state heap position for command list reset
...
- state base address tracking allows to reuse base address state
- surface state slots can be reused after sba reload or cache flush
- to avoid cache flush after each reset, then allow to gradualy consume heaps
- only until natural heap depletion and then dispatch reload of sba state
Related-To : NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-15 19:04:20 +01:00
Filip Hazubski
0bee81c0c0
refactor: Move isLinearStoragePreferred function from gfx to product helper
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-03-15 18:51:59 +01:00
Fabian Zwolinski
93a30f002b
L0 Debugger - check debug_eu entry.
...
Related-To: NEO-7790
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-15 16:14:49 +01:00
Lukasz Jobczyk
79075a3e92
Make command buffers resident at cmd container init
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-03-15 16:11:29 +01:00
Milczarek, Slawomir
eff7439eca
[perf] Set local memory pool for kmd-migrated shared allocation
...
Select ccs engine for usm device and shared allocations
(i.e. for transfers from local to local).
Related-To: NEO-7252
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-03-15 16:02:37 +01:00
Mateusz Jablonski
e3c5cbc22f
fix ocl/ocloc: expose cl_ext_float_atomics for OCL 2.0+
...
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-15 14:48:17 +01:00
Dunajski, Bartosz
686790274d
Disable OCL RelaxedOrdering if tag update is required
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-15 14:44:05 +01:00
Mateusz Hoppe
e62c5e25d5
refactor: change debugging enabled to debugging mode
...
Related-To: NEO-7630
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-15 13:41:41 +01:00
Mateusz Jablonski
db719b2acb
refactor: rename function getExtensions->getDeviceExtensions
...
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-15 12:46:46 +01:00
Compute-Runtime-Validation
3e1d931296
Revert "L0 Debugger - check debug_eu entry"
...
This reverts commit 9f935276a0 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-15 12:28:08 +01:00
Mateusz Jablonski
028e1bb1b6
fix ocloc: define extensions in one place
...
unify exposed device extensions between OCL and ocloc
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-15 11:14:46 +01:00
Dunajski, Bartosz
60741b05aa
Add missing struct member initialization
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-15 10:09:05 +01:00
Michal Mrozek
593b3cf4fd
Revert "[performance] do not perform migrations if not needed."
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2023-03-14 19:08:19 +01:00
Zbigniew Zdanowicz
b6d0a64638
Revert: "compute events select device memory for xe hpg family"
...
This reverts commit 072233d170 .
Resolves: HSD-18028222329
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-14 17:18:59 +01:00
Mateusz Jablonski
faba16f657
refactor: move extensions string creation to CompilerProductHelper
...
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-14 16:27:21 +01:00
Dunajski, Bartosz
477448c097
RelaxedOrdering dispatch for OCL 2/n
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-14 15:48:06 +01:00
Mateusz Jablonski
39eab81c83
refactor: add separate helper for extension support
...
cl_intel_subgroup_split_matrix_multiply_accumulate
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-14 15:08:29 +01:00
Fabian Zwolinski
1e4c91fb08
Do not disable scratch pages when dbgr is enabled
...
Related-To: NEO-7990
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-14 15:03:18 +01:00
Mateusz Jablonski
79281f4995
disallow using special mode of operation in XY_FAST_COLOR_BLT
...
Resolved: NEO-7803
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-14 14:10:39 +01:00