Commit Graph

21394 Commits

Author SHA1 Message Date
Jaroslaw Warchulski
cc79a136c9 refactor: do not use C headers
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-25 12:07:50 +01:00
Mateusz Jablonski
3ac2aa6fce build: restore strict IGC dependency by default
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-25 11:39:46 +01:00
Szymon Morek
bb15deca7e fix: do not wait on tag when releasing in-place
Related-To: GSD-11990

If user releases USM without defer policy, do not check whether
allocation is in use when trying to reuse.

Also, when context is being destroyed, use blocking policy to
make sure that tag is updated and driver will notice that
resource is no longer being used by GPU when cleaning up.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-25 11:12:43 +01:00
Szymon Morek
5790a624e1 performance: dont wait on already waited counter
Related-To: GSD-11996

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-25 11:09:59 +01:00
Maciej Plewka
c3912acaca fix: do not pass msaa sharing to compile for CL in version below 1.2
Related-To: NEO-15673
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-11-25 10:35:14 +01:00
Szymon Morek
861ea7200d performance: increase heap size to 4MB on OCL
Related-To: NEO-16348

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-25 09:58:16 +01:00
Lukasz Jobczyk
36e74e4938 fix: Flush marker after blit or dependency resolve
Resolves: HSD-16027856705

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-11-25 09:32:22 +01:00
Lukasz Jobczyk
9228fa1251 fix: Few enqueue handler fixes
-do not wait for event TS under cmdQ's lock
-determine latest enqueue operation in correct order
-do not recognize marker as a barrier in some cases
-fix mutex order in enqueu blit

Related-To: HSD-16027856705

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-11-25 09:32:05 +01:00
Kamil Kopryk
56b30d1803 feature: redesign host function workers
Each host function gets its unique ID within a CSR,
uses 1 mi store to write ID - to signal that host function is ready,
and 1 mi semaphore wait will wait for the ID to be cleared,
Use 0th bit from ID as pending/completed flag,
host function ID is incremented by 2, and starts with 1.
So each ID will always have 0bit set.
This is a must have since semaphore wait can wait for 4 bytes only.

Adjust command buffer programming and patching logic to IDs.

Add hostFunction callable class - using invoke method,
which stores required information about callback.

Add host function streamer - stores all host function data
for a given CSR.
All user provided host functions are stored in unordered map,
where key is host function ID.

Add host function scheduler, and a thread pool - under debug flag
Single threaded scheduler loops over all registered host function streamers,
dispatch ready to execute host functions to thread pool.

Allow for out of order host functions execution for OOQ - under debug flag,
each host function has bool isInOrder flag which indicates if it can be
executed Out Of Order - in this mode, ID tag will be cleared immediately,
so semaphore wait will unblock before the host function execution.

Remove Host Function worker CV and atomics based implementation.

Rename classes

Related-To: NEO-14577
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-11-25 08:05:41 +01:00
Mateusz Jablonski
4f7d2f0315 feature: add support for NVLS
Related-To: NEO-16649

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-24 22:33:06 +01:00
Arek G
541fe3a86b test: refactor: Mock filesystem in ults 7/n
Related-To: NEO-15069

Signed-off-by: Arek G <arkadiusz.grubba@intel.com>
2025-11-24 21:43:53 +01:00
Mateusz Jablonski
a22817200f refactor: add wrapper for max gfx core
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-24 21:35:38 +01:00
Compute-Runtime-Validation
e0631437fc Revert "test: remove some offload test cases temporarily"
This reverts commit f3a7278d8f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-11-24 21:31:53 +01:00
ocldev
73ee39de1d build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-11-24 19:04:45 +01:00
ocldev
65556985de ci: infra revision update
Signed-off-by: ocldev <ocldev@intel.com>
2025-11-24 16:46:50 +01:00
ocldev
389516332e build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2025-11-21 14:08:21 +01:00
Mateusz Jablonski
2428946fbc build: allow control dependencies version to be more relaxed
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-21 14:06:39 +01:00
Jaroslaw Warchulski
4a8350c29d test: use HWTEST_F instead of HWTEST2_F with MatchAny param
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-21 13:17:38 +01:00
Jaroslaw Warchulski
169dad90e1 refactor: add missing #pragma once directives
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-21 12:32:55 +01:00
Jaroslaw Warchulski
1ff8a3b4a0 refactor: correct naming of release helper xe2
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-21 12:30:05 +01:00
Mateusz Jablonski
ebb4f48083 build: update gtest to v1.17.0
ignore character-conversion warning in gtest code

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-21 10:38:16 +01:00
Dominik Dabek
ad767725c5 refactor: move defer internal context init helper
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-11-21 10:02:03 +01:00
Mateusz Jablonski
f33095928c build: rename target gtest to neo_gtest
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-21 09:41:04 +01:00
Igor Venevtsev
7f593bd295 fix: use condition variables instead of busy waits in worker threads
Resolves: NEO-16085, GSD-11678, HSD-14025819208

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2025-11-21 08:48:45 +01:00
ocldev
dc8dc50e32 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-11-21 06:15:51 +01:00
Bellekallu Rajkiran
2ea3686d86 performance: Make memory resident before cpu access
Related-To: NEO-13403

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-11-21 01:22:31 +01:00
Bellekallu Rajkiran
f3a7278d8f test: remove some offload test cases temporarily
Temporarily disable offload test case related to additional blit
properties from the test

Related-To: NEO-13003

Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-11-21 01:15:33 +01:00
John Falkowski
fbe7a5a887 fix: Disable shared system USM for all KMDless modes
Related-To: NEO-16531

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-11-20 21:12:02 +01:00
Jaroslaw Warchulski
b864c34d16 test: fix typo
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-20 18:35:17 +01:00
Jaroslaw Warchulski
8c35beb6ef fix: enable state cache invalidation WA for BMG
Related-To: NEO-16499
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-20 18:35:00 +01:00
Arek G
d38819a5eb test: refactor: Mock filesystem in ults 6/n
Related-To: NEO-15069

Signed-off-by: Arek G <arkadiusz.grubba@intel.com>
2025-11-20 18:23:47 +01:00
Fabian Zwoliński
4078022318 fix: configure ISA Pool params based on productHelper
When is2MBLocalMemAlignmentEnabled returns true,
increase pool size for builtins from 64k to 2MB.

Additionally, set appropriate alignment for kernel ISA heap allocations.
Additionally, configure isaAllocationPageSize based on productHelper.

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-11-20 18:08:14 +01:00
Szymon Morek
26f3f7a343 refactor: remove not needed variable
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-20 18:00:27 +01:00
Mateusz Jablonski
553d931f4c build: rename gmock-gtest target to gtest
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-20 17:32:45 +01:00
Naklicki, Mateusz
8538a0155a feature: update SBA command for SamplerArbitrationControl
Related-To: NEO-16608
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-11-20 17:15:16 +01:00
Bellekallu Rajkiran
864020e12d refactor: Merge duplicate if blocks
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-11-20 16:39:31 +01:00
Jaroslaw Warchulski
cc724285d0 refactor: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-20 16:28:49 +01:00
Mateusz Jablonski
48cf53e9f5 build: remove not needed VERSION file
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-20 11:01:27 +01:00
ocldev
4bce49270b build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-11-20 10:36:52 +01:00
Mateusz Hoppe
466f654308 fix: move waitWithKmdNotifyFallback under debug key
Related-To: NEO-2024

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-11-20 09:51:23 +01:00
Jaroslaw Warchulski
f50ca4432d refactor: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-20 08:24:13 +01:00
Mateusz Jablonski
8db92240fc refactor: add wrapper for max product enum value
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-11-20 08:04:57 +01:00
Bellekallu Rajkiran
794798d858 performance: Make memory resident before cpu access
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-11-20 07:48:07 +01:00
John Falkowski
45b0886bc4 fix: Disable shared system USM for TBX mode
Related-To: NEO-16531

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-11-19 20:30:50 +01:00
Neil R. Spruit
b580e4e023 feature: Enable Support for reading updated StateSaveHeaders
Related-To: NEO-16518

Signed-off-by: Neil R. Spruit <neil.r.spruit@intel.com>
2025-11-19 16:42:42 +01:00
Jaroslaw Warchulski
a52f526929 refactor: cleanup includes
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-11-19 16:03:24 +01:00
ocldev
087cc67e98 ci: infra revision update
Signed-off-by: ocldev <ocldev@intel.com>
2025-11-19 15:30:29 +01:00
Francois Dugast
703309acda fix: allow execution of clinfo on ARM64
While this code builds on ARM64, it cannot execute properly because
__rdtsc() is only available on x86. clinfo returns no platform which
gives the incorrect impression that KMD or UMD is not available. A
better fix is still needed but at least clinfo runs.

Signed-off-by: Francois Dugast <francois.dugast@intel.com>
2025-11-19 15:17:30 +01:00
Aleksandra Nizio
9dcb1b6252 feature: Add support for querying pitched_alloc_2dimage_linear_pitch_exp_info_t
Add support for reporting pitchAlign and maxSupportedPitch for 2D linear
pitched allocations. This change addresses missing device properties
required for SYCL bindless image E2E tests. And removed unused
ze_bindless_image_exp.h file.

Resolves: NEO-16433
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-11-19 14:43:27 +01:00
Szymon Morek
06f30d6ed8 refactor: move relaxed ordering logic to PVC file
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-11-19 14:14:40 +01:00