Mateusz Hoppe
98fcaf4ceb
feature: support for context group on Windows
...
Related-To: NEO-14289
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-09-28 13:38:53 +02:00
Szymon Morek
5714c3858f
fix: increase staging threshold for misaligned ptrs
...
Related-To: NEO-16118
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-09-22 12:46:58 +02:00
Jaroslaw Warchulski
195bf66a49
refactor: fix typos
...
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-09-22 12:46:41 +02:00
Maciej Bielski
e8d43ff074
fix: various small improvements
...
Related-To: NEO-15630
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-09-19 13:42:36 +02:00
Mateusz Hoppe
0f657e8877
fix: allow creating hostptr allocations with GPU VA equal hostptr
...
- when host USM memory is allocated, gpu virtual address should be the
same as cpu address when chunking due to huge size is used
Related-To: GSD-11423
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-09-16 17:13:17 +02:00
Mateusz Jablonski
92316c8cd6
fix: don't setup notifyAubCapture callback when not needed
...
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-09-12 11:28:37 +02:00
Vysochyn, Illia
f4bd4e603d
refactor: Use else if instead of nested else-if conditions
...
Replaces nested else-if with else if for consistency and readability.
No functional changes.
Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com >
2025-09-11 16:20:59 +02:00
Mateusz Jablonski
ed15408592
fix: correct order of wddm initialization
...
init gmm after getting device and paging queue handles
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-09-11 16:14:49 +02:00
Szymon Morek
03357b6089
performance: adjust size threshold for staging on linux
...
Related-To: NEO-15973
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-09-05 18:09:49 +02:00
Grochowski, Stanislaw
12fa26f202
refactor: remove kmdaf from codebase
...
Related-To: NEO-14800
Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com >
2025-08-27 11:12:53 +02:00
Radoslaw Jablonski
393604ef80
refactor: numThreadsPerEu
...
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com >
2025-08-25 11:31:49 +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
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
Mateusz Jablonski
ec36dd6275
refactor: move gmm callbacks definition to common place
...
- merge all the callbacks to single template class
- store callback functions in global arrays
- partially reuse callbacks on Linux
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-08-14 16:49:29 +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
6880014602
Revert "refactor: store gmm callback functions in global arrays"
...
This reverts commit a68ea38ba1 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-08-13 23:19:58 +02:00
Mateusz Jablonski
a68ea38ba1
refactor: store gmm callback functions in global arrays
...
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-08-13 14:12:23 +02:00
Jakub Nowacki
c4ab767797
fix: add missing NonCopyableAndNonMovable asserts
...
Related-To: NEO-15630
Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com >
2025-08-13 13:13:05 +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
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
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
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
Lukasz Jobczyk
3e2acefac1
fix: Do not align svm gpu greater than its svm cpu
...
Resolves: HSD-18042781233
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-08-05 07:52:18 +02:00
Maciej Plewka
ced6c55caf
fix: use alignment when allocate by win kmd
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2025-07-29 12:42:03 +02:00
Kindracki, Jakub Tomasz
a73d5724e3
feature: Return insufficient permissions when driver device cannot be loaded
...
Return ZE_RESULT_ERROR_INSUFFICIENT_PERMISSIONS when user doesn't have
permissions to access the GPU driver device file.
Related-To: NEO-8682
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com >
2025-07-28 16:31:07 +02:00
Maciej Plewka
88fb60a515
fix: do not align to 64kb when requested alignment is bigger
...
Related-To: NEO-14082
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2025-07-22 19:32:29 +02:00
Eric Mortensen
69f2cda2fa
fix: add error checks & return to unMapVirtualMem
...
Related-To: NEO-8566
Signed-off-by: Eric Mortensen <eric.mortensen@intel.com >
2025-07-17 23:53:19 +02:00
Compute-Runtime-Validation
a585cb45b7
Revert "fix: use alignment when allocate by kmd"
...
This reverts commit 72492a9a18 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-07-12 07:48:44 +02:00
Maciej Plewka
72492a9a18
fix: use alignment when allocate by kmd
...
Related-To: NEO-14082
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2025-07-09 15:16:12 +02:00
Aleksandra Nizio
6975f7bb8d
fix: Disable compiler cache if any IGC_ env is set
...
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com >
2025-07-07 09:55:49 +02:00
Lukasz Jobczyk
0b6789187a
fix: Apply alignment when allocate by kmd
...
Resolves: HSD-18042740668
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-07-02 12:31:48 +02:00
Krzysztof Gibala
7ef630d202
fix: use 'w+' mode for gdi.log to prevent errors when file does not exist
...
Error encountered:
```markdown
Debug Assertion Failed!
File: minkernel\crts\ucrt\inc\corecrt_internal_stdio.h
Line: 686
Expression: ("Invalid file open mode", 0)
```
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2025-07-01 12:26:07 +02:00
Lukasz Jobczyk
6efabacbfc
fix: Align GPU shared allocation once with same alignment as CPU
...
Resolves: HSD-18042651670
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-06-25 15:52:05 +02:00
Jaroslaw Warchulski
2375ff89bb
refactor: cleanup headers
...
Related-To: NEO-5548
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-06-23 11:23:49 +02:00
Maciej Bielski
d667614a4f
fix: set gmm LocalOnly flag regardless of extraMemoryFlags
...
Related-To: NEO-13428
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-06-03 14:00:34 +02:00
Maciej Plewka
577c99fe9c
fix: clear residency container when failed to make resident
...
Related-To: NEO-14143
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2025-05-29 14:56:35 +02:00
Mateusz Jablonski
72e1ec3b42
fix: pass additional adapter info caps to gmmlib for wddm windows
...
Related-To: HSD-18041684792
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-05-27 12:43:31 +02:00
Lukasz Jobczyk
a0f683e42b
fix: Move evict after unlock to wddm layer
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-05-27 10:52:23 +02:00
Maciej Bielski
0f8ee57f98
feature: add NEO_LOCAL_MEMORY_ALLOCATION_MODE
...
Allow the application to force storageInfo.localOnly and get the
out-of-memory returned if not possible.
This is a windows-only feature supported on discrete platforms.
Related-To: NEO-13428
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-05-20 14:15:17 +02:00
Compute-Runtime-Validation
0a096f1d50
Revert "fix: propagate error createInternalHandle wddm"
...
This reverts commit eeddd779f0 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-05-16 02:41:16 +02:00
Dominik Dabek
eeddd779f0
fix: propagate error createInternalHandle wddm
...
Unify with linux implementation, return -1 on error and 0 on success.
Related-To: NEO-6893
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2025-05-15 15:52:37 +02:00
Maciej Bielski
6e54911cdd
fix: do not evict explicitly resident allocations
...
Related-To: NEO-13428
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-05-15 08:50:58 +02:00
Lukasz Jobczyk
1d1414febc
refactor: remove unused dc flush mitigation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-05-09 08:26:26 +02:00
Szymon Morek
6ae43123f6
fix: correct usages of ULLS-related resources
...
Related-To: NEO-14360
Current gmm usage type of these resources is causing
them to be cached, which is incorrect.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-05-08 12:12:45 +02:00
Michal Mrozek
afdc04975f
refactor: remove ftrSvm variable
...
- it is true on all platforms.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2025-05-07 16:16:42 +02:00
Krzysztof Sprzaczkowski
de72e91269
feature: Native GPU fence synchronization object implementation
...
Related-To: NEO-10811
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com >
2025-05-07 11:00:34 +02:00
Lukasz Jobczyk
ac7bd757a6
refactor: deallocate via gmm
...
Related-To: NEO-13051
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-05-06 18:12:46 +02:00
Raiyan Latif
ee4be92cc1
feature: Add TimelineWin32 External Semaphore support
...
Related-To: NEO-14397
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2025-05-01 18:51:58 +02:00
Lukasz Jobczyk
c1df81c9be
refactor: Simplify handles destroy
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-04-24 11:13:18 +02:00
Compute-Runtime-Validation
d28fcdb55b
Revert "refactor: Simplify handles destroy"
...
This reverts commit 8776bdba2f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-04-24 05:51:18 +02:00