Commit Graph

20004 Commits

Author SHA1 Message Date
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
Zbigniew Zdanowicz
5893fb08fb refactor: move surface state programming method to base class
Related-To: NEO-15374

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-22 19:09:03 +02:00
Szymon Morek
b90b77e4e3 fix: flush cache after accessing img from buffer
Related-To: NEO-15391

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-22 16:55:04 +02:00
Pawel Cieslak
aac2928088 ci: infra revision update
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2025-07-22 16:19:14 +02:00
Mateusz Jablonski
dedfcae377 test: enable output validation in zello_printf
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-22 15:13:27 +02:00
Oskar Hubert Weber
9055ae8e54 fix: skip teardown clean up when terminating process on Windows
Per https://learn.microsoft.com/en-us/windows/win32/dlls/dllmain,
it's not safe to clean up resources in DllMain when
fdwReason == DLL_PROCESS_DETACH and lpvReserved != NULL (the process is
terminating), e.g. can result in a hang in some cases.

Related-To: NEO-14121

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2025-07-22 15:13:11 +02:00
Mateusz Hoppe
b17ed79618 fix: update implicitArgs versions
- fix layout of implicit args
- add enqueued local size and sync buffer ptr

Related-To: NEO-15160

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-07-22 15:12:55 +02:00
Mateusz Jablonski
09ee9bf093 feature: expose DDI Handles extension by default
Related-To: NEO-13917, NEO-13121
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-22 13:13:57 +02:00
Bartosz Dunajski
e000167b91 documentation: update regular cmd list with CB Events usage pattern
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-22 12:14:19 +02:00
Bartosz Dunajski
1f734d6f6a refactor: add helper to set default split mode
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-22 11:51:48 +02:00
Chodor, Jaroslaw
42ab9b5829 feature: Record&Replay support for queries
Related-To: NEO-15377

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-22 10:48:55 +02:00
Tomasz Biernacik
2da77209dc refactor: encapsulate condition
Related-To: NEO-14844

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-07-22 10:43:39 +02:00
Krzysztof Gibala
9619adbf4e refactor: Correct typo
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2025-07-22 10:20:19 +02:00
Grzegorz Choinski
d032c010d9 ci: infra revision update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2025-07-22 10:18:27 +02:00
Szymon Morek
57e4cc025f performance: enable staging copy in L0
Related-To: NEO-14026

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-22 07:47:38 +02:00
Compute-Runtime-Validation
f129707e8a Revert "feature: Add interface for Ext area regarding payload args in zebin s...
This reverts commit 695ef4877a.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-22 00:42:45 +02:00
Mateusz Jablonski
8bdc479fe7 fix: correct global device synchronization
skip uninitialized command stream receivers

Additionally, add L0 black box for kernel with arg slm

Test verifies new simplified L0 API

Functions:
- zerDriverGetDefaultContext
- zeDeviceSynchronize
- zeCommandListAppendLaunchKernelWithArguments
- zerIdentifierTranslateToDeviceHandle
- zerDeviceTranslateToIdentifier
- zerDriverGetLastErrorDescription

Definitions:
- defaultCommandQueueDesc
- defaultHostMemDesc
- defaultDeviceMemDesc

Related-To: NEO-14560
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-21 19:51:49 +02:00
Arek G
695ef4877a feature: Add interface for Ext area regarding payload args in zebin spec
Related-To: NEO-14899, IGC-11358

Signed-off-by: Arek G <arkadiusz.grubba@intel.com>
2025-07-21 19:13:46 +02:00
Pawel Cieslak
50303d7c60 ci: infra revision update
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2025-07-21 18:11:56 +02:00
Zbigniew Zdanowicz
86528a10a3 performance: change mutable structures for better browse and access patterns
Related-To: NEO-13916

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-21 17:21:02 +02:00
ocldev
9fd91cf80e build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-07-21 16:37:56 +02:00
ocldev
2008b1eda0 ci: infra revision update
Related-To: NEO-15263
Signed-off-by: ocldev <ocldev@intel.com>
2025-07-21 15:11:41 +02:00
Michal Mrozek
773248dc45 performance: remove redundant vector in mcl
Related-To: NEO-15498

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-07-21 14:43:03 +02:00
Grochowski, Stanislaw
2bb965329d fix: Add BMG 0xE209 device id
Related-To: NEO-15319

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-07-21 12:57:44 +02:00
Michal Mrozek
aa8ab38156 performance: remove redundant vector
Related-To: NEO-15498
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-07-21 12:54:22 +02:00
Szymon Morek
86b5660c23 performance: introduce staging copy in L0
Related-To: NEO-14026

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-21 08:50:43 +02:00
ocldev
778efa0959 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-07-21 06:51:33 +02:00
Compute-Runtime-Validation
4c691c551c Revert "performance: enable usm reuse, BMG"
This reverts commit a5f589265d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-21 01:55:45 +02:00
Zbigniew Zdanowicz
71659807c4 refactor: add new parameter to use dedicated memory to initialize surface state
Related-To: NEO-15374

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-19 03:10:51 +02:00
Chodor, Jaroslaw
74f04acb88 feature: Record&Replay support for additional API calls
Related-To: NEO-15373

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-19 02:56:47 +02:00
ocldev
7ce4ec736f build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-07-18 18:07:23 +02:00
Dominik Dabek
a5f589265d performance: enable usm reuse, BMG
Related-To: NEO-6893, GSD-11387

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-18 16:27:45 +02:00
Zbigniew Zdanowicz
259883c9c7 performance: do not capture and mutate stateful arguments in default mode
Related-To: NEO-13916

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-18 13:25:47 +02:00
Naklicki, Mateusz
baab16c394 refactor: remove unused debug variables
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-07-18 13:14:27 +02:00
Zbigniew Zdanowicz
0af70b2e18 performance: do not copy host view per-thread data at kernel isa mutation
- per-thread data will be recreated at mandatory group size mutation

Related-To: NEO-13916

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-18 12:48:46 +02:00
Zbigniew Zdanowicz
95dedbbcd8 performance: limit copying compute walker from host view at kernel mutation
- at kernel mutation copy post sync and inline data
- at mandatory group count/size mutation copy dispatch data

Related-To: NEO-13916

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-07-18 12:42:04 +02:00
ocldev
88ed1ce169 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-07-18 06:24:31 +02:00
ocldev
63a382e372 build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-07-18 00:40:51 +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
Maciej Bielski
35ecde70df refactor: extract parts of KernelImp data for easier capturing
`KernelImp` is virtual class so capturing the current kernel state
cannot be done by a simple copy-instance of the class. However, this can
be done by extracting the relevant data to a separate class and
capturing a copy of its instance.

Related-To: NEO-15374
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-07-17 23:00:22 +02:00
Grochowski, Stanislaw
171b398465 fix: Add PTL sku device ids
Related-To: NEO-14999

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-07-17 21:27:13 +02:00
Naklicki, Mateusz
5c74b361a3 test: prevent test cross-contamination in ClCache tests
Environment flags set in
GivenIgcEnvVarSetWhenGetDefaultCacheConfigThenWarningIsPrinted were
leaking to other tests, causing them to fail in some scenarios.

Resolves: NEO-15578
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-07-17 21:18:01 +02:00
Neil R. Spruit
2f6e4d36da fix: Correct all L0 handle definitions to properly handle the DDI ext
Related-To: NEO-15570

- Fixes for missing handle definitions for DDi Ext compliance and
incorrect definitions for several handle definitions requiring handle
translation.

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-07-17 19:13:51 +02:00
Szymon Morek
1d842c58bf performance: don't terminate ULLS if BCS is busy
Related-To: NEO-15452

If CCS is idle, but BCS is busy, keep CCS ULLS
context running. BMG only.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-17 17:46:23 +02:00
Grzegorz Choinski
2ee3070a1e ci: infra revision update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2025-07-17 14:46:18 +02:00
ocldev
9901b92d97 build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-07-17 14:26:03 +02:00
Dominik Dabek
c925353d86 test: cleanup usm reuse before release device res
Normally usm reuse is cleaned up before releasing device resources.

This cleanup accesses neo device. Calling it after device resources
release causes use after free.

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-07-17 13:31:28 +02:00
Grochowski, Stanislaw
e652679b95 fix: correct pollForCompletion in aub on program termination
Related-To: NEO-14867

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-07-17 12:59:00 +02:00
John Falkowski
d3564fab68 refactor: Use common default pat index for vmUnbind
Related-To: NEO-13697

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-07-17 10:41:38 +02:00
Naklicki, Mateusz
0f1361eb6a test: fix optional-scratch related tests
* Use isDefined() to check scratch and indirect data pointers, which currently
default to undefined
* Correct kernel selection in EnqueueCopyBufferTests: previous tests expected
the CopyBufferToBufferMiddleStateless kernel, but the executed kernel is
CopyBufferToBufferRightLeftoverStateless.
If executed kernel crossthread data fits inline, reducing indirect heap usage
to zero, and expected kernel does not, this mismatch would make tests fail

Related-To: IGC-10687
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-07-17 10:20:08 +02:00