Commit Graph

4191 Commits

Author SHA1 Message Date
Mateusz Hoppe
e00da808cb feature: add logic to control secondaryContextsSupport in ProductHelper
- product helper sets flag in GfxCoreHelper - this allows to control
secondary contexts support per product - not whole core family

Related-To: NEO-13789

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-01-25 06:43:56 +01:00
Jemale Lockett
272edeabe6 fix: Fix debugger bitmask parsing and setting for new platforms
Related-to: NEO-7799

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2025-01-24 21:45:54 +01:00
Lukasz Jobczyk
8bbba3fe5c refactor: Switch host events and in order nodes to tagAllocation type
Motivation is to distinguish between host USM resources and internal
driver resources allocated in host memory.

Related-To: NEO-13847

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-24 20:38:56 +01:00
Bartosz Dunajski
c2dbdb6797 refactor: move blit post sync data to BlitProperties
Related-To: NEO-13003

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-22 18:35:21 +01:00
Bartosz Dunajski
6c6cc26b19 feature: ensure double space for timestamp event allocation
Related-To: NEO-13003

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-22 16:10:33 +01:00
Mateusz Hoppe
19a0a27862 refactor: adjust unit tests to work with secondary engines
Related-To: NEO-12952, NEO-13789


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-01-22 13:31:43 +01:00
Compute-Runtime-Validation
69bdd4d4ce Revert "performance: Signal inOrder counter with pipe control, part 6"
This reverts commit 9d5d726523.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-22 01:09:54 +01:00
Dominik Dabek
3f646839ca fix: usm reuse cleaning unused allocations
mechanism for freeing allocations saved for reuse that have not been
used in a given time

Related-To: NEO-13425

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-01-21 14:23:19 +01:00
Katarzyna Cencelewska
b2f8da5109 fix: return pointer instead of reference from getOsInterface
on tbx this will be a nullpointer

Related-To: HSD-18040897834
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-01-21 12:52:39 +01:00
Lukasz Jobczyk
9d5d726523 performance: Signal inOrder counter with pipe control, part 6
When on DC flush platform do not signal in order allocation when using
timestamp CB event. Handle wait on that event and synchronization using
in order timestamp node. Flush DC from wait. In order handled by pipe
controls.

Related-To: NEO-13441

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-21 12:31:22 +01:00
Zbigniew Zdanowicz
2a64e41a3e feature: enable partial command list update capability on xe hpg
Related-To: NEO-12933

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-01-21 11:17:30 +01:00
Mateusz Jablonski
468b61b844 fix: correct reporting num subslices per slice in device properties
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-20 21:37:53 +01:00
Bellekallu Rajkiran
ad3110ff67 fix: Mapped time stamp retrieval with IPC
Create shared allocations to maintain reference timestamps.
Add flag to IPC pool data to check whether mapped time stamp
flag is set.

Related-To: NEO-12313

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-01-20 19:27:35 +01:00
Mateusz Hoppe
850e6c02eb test: allocate sip allocation for all contexts in initSipKernel
- some tests initialize sip kernel but do not free it
- this is causing memory leaks
- as a solution mock sip listener is added that will release allocated
sip kernel

Related-To: NEO-13789

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-01-20 15:46:05 +01:00
Chandio, Bibrak Qamar
3d3c5ddf9f feature: Submission for GlobalTimestamp as default
Related-To: NEO-11908

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-01-18 01:27:24 +01:00
Kulkarni, Ashwin Kumar
215ac6374b fix: disable support for 3-channel interop handle
returns error for import of 3 channel interop handles
returns error for 3 channel 32 bit image formats

Related-To: NEO-12887

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2025-01-18 01:27:13 +01:00
Compute-Runtime-Validation
e1d1decf90 Revert "fix: Mapped time stamp retrieval with IPC"
This reverts commit 118cb62b7f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-18 01:11:28 +01:00
Bellekallu Rajkiran
118cb62b7f fix: Mapped time stamp retrieval with IPC
Create shared allocations to maintain reference timestamps.
Add flag to IPC pool data to check whether mapped time stamp
flag is set.

Related-To: NEO-12313

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-01-17 19:00:29 +01:00
Jaroslaw Warchulski
c3c2028ed6 fix: report correct EU counts for multi-slice platforms
Related-To: GSD-10625
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-17 15:01:00 +01:00
John Falkowski
78beae645c feature: Add zeKernelGetBinaryExp API as per specification V1.11
Resolves: NEO-12894

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-01-16 23:22:12 +01:00
Raiyan Latif
0370c5afa2 fix: Use unique_ptr for managing externalSemaphoreController
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-01-16 19:47:47 +01:00
Jaroslaw Warchulski
4dd1c80362 refactor: use enum class instead of enum for DeviceHierarchyMode
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-16 15:49:44 +01:00
Bartosz Dunajski
310c47cad3 fix: add missing CB event cache flush
Related-To: GSD-10565

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-16 14:14:51 +01:00
Kamil Kopryk
0278d2e652 test: adjust code to compile with c++20
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 12:04:50 +01:00
Jaroslaw Warchulski
4cdd5671f7 fix: return correct subDevice in DeviceImp::getActiveDevice()
Resolves: NEO-13759
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-16 00:10:58 +01:00
Krzysztof Sprzaczkowski
a17745532c performance: Move preemption allocation init to the first submission
Related-To: NEO-12323
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-01-15 20:22:50 +01:00
Lukasz Jobczyk
2dd9940f60 Revert "fix: count active modules for enabling per-dispatch private memory"
This reverts commit a483b361f9.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-15 15:03:37 +01:00
Zbigniew Zdanowicz
621ceaf9ec feature: add new properties and getters for kernel slm arguments
- add new vector to read slm offset
- add getter to read new vector
- add getter to read slm argument alignment
- add getter to read slm sizes vector

Related-To: NEO-12933

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-01-15 14:23:04 +01:00
Jaroslaw Warchulski
6a7bee67e9 refactor: unify device hierarchy mode
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-14 21:08:44 +01:00
Raiyan Latif
84b8622c16 refactor: Move Ext Semaphore Controller to Driver Handle
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-01-14 20:58:35 +01:00
Vysochyn, Illia
7903086db3 refactor: Update thread scheduling mode naming
Renames the EU_THREAD_SCHEDULING_MODE_OVERRIDE member of
STATE_COMPUTE_MODE structure to EU_THREAD_SCHEDULING_MODE.

This modification is introduced in order to align with the latest specification.

Related-To: NEO-13147

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2025-01-14 19:00:46 +01:00
Mateusz Hoppe
60495a5b20 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>
2025-01-14 15:47:08 +01:00
Zbigniew Zdanowicz
5e13e2a1b3 test: add parsing all bases of command line values
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-01-14 15:46:53 +01:00
Bartosz Dunajski
26ae830014 fix: add missing dcFlush to signal standalone CB event
Related-To: NEO-13752

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-14 15:22:33 +01:00
Jack Myers
127af1a715 fix: correct result variable scope in initDriver
The `initDriver` function had an issue where a new `result` variable was defined
in a lower scope, causing the initialization result to be discarded. This commit
removes the redundant variable declaration, ensuring that the `result` variable
initialized in the upper scope is correctly set by the
`Driver::get()->initialize` method and properly reflects the driver
initialization status.

Related-To: NEO-13686
Signed-off-by: Jack Myers <jack.myers@intel.com>
2025-01-14 12:43:35 +01:00
Damian Tomczak
9a149b6da5 refactor: useGlobalHeaps naming unification
Related-to: NEO-12737

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-01-14 11:01:07 +01:00
Kamil Kopryk
595fe10770 test: use std::snprintf to ensure string null termination
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-14 09:51:40 +01:00
Kamil Kopryk
cd786ef6bb test: add explicit static_cast for bit OR with different enums
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-14 09:43:08 +01:00
Kulkarni, Ashwin Kumar
bf4d4e71c3 feature: adds support for 3 channel Imageview creation
Related-To: NEO-12887

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2025-01-14 03:19:11 +01:00
Compute-Runtime-Validation
e66fce10b5 Revert "performance: Signal inOrder counter with pipe control, part 6"
This reverts commit fa40c1f2fb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-14 03:03:08 +01:00
Lukasz Jobczyk
fa40c1f2fb performance: Signal inOrder counter with pipe control, part 6
When on DC flush platform do not signal in order allocation when using
timestamp CB event. Handle wait on that event and synchronization using
in order timestamp node. Flush DC from wait. In order handled by pipe
controls.

Related-To: NEO-13441

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-13 17:40:26 +01:00
Jaroslaw Warchulski
a180afa2e6 fix: respect affinity mask with COMBINED hierarchy in OCL
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-13 15:38:39 +01:00
Wenbin Lu
a483b361f9 fix: count active modules for enabling per-dispatch private memory
Related-To: NEO-13086

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2025-01-10 15:03:34 +01:00
Lukasz Jobczyk
3735ccaed7 performance: Signal inOrder counter with pipe control, part 5
When on DC flush platform resolve in order implicit dependency with pipe
control.

Related-To: NEO-13441

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-10 12:33:42 +01:00
Mateusz Jablonski
112abeeeef fix: don't adjust programmed per thread scratch size
when adjusting scratch space size then adjust only allocation size

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-10 11:35:50 +01:00
Compute-Runtime-Validation
04f1e216a5 Revert "performance: Signal inOrder counter with pipe control, part 5"
This reverts commit 7ee8328c1d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-10 06:48:41 +01:00
Mateusz Jablonski
a3b6c1fa6d fix: correct thread/eu ratio for scratch to Xe2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-09 22:42:36 +01:00
Szymon Morek
f3c9362fc5 fix: check for gpu hang during wait for ring completion
Related-To: NEO-13490

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-01-09 18:44:25 +01:00
Bartosz Dunajski
7c209e1ff0 fix: typo
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-09 18:06:26 +01:00
Lukasz Jobczyk
7ee8328c1d performance: Signal inOrder counter with pipe control, part 5
When on DC flush platform resolve in order implicit dependency with pipe
control.

Related-To: NEO-13441

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-09 13:42:05 +01:00