Commit Graph

2600 Commits

Author SHA1 Message Date
Lukasz Jobczyk
4fd219cdbb performance: Stop direct submission before removing host ptrs
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-05-07 13:25:09 +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
Bartosz Dunajski
d3f28b92c9 fix: report sync dispatch extension only if implicit scaling enabled
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-05-07 12:42:24 +02:00
Mateusz Hoppe
d35d8727e5 fix: use primaryCsr allocations when csr has primaryCsr set
- global fence allocation
- global stateless heap allocation
- preemption allocation
- debug surface allocation

all above are shared from primary csr

Related-To: NEO-7824


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-05-07 02:41:24 +02:00
Weronika Kapusta
d6c16c1640 fix: remove compiler cache legacy implementation
Related-To: NEO-10679

Signed-off-by: Weronika Kapusta <weronika.kapusta@intel.com>
2024-05-06 18:28:35 +02:00
Zbigniew Zdanowicz
e2a3c21e1c feature: add mcl functions to dispatch table
Related-To: NEO-10062

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-05-06 16:28:25 +02:00
Szymon Morek
83e8ae4a20 performance: Reuse GPU timestamp instead of KMD escape
This can be enabled only if related
debug flag will be set.

Related-To: NEO-10615

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-05-06 14:46:30 +02:00
Mateusz Hoppe
0a59a26a2c fix: add missing residency management in heapless mode
Related-To: NEO-7824

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-05-06 11:27:38 +02:00
Zbigniew Zdanowicz
6bcf3eb41d feature: add update capability flags
Related-To: NEO-10063

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-05-06 10:51:47 +02:00
Bartosz Dunajski
806da85ec6 refactor: prework to pass interrupt hint
Related-To: NEO-8179

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-29 11:14:53 +02:00
Naklicki, Mateusz
a8e9246f65 performance: use stack vector to create packet init data
Resolves: HSD-18037972803, HSD-18038028881
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-04-26 14:53:29 +02:00
Bartosz Dunajski
2a2596c13b refactor: pass additional data to ioctl helper
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-26 14:53:14 +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
Michal Mrozek
4aa7c6c99e performance: optimize counter based waiting schemes
- store latest waited counter value.
- do not wait on values that are already completed.
- disable mechanism when counter overflows.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-04-25 17:20:29 +02:00
Bartosz Dunajski
53f436095e refactor: pass hwInfo to getSupportedLocalDispatchSizes
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-25 15:20:03 +02:00
Lukasz Jobczyk
36ddfaaf4d fix: Fix front end programming for cooperative dispatch
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-04-25 12:55:46 +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
Andrzej Koska
625d2d7f50 refactor: Passing information about the engine
Part 2

Related-To: NEO-10678

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-04-24 09:08:35 +02:00
Compute-Runtime-Validation
04c32d9e4e Revert "fix: allow kernel access across multiple virtual regions"
This reverts commit b9c1ef65dd.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-04-24 04:00:15 +02:00
John Falkowski
b9c1ef65dd fix: allow kernel access across multiple virtual regions
Related to: NEO-8350

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-04-23 18:20:52 +02:00
Mateusz Jablonski
959333d9bf fix: respect number of tiles when getting total private memory size of module
Related-To: GSD-8374
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-23 17:33:15 +02:00
Kamil Kopryk
e09424f8b2 performance: remove binding flushImmediateRegularTask functions
Related-To: NEO-7824
Related-To: HSD-18037800484
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-04-23 11:46:36 +02:00
Kulkarni, Ashwin Kumar
8c1f0836ae feature: enables basic framework for spdlogs
Related-To: NEO-10510

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-04-23 07:23:46 +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
Bartosz Dunajski
31b2dcfe57 feature: implicit sync mode dispatch for cooperative kernels
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-22 11:50:49 +02:00
Zbigniew Zdanowicz
c60b19a8ba fix: use required walk order when local ids are software generated
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-04-19 08:48:30 +02:00
Aravind Gopalakrishnan
6a894f963e feature: Implement zeCommandListImmediateAppendCommandListsExp [2/N]
Add boiler plate for appendCommandLists

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-04-18 15:50:12 +02:00
Bartosz Dunajski
dd6040ab6e refactor: improve exp extension names
Related-To: NEO-8179

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-18 11:09:23 +02:00
Joshua Santosh Ranjan
e0a580fce7 feature: Support for concurrent groups
Related-To: NEO-10306

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-04-18 09:41:12 +02:00
Lukasz Jobczyk
15a049cf9c fix: Wait for BCS split once in sync cmd list mode
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-04-18 08:54:21 +02:00
Bartosz Dunajski
02ebb857cb fix: create new InOrderExecInfo on cmd list reset
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-17 20:31:48 +02:00
Bartosz Dunajski
cd563c2761 feature: assign external interrupt id to Event
Related-To: NEO-8179

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-17 14:52:12 +02:00
Zbigniew Zdanowicz
64d1adf2bf feature: store walker command in cpu memory for append launch kernel
Related-To: NEO-10066

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-04-17 14:34:33 +02:00
Zbigniew Zdanowicz
96347c7847 fix: reset per thread size after local id hw generation enabled
Related-To: NEO-10066

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-04-17 14:16:06 +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
Bartosz Dunajski
4f52fd504a feature: return experimental sync queue extension if supported
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-16 14:48:22 +02:00
Naklicki, Mateusz
4e6b8a2c90 fix: create buffer with proper size for event packets
Related-To: HSD-18037791927
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2024-04-16 14:31:22 +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
Bartosz Dunajski
5cfe731948 feature: enable experimental api for synchronized dispatch
Related-To: NEO-8171

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-15 18:32:20 +02:00
Zbigniew Zdanowicz
3b9e1e4b32 refactor: add getter to in order exec info class
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-04-12 10:17:39 +02:00
Artur Harasimiuk
a925afa1ab refactor: cleanup unused code
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-04-11 16:06:28 +02:00
Zbigniew Zdanowicz
93ddf34c11 refactor: group same instantiations of level zero helper
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-04-11 15:38:20 +02:00
Bartosz Dunajski
e47b88f6e4 feature: program fence during bcs tag update
Related-To: NEO-10417

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-11 13:43:04 +02:00
Jitendra Sharma
0d53b21d3c refactor: correct variable naming
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-04-11 11:12:56 +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
Bartosz Dunajski
f62b49a237 feature: device->host fence in in-order L0 path
Related-To: NEO-10417

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-10 19:30:06 +02:00
John Falkowski
10c7a9552d fix: correct memory copy region
Resolves:  NEO-11103

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-04-10 09:41:53 +02:00
Mateusz Jablonski
cb2b572e94 feature: add support for null aub mode
In this mode AUB csr will be created, however, no aub file will be created

Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-09 16:59:42 +02:00
Bartosz Dunajski
945deb8f67 feature: memory copy device to host fence for host visible events in l0 path
Related-To: NEO-10417

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-04-09 16:11:23 +02:00