Commit Graph

5229 Commits

Author SHA1 Message Date
Lukasz Jobczyk
6bf5183eff performance: Do not create global fence allocation on integrated
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-09-30 13:13:27 +02:00
Bartosz Dunajski
f02b518674 fix: improve CB event completion writes
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-30 13:12:58 +02:00
Compute-Runtime-Validation
a58e42ef8c Revert "feature: enable standalone profiling allocation for CB events"
This reverts commit f3b266f7b8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-28 07:51:22 +02:00
shubham kumar
f402ce0f60 feature: Add support for OA buffer overflow
Related-To: NEO-8685

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-09-28 00:38:47 +02:00
Matias Cabral
e7bb9ccd8a feature: add multi device metric class
Resolves: NEO-11426


Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2024-09-27 17:46:45 +02:00
Kamil Kopryk
7a661dd2ec test: correct get_global_id type in printf
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-27 15:34:26 +02:00
Bartosz Dunajski
a7ff04e28f performance: dont pull host allocation each time in the loop 2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-27 14:39:12 +02:00
Bartosz Dunajski
f3b266f7b8 feature: enable standalone profiling allocation for CB events
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-27 12:59:09 +02:00
Compute-Runtime-Validation
6cb0e45330 Revert "performance: Do not create global fence allocation on integrated"
This reverts commit 50eb6af9ac.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-27 11:48:01 +02:00
Mateusz Jablonski
340a4906a1 fix: fix compilation issues with clang18
- pass aligned memory to std::map::find and std::map::erase functions
- use EXPECT_EQ_VAL when comparing potentially misaligned memory

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-27 09:54:54 +02:00
Lukasz Jobczyk
50eb6af9ac performance: Do not create global fence allocation on integrated
Resolves: NEO-12324

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-09-27 09:32:42 +02:00
Bartosz Dunajski
17c27c94e4 performance: dont pull host allocation each time in the loop
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-26 20:04:11 +02:00
Illia Vysochyn
f062194669 fix: Remove INLINE_DATA structure
Related-To: NEO-12706

Signed-off-by: Illia Vysochyn <illia.vysochyn@intel.com>
2024-09-26 19:58:54 +02:00
Artur Harasimiuk
661de15fb0 ci: remove deprecated option from .clang-tidy configuration
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-26 19:02:15 +02:00
Bartosz Dunajski
17a2b36a87 fix: allocation information from standalone profiling CB event
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-26 18:35:06 +02:00
John Falkowski
1d51f4b91c feature: Add driver-experimental API for retrieval of kernel binary program data
Related-To: NEO-11651

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-09-25 20:38:17 +02:00
Mateusz Jablonski
c7db84930c test: fix test compilation issues with clang18
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-25 18:09:25 +02:00
Damian Tomczak
98b1f8b1fa feature: stateless appendPageFaultCopy
Related-to: NEO-11859

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-09-25 11:13:16 +02:00
Mateusz Jablonski
4a226bbfc1 test: fix test compilation issues with clang18
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-25 11:02:09 +02:00
Jitendra Sharma
2ed2cb43db fix: Read fifo_head from state save area header correctly
Currently we are reading fifo_head from local copy of saved
stateSaveAreaHeader.
However, during fifo read dbgUMD is reading FIFO entries and
accordingly SIP would also update fifo_head.
Hence while accessing fifo_head, ensure that we always read
fifo_head from latest in memory state save area header.

Related-To: NEO-12787
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-25 10:44:41 +02:00
Damian Tomczak
4d68f1de43 refactor: stateless unification for l0
Related-to: NEO-11859

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-09-25 10:01:50 +02:00
Compute-Runtime-Validation
5dddd4a67f Revert "feature: Add experimental API for retrieval of kernel binary program ...
This reverts commit 24682e702b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-25 10:01:36 +02:00
Bartosz Dunajski
2618f586fa fix: copy offload mmio programming
Related-To: NEO-12771

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-24 19:37:58 +02:00
Mateusz Hoppe
6ce947cb77 test: improve tests
- scratch related tests - fix getting ssh gpu address
- driver test - fix order of extensions
- cmdlist private heap - move ssh space consumption after appendKernel
to make sure first kernel will not allocate new ssh and the second one
will

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-24 19:27:23 +02:00
Jitendra Sharma
0b3a6df5db fix: Take regset_desc from correct SSH based on version major
Related-To: NEO-7988
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-24 12:31:21 +02:00
Mateusz Jablonski
8fe3b8037d fix: remove incorrect test kernel
test kernel uses image2d_t which is not supported on all platforms

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-24 12:11:35 +02:00
Compute-Runtime-Validation
abcb462ac3 Revert "performance: optimize memory used for scratch programming"
This reverts commit 9b2696a942.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-24 06:52:19 +02:00
Compute-Runtime-Validation
cb0b69a1cb Revert "feature: Add support for OA buffer overflow"
This reverts commit b2d25174fb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-24 03:53:39 +02:00
John Falkowski
24682e702b feature: Add experimental API for retrieval of kernel binary program data
Related-To: NEO-11651

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2024-09-24 02:48:29 +02:00
Bartosz Dunajski
65cc393638 feature: allow for dispatching work without event pool allocation
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-23 16:34:03 +02:00
Bartosz Dunajski
5a72d93c31 fix: skip not initialized csr when downloading for tbx
Related-To: HSD-18040094854

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-23 16:23:11 +02:00
Maciej Plewka
80f75ceace fix: submit dummy exec to pin memory during zeContextMakeMemoryResident call
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-09-23 14:43:59 +02:00
Zbigniew Zdanowicz
60430c073e test: add command line option to change error count to display differences
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-09-23 14:34:42 +02:00
Pratik Bari
d060d0b6dd refactor(sysman): Compile the RAS module files by branch name
Added some tests for code coverage.

Related-To: NEO-12532


Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-09-23 14:25:07 +02:00
Mateusz Hoppe
9b2696a942 performance: optimize memory used for scratch programming
- reserve exact number of slots for scratch surface states in surface
state heaps
- do not use offsets for contexts depending on engine type executing
cmdlists

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-23 14:15:47 +02:00
shubham kumar
b2d25174fb feature: Add support for OA buffer overflow
Related-To: NEO-8685

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-09-23 11:26:28 +02:00
Jitendra Sharma
82eacc88bf refactor: Move all constants in sysman namespace
- Use inline constexpr for declaring global variables
- Avoid using Macros
- Use string_view type instead of std::string

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-23 11:24:47 +02:00
Jitendra Sharma
ac52a2ff5b feature: Before resuming the thread unlock them
Related-To: NEO-7988
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-21 09:25:12 +02:00
Bartosz Dunajski
d7ce841081 fix: InOrderExecInfo upload to tbx
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-20 16:03:09 +02:00
Mateusz Hoppe
4022acc4e4 test: force scratch in zello_bindless_kernel
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-20 15:08:41 +02:00
Bartosz Dunajski
08f57c0fd4 refactor: get correct profiling allocation from event
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-20 15:07:58 +02:00
Maciej Bielski
1ccc208bc3 fix: avoid null pointer dereference
Related-To: NEO-12651

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-09-20 12:38:31 +02:00
Mateusz Hoppe
4a068c8eab fix: correclty program StateBaseAddress in global bindless mode
- prepare bindful ssh when kernel requires ssh heap and
SurfaceStateBaseAddress
- remove lastAppendedKernelBindlesMode - local ssh heap may be needed
for bindless kernels with scratch or misaligned buffer args
- use ssh heap gpu address to program SurfaceStateBaseAddress, global base is
used for BindlessSurfaceState and DynamicState

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-20 11:57:05 +02:00
Mateusz Jablonski
18a7a5f6fa refactor: update hw cmds base from gen8 to gen12lp
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-19 18:07:46 +02:00
Bartosz Dunajski
2cb057a610 fix: download tbx allocations from all csrs
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-19 17:01:55 +02:00
Damian Tomczak
5c9fc079b0 fix: use stateless kernel when append memory fill on XeHpc and later
Related-to: NEO-6075

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-09-19 17:01:40 +02:00
Zbigniew Zdanowicz
672d8414f5 fix: remove not needed macro
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-09-19 17:01:17 +02:00
Maciej Bielski
cb62e31828 fix: avoid null pointer dereference
Related-To: NEO-12651

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-09-19 14:23:57 +02:00
shubham kumar
8bf95eceea feature: Add core properties support in zesInit path
Related-To: NEO-12643

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-09-18 20:46:47 +02:00
Joshua Santosh Ranjan
6d86d562b5 refactor: move metric driver experimental apis to shared location
modify driver experimental extensions according to guideline

Related-To: NEO-12530

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-09-18 20:46:33 +02:00