Commit Graph

3535 Commits

Author SHA1 Message Date
Maciej Bielski
91a4809a79 refactor: move Kernel data members to KernelImp::sharedState
The class Kernel is abstract and as such it should not have any members.
Move its members to sharedState as this is what they represent.

Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-29 16:40:40 +02:00
Zbigniew Zdanowicz
e88d1287c0 feature: add graph support for new append functions
Related-To: NEO-15606, NEO-15571

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-29 16:29:26 +02:00
Szymon Morek
0b8fab0713 performance: enable staging copies in L0
Related-To: NEO-14026

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-29 12:47:07 +02:00
Bartosz Dunajski
47a7d42f43 fix: correct events handling for copy offload bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-29 12:27:37 +02:00
Szymon Morek
e8b14dee12 fix: disable staging when shares system usm is enabled
Related-To: NEO-14026

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-29 12:10:16 +02:00
Maciej Bielski
25fd35d9df refactor: move state-members of KernelImp to KernelSharedState
These members are common for all clones of a given KernelImp instance,
thus can be shared via shared_ptr (instead of being copied);

Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-29 11:24:16 +02:00
Compute-Runtime-Validation
21d2195e95 Revert "performance: enable staging copies in L0"
This reverts commit 1ded21f2c6.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-29 05:28:41 +02:00
Szymon Morek
1ded21f2c6 performance: enable staging copies in L0
Related-To: NEO-14026

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-28 16:45:49 +02:00
Maciej Bielski
5a31d4f237 refactor: rename KernelImp::state to ::privateState
A step towards better kernel's state encapsulation.

Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-28 15:23:43 +02:00
Mateusz Jablonski
bd598e0d88 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-28 14:39:59 +02:00
Grochowski, Stanislaw
92a146c7d2 feature: platform interrupt support detection
Related-To: NEO-14929

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-08-28 12:47:29 +02:00
Zbigniew Zdanowicz
9ec78a457b refactor: use copy ctor in cloning cmdlist append descriptors
Related-To: NEO-15571

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-28 12:17:03 +02:00
Szymon Morek
d7e6aff211 fix: delete staging prior device
Related-To: NEO-14026

Also ensure that staging won't be used when it's already destroyed

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-28 10:44:00 +02:00
Zbigniew Zdanowicz
2e53cf0e20 feature: add cloning launch kernel extension descriptors
Related-To: NEO-15571

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-27 17:17:40 +02:00
Szymon Morek
7063d159b9 fix: disable staging when both directions are non-usm
Related-To: NEO-14026

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-27 16:37:51 +02:00
Alicja Lukaszewicz
bca503548a feature: add peer access check on driver init
Related-To: NEO-14885, HSD-14024947073

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2025-08-27 15:48:22 +02:00
Bartosz Dunajski
2e58669fe9 feature: enable BCS split for copy offload queues
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-27 15:39:30 +02:00
Szymon Morek
b80c9c70b7 performance: update task count after staging copy
Related-To: NEO-14026

This is required for proper reuse of staging buffers
within same API call.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-27 11:56:28 +02:00
Bartosz Dunajski
4de68a67c7 fix: correct bcs split subCmdList commands estimation
Related-To: HSD-18043198483

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-26 18:08:15 +02:00
Narendra Bagria
31bcea128f feature: system allocator support for image APIs
Related-To: NEO-15461

Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
2025-08-26 09:35:22 +02:00
Narendra Bagria
543423fba9 feature: use stateless builtins for image APIs
Related-To: NEO-15461, NEO-6075

Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
2025-08-25 17:09:01 +02:00
Zbigniew Zdanowicz
b2ea1d98e6 refactor: move append kernel argument functionality code to separate method
Related-To: NEO-15606

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-25 13:58:34 +02:00
Radoslaw Jablonski
393604ef80 refactor: numThreadsPerEu
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-25 11:31:49 +02:00
Compute-Runtime-Validation
82a1d0c81c Revert "feature: system allocator support for image APIs"
This reverts commit 001f3a3816.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-23 02:06:57 +02:00
Bartosz Dunajski
590ac27163 fix: enable in-order sync before copy signaling
Related-To: HSD-18043175009

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-22 14:24:15 +02:00
Narendra Bagria
001f3a3816 feature: system allocator support for image APIs
Related-To: NEO-15461

Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
Signed-off-by: Narendra Bagria <narendra.bagria@intel.com>
2025-08-22 10:23:15 +02:00
Bartosz Dunajski
584e176126 feature: debug flag to sync copy only in-order signaling
Related-To: HSD-18043173360

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-21 15:51:06 +02:00
Bartosz Dunajski
1a58b0e380 feature: use dedciated cmd lists for bcs split 2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>

Related-To: NEO-14557
2025-08-21 15:17:56 +02:00
Aleksandra Nizio
9a0a52d46d feature: Add new API to append kernel with support to additional parameters
Related-To: NEO-15565,GSD-10660
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-08-21 10:01:56 +02:00
Zbigniew Zdanowicz
fdb66be0d8 feature: add graph flag to cb event
Related-To: NEO-15375

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-20 12:01:01 +02:00
Compute-Runtime-Validation
49c0ef60c0 Revert "feature: Add new API to append kernel with support to additional para...
This reverts commit 617a736630.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-20 00:55:05 +02:00
Bartosz Dunajski
bc223b9052 fix: revert use dedciated cmd lists for bcs split
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-19 17:56:24 +02:00
Fabian Zwoliński
a2f60af5c6 fix: change global Var/Const Buffer type to SharedPoolAllocation
This is prep work for the future implementation of pooling these allocations.

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-08-19 17:29:34 +02:00
Aleksandra Nizio
617a736630 feature: Add new API to append kernel with support to additional parameters
Related-To: NEO-15565,GSD-10660
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-08-19 15:09:00 +02:00
Alicja Lukaszewicz
0335d44a56 refactor: move peer access handling to shared device
Related-To: NEO-14885, HSD-14024947073

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2025-08-19 10:40:41 +02:00
Zbigniew Zdanowicz
d8557ff2d3 feature: add scratch address programing to patch preamble
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-19 00:41:01 +02:00
Neil R. Spruit
43ebc17e17 feature: Support for opaque IPC handles on Windows and Linux
- Added support for creating and managing opaque IPC NT handles in the
WDDM layer.
- Introduced a new flag `shareableWithoutNTHandle` to indicate if memory
can be shared without an NT handle.
- Updated the `isShareableMemory` method to accommodate this new flag.
- Added debug variable EnableShareableWithoutNTHandle to control the
behavior of sharing memory without NT handles until requested.
- Updated Linux path to enable sharing DMA Buf FDs between processes
for use in pidfd_getfd
- Updated getfd and get IPC Handle helper functions to support opaque or
previous versions

Related-To: NEO-15345 , NEO-15346 , NEO-15347, NEO-10380

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-18 16:23:44 +02:00
Bartosz Dunajski
1f3e406c8d fix: delete stagingBufferManager after Device
Related-To: HSD-18043087998

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-18 13:42:39 +02:00
Compute-Runtime-Validation
1e681f8e8b Revert "feature: platform interrupt support detection"
This reverts commit e33865e9c2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-15 02:52:32 +02:00
Compute-Runtime-Validation
0855219087 Revert "feature: Support for opaque IPC handles on Windows and Linux"
This reverts commit 46b1b2783b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-15 02:22:02 +02:00
Zbigniew Zdanowicz
1316330ff9 feature: add patch preamble to graphs
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-14 12:23:48 +02:00
Jakub Nowacki
259271f59d fix: disallow copy and move
Related-To: NEO-15630

Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com>
2025-08-14 12:19:18 +02:00
Grochowski, Stanislaw
e33865e9c2 feature: platform interrupt support detection
Related-To: NEO-14929

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-08-14 09:28:33 +02:00
Neil R. Spruit
46b1b2783b feature: Support for opaque IPC handles on Windows and Linux
- Added support for creating and managing opaque IPC NT handles in the
WDDM layer.
- Introduced a new flag `shareableWithoutNTHandle` to indicate if memory
can be shared without an NT handle.
- Updated the `isShareableMemory` method to accommodate this new flag.
- Added debug variable EnableShareableWithoutNTHandle to control the
behavior of sharing memory without NT handles until requested.
- Updated Linux path to enable sharing DMA Buf FDs between processes
for use in pidfd_getfd

Related-To: NEO-15345 , NEO-15346 , NEO-15347, NEO-10380

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-08-14 08:33:56 +02:00
Compute-Runtime-Validation
cb6cc08ed1 Revert "fix: flush caches after post sync write"
This reverts commit 7b8e986ebe.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-13 15:41:53 +02:00
Dominik Dabek
a5491f5c67 fix: l0, tag update on external host ptr operation
Add tag update required when flushing operations with external host ptr:
write to memory, image copy from/to memory

Related-To: NEO-15663

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-08-13 15:14:44 +02:00
Zbigniew Zdanowicz
9b0c958774 fix: copy correct capture source flags in graph creation
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-13 14:47:23 +02:00
Compute-Runtime-Validation
469f9e020a Revert "fix: flush caches during host sync"
This reverts commit ffed307d15.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-13 13:51:44 +02:00
Zbigniew Zdanowicz
216e7a593f feature: add patch preamble support to immediate command lists
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-13 12:56:51 +02:00
Mateusz Jablonski
c75d9d30b0 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-13 12:56:36 +02:00