Commit Graph

3497 Commits

Author SHA1 Message Date
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
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
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
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
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
Szymon Morek
7b8e986ebe fix: flush caches after post sync write
Related-To: NEO-14360

Flush L2 cache if post sync write from pipe control is being cached.
Otherwise, host will wait for data which is cached on GPU.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-08-07 07:33:19 +02:00
Michel Schanen
e999c352ca fix: c->c++ inttypes header
Signed-off-by: Michel Schanen <michel.schanen@gmail.com>
2025-08-06 19:23:57 +02:00
Mateusz Jablonski
b5ea7274b8 fix: remove const from arguments in append with arguments
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-06 16:30:34 +02:00
Bartosz Dunajski
b95ba7cf05 fix: add poll for aub completion on queue synchronize
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-06 14:03:30 +02:00
Maciej Bielski
8ec774d3f0 refactor: remove surplus if() statement
The `appendSynchronizedDispatchInitializationSection()` checks for the
same condition internally.

Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-08-06 13:02:29 +02:00
Chandio, Bibrak Qamar
47caeda487 feature: Support for pStart
Related-To: NEO-15156, GSD-9939

Support for start address hint in zeVirtualMemReserve.

If it fails to find pStart then it defaults to the base line
allocateWithCustomAlignment(...)

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-08-06 12:40:29 +02:00
Lukasz Jobczyk
4daf9dcb83 fix: Wait for CB TS node only when required
In case of optimized CB event, synchronize TS completion only when just
TS node is available, otherwise, if both conuter and TS are available,
synchronize by polling for in order counter. Such situation occurs when
appending non walker operation on platform eligible for optimized Cb
events without dc flush.

Resolves: HSD-18042863956

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-08-06 11:45:13 +02:00
Zbigniew Zdanowicz
14b9198949 feature: sum total required noop space of command list patchlist
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-06 11:42:55 +02:00
Compute-Runtime-Validation
c9456cda14 Revert "feature: Support for pStart"
This reverts commit a50c0dbecf.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-06 02:26:13 +02:00
Zbigniew Zdanowicz
b0e9267e62 feature: add support encodng front end command to patch preamble
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-05 12:58:29 +02:00
Bartosz Dunajski
cc01c35501 feature: use dedicated cmd lists for bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-05 10:49:11 +02:00
Chandio, Bibrak Qamar
a50c0dbecf feature: Support for pStart
Related-To: NEO-15156, GSD-9939

Support for start address hint in zeVirtualMemReserve.

If it fails to find pStart then it defaults to the base line
allocateWithCustomAlignment(...)

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-08-05 10:14:01 +02:00
Zbigniew Zdanowicz
841267ecbd feature: save command buffer gpu address for front end command in command list
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-05 09:59:08 +02:00
Mateusz Jablonski
ee5cd678ea fix: correct naming of zer functions
zerDriverGetDefaultContext -> zerGetDefaultContext
zerDriverGetLastErrorDescription -> zerGetLastErrorDesription
zerDeviceTranslateToIdentifier -> zerTranslateDeviceHandleToIdentifier
zerIdentifierTranslateToDeviceHandle -> zerTranslateIdentifierToDeviceHandle

Related-To: NEO-14560

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-04 15:17:04 +02:00
Mateusz Hoppe
b7a73653a2 fix: set sync buffer ptr in implicit args
Related-To: NEO-15737

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-08-04 14:22:46 +02:00
Mateusz Jablonski
dbc00d623a refactor: allow mocking event completion timeout in ULT
fix timing issue in L0 ULT

Related-To: NEO-15354
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-04 13:00:21 +02:00
Matias Cabral
1b7a26996e refactor: renaming of metrics calcOp related structures
Resolves: NEO-15139

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-08-04 11:09:28 +02:00
Compute-Runtime-Validation
566b6551a5 Revert "fix: correct naming of zer functions"
This reverts commit 91a9ccaebe.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-08-02 02:09:08 +02:00
Zbigniew Zdanowicz
01889c97a5 feature: add patch preamble to level zero queue handling bb_start commands
Related-To: NEO-15376

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-08-01 14:50:56 +02:00
Mateusz Jablonski
91a9ccaebe fix: correct naming of zer functions
zerDriverGetDefaultContext -> zerGetDefaultContext
zerDriverGetLastErrorDescription -> zerGetLastErrorDesription
zerDeviceTranslateToIdentifier -> zerTranslateDeviceHandleToIdentifier
zerIdentifierTranslateToDeviceHandle -> zerTranslateIdentifierToDeviceHandle

Related-To: NEO-14560

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-01 14:25:20 +02:00