Commit Graph

7150 Commits

Author SHA1 Message Date
Dominik Dabek
3dcfef5812 fix: usm reuse aub/tbx update alloc id
On getting from reuse update alloc id and increment allocations counter.
This is to ensure that making indirect allocations resident picks up the
reuse allocation.
Only applicable on aub/tbx csr types.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-07 15:49:16 +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
Compute-Runtime-Validation
8086c2a96f Revert "fix: check if aubCenter exists before using setCCSMode"
This reverts commit d670e66caa.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-05 03:43:34 +02:00
Slawomir Milczarek
76090f041d fix: Fixed out-of-bounds write to usageInfos array with residency task count
Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-07-03 18:00:37 +02:00
Aleksander Czerwionka
d670e66caa fix: check if aubCenter exists before using setCCSMode
Related-To: NEO-15423

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-07-02 15:51:40 +02:00
Lukasz Jobczyk
a1ec6bc243 fix: Do not update ulls tag when ring not started
When ring is not started ulls tag update is not dispatched. Counter
should reflect that.

Resolves: GSD-11312

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-07-02 15:43:06 +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 Sprzaczkowski
5a057bbd46 feature: Add PCI barrier mmap logic for xe
Related-To: NEO-13081
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-07-01 16:32:54 +02:00
Bartosz Dunajski
e2dff82741 feature: remote copy support for bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-01 15:57:02 +02:00
Aleksander Czerwionka
6acf58633d fix: set correct CCS mode in Aubstream and reenable multi context tests
Related-To: NEO-14917

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-07-01 15:18:11 +02:00
Dominik Dabek
e52fa32271 fix: disable usm reuse if debugger enabled
Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-01 14:22:15 +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
Mateusz Jablonski
41ce81143a refactor: remove not needed flags p2pAccessSupported, p2pAtomicAccessSupported
such support is queryable in runtime

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-01 11:37:51 +02:00
Compute-Runtime-Validation
9ca238a73b Revert "performance: Do not prefer blit enqueue on PTL"
This reverts commit 62f2a86f16.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-01 10:20:12 +02:00
Raiyan Latif
b5f6cdf59b fix: Add missing field in DRM wrapper for ext semaphore
Related-To: NEO-15298

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-06-30 20:21:49 +02:00
Mateusz Hoppe
cb152ba821 fix: copy sip binary to allocation based on blitRequired query
- readOnly ISA allocations must be written through CPU pointer
- command buffer allocation in singleAddressSpaceSbaTracking mode cannot
be readonly - it is written by SBA tracking commands
- this change is fixing ZET_ENABLE_PROGRAM_DEBUGGING mode 2

Related-To: GSD-10359

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-06-30 19:41:19 +02:00
Ben Ashbaugh
25d0daf754 feature: support SPIR-V 1.4 and 1.5
Related-To: NEO-14312

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2025-06-30 17:05:12 +02:00
Szymon Morek
af6ac59a40 Revert "fix: Override timestamp width from KMD"
This reverts commit 7f2b806413.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-30 16:10:01 +02:00
Lukasz Jobczyk
4010ff6908 performance: Use tag allocator for fill pattern
Resolves: NEO-9729

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-30 15:24:08 +02:00
Bartosz Dunajski
78c6751be1 feature: initial support for multitile bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-30 12:38:58 +02:00
Compute-Runtime-Validation
c62c7334c9 Revert "feature: Enable kmd migration by default on PVC platform"
This reverts commit 5402e2639f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-30 12:06:40 +02:00
Dominik Dabek
dde8bf1b9b fix: usm reuse blocking free handling
on blocking free wait for engines completion before putting into reuse
mark allocation as completed and do not check is in use status on
getting

Related-To: NEO-6893, HSD-18042686276

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-30 11:46:45 +02:00
Dominik Dabek
bd9b458add fix: correct debug break if, usm reuse
Should break if memory manager is nullptr

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-26 13:25:54 +02:00
Lukasz Jobczyk
62f2a86f16 performance: Do not prefer blit enqueue on PTL
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-26 13:25:39 +02:00
Kamil Kopryk
fe34302a3a fix: RTDispatchGlobals programming
Related-To: NEO-14423

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-06-26 04:45:49 +02:00
Dominik Dabek
4cbd6c79a0 fix: mark aub/tbx writable on get from usm reuse
Related-To: NEO-6893, NEO-15359, HSD-18042681561

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-25 19:36:16 +02:00
Zbigniew Zdanowicz
442c11b5ba feature: add mutable command list implementation
Related-To: NEO-10492

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-06-25 16:32:08 +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
Dominik Dabek
5c7fd72d5f performance: enable l0 usm reuse
Do not reuse internal or imported allocations.
Mark as aub writable on getting from reuse.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-25 15:49:15 +02:00
Neil R. Spruit
532c663da6 feature: Add Initial Support for Get Vector Width Properties
- Added support for L0 to query Vector Width Properties which allows for
querying all the supported vector widths and their prefferred and
native vector widths per data type.
- Updated shared code to support querying the same values thru
getPreferredVectorWidth* and getNativeVectorWidth* helper functions
for OpenCL and Level Zero.
- Initial support for reporting base values for the vector
widths with future support for reporting different values per platform and
based on the SIMD/SIMT size used.

Related-To: NEO-13745

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-06-25 01:11:30 +02:00
Dominik Dabek
cc92027f79 performance: enable ocl usm reuse xe3
also split per api type (ocl,l0) pre xe3

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-24 16:55:07 +02:00
Szymon Morek
0db5ce22a1 performance: use resource_barrier on Xe2 and PTL
Related-To: NEO-14943

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-24 14:24:47 +02:00
Naklicki, Mateusz
bd80531dea fix: allow scratch to be optional
Related-To: NEO-14130

Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-06-24 11:15:04 +02:00
Raiyan Latif
533d351f5d fix: Add External Semaphore IOCTL calls to XE ioctl helper
Related-To: NEO-15298

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-06-24 06:15:53 +02:00
Chandio, Bibrak Qamar
c1867ed981 feature: atomic attributes for shared system alloc
Related-To: NEO-13715, NEO-14862

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-06-23 20:14:47 +02:00
Slawomir Milczarek
cb4fa456b7 fix: Improved logs for buffer submission and execution to use debug string
Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-06-23 18:52:43 +02:00
Dominik Dabek
77e25f90d7 fix: prepare for l0 usm reuse enable
adjust ULTs
disable usm reuse in multi device l0
don't initialize usm caches if max reuse size is 0
check requested alignment when returning from cache
guard against double free

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-23 17:17:18 +02:00
Bartosz Dunajski
de8f98b43e feature: initial support for aggregated bcs split
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-23 16:20:14 +02:00
Mateusz Hoppe
b7580a3998 fix: store image arg size in kernel descriptor
- use arg size when patching bindless offset

Related-To: HSD-18042502539

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-06-23 13:37:44 +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
Jack Myers
f2b5126598 feature: enable tbx fault manager by default
Related-To: NEO-13748
Signed-off-by: Jack Myers <jack.myers@intel.com>
2025-06-23 09:59:32 +02:00
Naklicki, Mateusz
b462f990b6 fix: prevent underflow in per thread data offset calculation
Related-To: NEO-14719

Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-06-23 09:39:39 +02:00
Slawomir Milczarek
2720f2316c feature: Add capability to print debug messages with pid and timestamp
Controlled with the knob DebugMessagesBitmask (1 - pid, 2 - timestamp)

Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-06-21 19:35:52 +02:00
Bellekallu Rajkiran
1be3d6ad37 refactor: Refactor product helpers
Related-To: NEO-14627

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-06-20 23:04:34 +02:00
Aleksandra Nizio
f0780df9be fix: Remove unused AubMemDump logic
Related-To: NEO-14718
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-06-20 19:54:48 +02:00
Slawomir Milczarek
e7032ab032 fix: Fixed function for printing execution buffer to return correct vm id
Related-To: NEO-12952

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2025-06-20 12:38:56 +02:00
John Falkowski
764fd33a46 refactor: clSetKernelArgSVMPtr ptr error if debug var set
Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-06-18 20:55:48 +02:00
Michal Mrozek
f6cb013896 refactor: remove redundant member
- it is true on all platforms.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-06-18 16:15:30 +02:00
Lukasz Jobczyk
670d47d27c fix: Unify shared allocation cpu alignment across OS
Resolves: HSD-18042568618

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-06-18 09:47:25 +02:00
Dominik Dabek
00921d0929 performance: enable l0 usm host pool
disable in sysman ults, pooling breaks in tests that simulate device
error

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-17 14:37:01 +02:00