Commit Graph

574 Commits

Author SHA1 Message Date
Maciej Plewka 4b3b1be191 fix: add heap to residency container instead of calling make resident
Related-To: NEO-11212

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>

There was make resident call outside lock on csr, so in multi thread
scenarios assigned residency task count may be not correct.
Instead of calling make resident allocation is added to
residency container
2024-08-23 14:52:24 +02:00
Chodor, Jaroslaw 360a5bbc96 fix: Use consistently proper size of implicit args buffer
Fixes discrepancy of implicit args buffer allocation and programming

Resolves: NEO-12316

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-08-23 13:32:17 +02:00
Mateusz Hoppe 4c3a0d8344 fix: add missing sba capture when debug enabled
- In global bindless mode SBA may be programmed for scratch allocation,
missing sba capturing caused issues for kernels with scratch.
- this fix adds SBA capturing after SBA command

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-20 09:32:17 +02:00
Compute-Runtime-Validation 9b652f4a34 Revert "feature: Improving information transfer about the copy engine"
This reverts commit 17ffdff4f1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-15 22:06:31 +02:00
Andrzej Koska 17ffdff4f1 feature: Improving information transfer about the copy engine
Related-To: NEO-11934

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-08-14 11:28:29 +02:00
Bartosz Dunajski d76ac1d1de fix: scratch controller residency
Related-To: HSD-18039519400

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-09 14:47:56 +02:00
Kamil Kopryk 775b14a7f6 fix: add ioh alignment in heapless
Related-To: NEO-11871

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-09 12:20:00 +02:00
Zbigniew Zdanowicz 0940776a97 refactor: add before cmake macro for older platforms
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-08-09 11:18:51 +02:00
Kamil Kopryk 2a9bcdeb83 refactor: pass outImplicitArgs to patchImplicitArgs function
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-05 17:31:47 +02:00
Kamil Kopryk 27ba5f5089 refactor: move duplicated code to xeHpc and later
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-01 16:21:25 +02:00
Zbigniew Zdanowicz b33fe6ccf1 feature: adding flag to block dispatch implicit scaling commands
- this feature is part of making compute walker command view
- compute walker is programed for implicit scaling but not dispatched
- together with new flag, comes the refactor to reduce number of arguments

Related-To: NEO-11972

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-31 14:24:27 +02:00
Zbigniew Zdanowicz 7d1b59f008 feature: add option to make compute walker command view
Related-To: NEO-11972

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-30 11:23:45 +02:00
Kamil Kopryk 65fcbff55c refactor: Simplify code
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-29 14:26:51 +02:00
Kamil Kopryk d2546d4062 refactor: add forceComputeWalkerPostSyncFlushWithWrite function
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-26 15:00:46 +02:00
Maciej Plewka 1cd00b5b89 fix: use per product cache line size to align heaps
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-07-24 17:29:20 +02:00
Bartosz Dunajski 9c2acfe5b2 refactor: pass WG count to helper method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-24 16:05:19 +02:00
Maciej Plewka afee8814ef refactor: get ioh alignment from static function
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-07-24 14:43:31 +02:00
Fabian Zwoliński e65451e582 fix: adjust tests to enabled global allocator 6/n
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-23 15:54:35 +02:00
Kamil Kopryk 4008ccea05 fix: add scratch ptr in implicit args patching for L0 regular cmdlists
Related-To: NEO-11874
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-18 14:07:07 +02:00
Michal Mrozek 05eb4e7a0d performance: add debug flag to disable l1 flush
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-07-11 10:09:46 +02:00
Bartosz Dunajski 90d1a210d8 refactor: remove not needed check
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-09 16:11:33 +02:00
Mateusz Jablonski 778645c11e feature: add initial support for Xe2 platforms
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 10:30:27 +02:00
Kamil Kopryk 880aaee16c fix: add scratch ptr in implicit args patching for L0 immediate cmdlists
Related-To: NEO-11874
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-05 12:05:11 +02:00
Mateusz Hoppe 55e6d5c88d performance: program bindless sampler offsets only when necessary
- if samplers are not used, do not call the function amd do not iterate
all args

Related-To: NEO-11503

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-02 17:27:54 +02:00
Kamil Kopryk fbc29bb43d refactor: use indirectDataAlignment from gen cmds
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-06-25 21:02:36 +02:00
Mateusz Hoppe 20452577ab test: add test for scratch when secondary context is used
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-06-05 14:23:44 +02:00
Bartosz Dunajski 76cb97de9d feature: handle in-order counter in copy offload path
Related-To: NEO-11376

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-05-21 16:13:49 +02:00
Kamil Kopryk ce7f578548 refactor: rename pipelined thread thread arbitration policy variable
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-05-20 15:05:52 +02:00
Kamil Kopryk 44ef4c1ef2 refactor: add defaultThreadArbitrationPolicy in cmdlist
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-05-16 13:28:20 +02:00
Mateusz Hoppe 77b817a15c fix: fail when invalid zebin is decoded
- bindless + bindful accesses in single kernel are not supported

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-05-09 15:53:00 +02:00
Katarzyna Cencelewska e9f7df6ae6 refactor: create helper for maxPtssIndex
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-05-07 12:47:52 +02:00
John Falkowski f1c2ea0b69 fix: kernel access to multiple stateful virtual regions
Related-to: NEO-8350

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-04-26 11:18:24 +02:00
Katarzyna Cencelewska eb256f1ffd refactor: use encode surface state to set pitch for scratch
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-04-25 11:57:14 +02:00
Mateusz Hoppe d38ac4806b feature: global bindless sampler offsets
- use global heap base for DSH when bindlessHeapsHelper enabled

Related-To: NEO-10505

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-04-24 21:12:17 +02:00
Zbigniew Zdanowicz 149523b73c feature: add field to reserve extra payload heap space
Related-To: NEO-10066

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-04-24 18:19:43 +02:00
Bartosz Dunajski 44dfa5187a fix: always enable force write completion check on SDI command
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-24 11:51:29 +02:00
Andrzej Koska ae139aeffd refactor: Passing information about the engine
Extension of the interface with information
about the engine type passed to the function

Related-To: NEO-10678

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-04-22 13:33:56 +02:00
Katarzyna Cencelewska 87776f5f25 fix: clean use of coherency type
Related-To: NEO-7083

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2024-04-18 15:58:11 +02:00
Zbigniew Zdanowicz 7c16278bee feature: add option to store walker command content in cpu memory
Related-To: NEO-10066

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-04-17 09:52:37 +02:00
Kamil Kopryk 52b4c75f68 refactor: optimize checking if heapless state init is enabled
Related-To: NEO-7824
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-04-15 19:09:25 +02:00
Kamil Kopryk f10e0e1d0a refactor: remove not needed semicolon
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-04-15 16:13:33 +02:00
Jemale Lockett dd884a0733 fix: stop using gpr15 in non-debug context
Resolves: NEO-11027

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-04-15 12:33:51 +02:00
Kamil Kopryk cfc3b6a8c2 refactor: add heaplessModeEnabled argument to isHeaplessStateInitEnabled
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-04-11 10:08:10 +02:00
Lukasz Jobczyk 4106398002 fix: Restore main command stream when reset cmd list
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-04-10 13:22:50 +02:00
Kamil Kopryk 6ffa756457 refactor: move scratch and kab programming to a function
Related-To: NEO-7824

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-04-10 13:07:39 +02:00
Compute-Runtime-Validation 89b3e7209d Revert "fix: Restore main command stream when reset cmd list"
This reverts commit dc1b60c8e7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-04-09 04:35:45 +02:00
Lukasz Jobczyk dc1b60c8e7 fix: Restore main command stream when reset cmd list
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-04-08 15:16:36 +02:00
Zbigniew Zdanowicz 73d558058c feature: add heapless and global stateless scratch address patching
Related-To: NEO-10381

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-04-03 17:04:35 +02:00
Kamil Kopryk 4eae28bd64 feature: introduce heapless state init in L0
Related-To: NEO-7824
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-04-02 12:34:53 +02:00
Mateusz Hoppe f86d4220a5 feature: add bindless samplers support to level zero
- samplers using bindless adressing require patching bindless offsets to
sampler states on kernel's cross thread data

Related-To: NEO-10505

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-29 08:07:28 +01:00