Commit Graph

4662 Commits

Author SHA1 Message Date
Filip Hazubski
bb98aa2fbd test: Adjust max cooperative group count tests
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-08-20 09:37:13 +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
Kindracki, Jakub Tomasz
c0ea89062b test: Change CompilerProductHelper mocks to not templated
Remove multiple definitions of templated
`MockCompilerProductHelperHeapless`.

Errors fixed:
- Linux compiler raised `undefined` errors
- Windows compiler raised `multiple definitions` errors

Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-08-18 16:23:28 +02:00
Damian Tomczak
4b663e7b60 fix: use heapless helpers when heapless enabled
Related-to: NEO-14489

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-08-18 14:36:58 +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
Kindracki, Jakub Tomasz
cbe7d59c3c test: Remove multiple definitions of MockComandListImmediateExtSem
Remove multiple definitions of the MockCommandListImmediateExtSem
class to fix undefined-behavior errors when building in Release mode for
Windows using clang18

Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-08-18 13:21:25 +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
Mateusz Jablonski
79905e8ec1 test: remove not needed macro
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-13 16:43:27 +02:00
Zbigniew Zdanowicz
3478aaec9d test: refactor graph black box test
- move module and kernel functions into shared library
- use shared functions instead creating the same code
- expand graph tests into different append types
- use append memory fill
- use append memory copy between two usm allocations
- add mask option to execute single case
- correct aub mode handling
- correct test case fail signaling

Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-13 15:46:52 +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
Mateusz Jablonski
a46181b2c5 fix: remove deprecated patchtokens format from ocloc
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-13 15:41:37 +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
Maciej Bielski
d6a7468246 refactor: dynamicStateHeapData as std::vector
Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-13 11:00:22 +02:00
Chandio, Bibrak Qamar
6acfcb83b9 Revert "Two commits related to pStart feature"
Related-To: NEO-15156, GSD-9939

Revert "test: fix minor errors"

This reverts commit 712dc8221e.

Revert "feature: Support for pStart"

This reverts commit 47caeda487.

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-08-13 07:10:40 +02:00
Mateusz Jablonski
22e7aa36d1 refactor: remove pre-gen12 code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-11 20:29:37 +02:00
Naklicki, Mateusz
c36f6cadb0 feature: dump graph visualisation
Related-To: NEO-15377
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-08-11 19:24:36 +02:00
Matias Cabral
91f25ef990 feature: remove calcOp multi set calc API
Resolves: NEO-15690

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-11 18:53:13 +02:00
Szymon Morek
ffed307d15 fix: flush caches during host sync
Related-To: NEO-14360

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-11 18:43:33 +02:00
Zbigniew Zdanowicz
ab98dad17e feature: add noop in order info for regular command list to patch preamble
- sum total noop size requirement for both in order and noop patchlist

Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-11 17:30:25 +02:00
Maciej Bielski
581cd3bbdf refactor: surfaceStateHeapData as std::vector
Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-11 15:10:15 +02:00
Maciej Bielski
fe174328eb refactor: crossThreadData as std::vector
Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-08 18:44:07 +02:00
Oskar Hubert Weber
ce48114642 fix: do not skip clean up in L0 dllMain
Reintroducing the original clean up logic back to L0 dllMain,
to address regressions that need further investigating.

Related-To: NEO-14121

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2025-08-08 15:46:27 +02:00
Michal Mrozek
e9ff1260f0 performance: add early return for single byte path
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-08-08 15:22:02 +02:00
Grochowski, Stanislaw
1ff9c45b90 feature: return result from event creation instead of calling abort
Related-To: NEO-14929

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-08-08 15:18:44 +02:00
Zbigniew Zdanowicz
092f2bb333 feature: get command list information for in order noop data
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-08 15:01:52 +02:00
Zbigniew Zdanowicz
69e6688b8d test: add experimental aub test to modify batch buffer from itself
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-08 12:50:16 +02:00
Dominik Dabek
77470acf7a fix: l0, tag update on mem copy ext host ptr
Require tag update on mem copy with external host ptr.
Without this, temporary allocation might not be cleaned before next copy
operation.
If a second copy operation is passed same ptr that has been reallocated,
there will be a pagefault.

Related-To: NEO-15663

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-08-08 12:42:53 +02:00
Michal Mrozek
52e413f69e performance: reuse allocation data if available
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-08-08 09:36:35 +02:00
Michal Mrozek
469aeb870c refactor: remove unused code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-08-08 08:07:49 +02:00
Maciej Bielski
81f4b885f1 feature: R&R support for further appendLaunchKernel variants 2/2
Support:
`zeCommandListAppendLaunchMultipleKernelsIndirect()`

Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-07 19:38:42 +02:00
Michal Mrozek
f85e4935e2 performance: reuse allocData if available
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-08-07 18:26:36 +02:00
Zbigniew Zdanowicz
da2fc7a586 feature: add noop support to patch preamble
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-07 16:23:43 +02:00
Kamil Kopryk
1ccd72bfc9 refactor: simplify logic
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-08-07 14:01:14 +02:00
Chandio, Bibrak Qamar
712dc8221e test: fix minor errors
Related-To: NEO-15156, GSD-9939

Fixes warnings of variable not used and function override.

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-08-07 13:22:04 +02:00
Maciej Bielski
73ea13fb4c feature: R&R support for further appendLaunchKernel variants 1/2
Support:
`zeCommandListAppendLaunchCooperativeKernel()`
`zeCommandListAppendLaunchKernelIndirect()`

Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-07 12:31:34 +02:00