Commit Graph

19069 Commits

Author SHA1 Message Date
Tomasz Biernacik
5bf8b66498 feature: disable getting fd from vmExport
Related-To: NEO-12680


Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-04-15 16:08:40 +02:00
Maciej Plewka
b8be602bfb fix: Return max wg count equal one on platforms without dispatch all support
Related-To: NEO-14125, GSD-10725
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-04-15 15:41:23 +02:00
Mateusz Jablonski
c16d02736d test: remove not needed test trait
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-04-15 15:20:25 +02:00
Lukasz Jobczyk
06e375fdc6 refactor: Add debug break for partial make resident
Resolves: NEO-13711

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-04-15 14:59:28 +02:00
Maciej Bielski
bf68fed199 test: mark a function as override
Clang-tidy rule: `[modernize-use-override]`

Related-To: NEO-14506
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-04-15 14:32:27 +02:00
Lukasz Jobczyk
f7939735da refactor: Adjust USM cleaner to ULLS light
Related-To: NEO-13922

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-04-15 14:05:02 +02:00
Lukasz Jobczyk
455209aadc refactor: Simplify fence selection in ULLS
Related-To: NEO-14642

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-04-15 14:04:47 +02:00
Mateusz Jablonski
21f6bb8889 build: update opencl headers to v2024.10.24
https://github.com/intel/compute-runtime/issues/822

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-04-15 10:06:20 +02:00
Szymon Morek
1432f6a7b2 test: don't call expectMemory on compressed data
Compressed memory can't be compared using expectMemory api.
Instead, compressed memory is transferred to usm host.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-04-15 09:22:48 +02:00
ocldev
ebc85b7bef build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-15 05:25:56 +02:00
ocldev
06f253d57c build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-14 21:32:38 +02:00
Marcel Skierkowski
31f0fd4672 refactor: rename variable slmSize
Max programmable slm size is stored in RuntimeCapabilityTable as slmSize.
That is misleading name
Rename the variable slmSize to better reflect the actual meaning of the member.

Related-To: NEO-12949
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-04-14 20:00:29 +02:00
Chodor, Jaroslaw
7bded13638 feature: Enabling support for redirecting FCL to IGC for OCL
This allows for invoking IGC as OCL C translator in OpenCL paths

Accepted debug env :
UseIgcAsFcl=1 ; forces IGC
UseIgcAsFcl=2 ; forces FCL
UseIgcAsFcl=0 ; uses defaults

Related-To: NEO-14473
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-04-14 18:41:48 +02:00
ocldev
d29ae82cd6 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-14 15:07:20 +02:00
Jaroslaw Warchulski
3e1aa33924 refactor: cleanup headers
Related-To: NEO-5548
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-04-14 14:59:40 +02:00
Maciej Bielski
6ecf5b373e feature: exit with warning if small bar detected on Linux
Return early and provide justification, otherwise SIGBUS error is
returned.

Related-To: NEO-14506
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-04-14 14:43:25 +02:00
Marcel Skierkowski
e82be94368 refactor: Modernize writeDataToFile function
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-04-14 14:28:58 +02:00
Kamil Kopryk
dd3d294f87 performance: cache MOCS values
This change caches the most used MOCS values:

* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER_CONST);
* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER);
* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER_CACHELINE_MISALIGNED);
inside gmmHelper class during initialization to avoid repeated
calls of virtual functions, branches and/or gmm lib access.

and adds more readably corresponding getters:
* getL1EnabledMOCS
* getL3EnabledMOCS
* getUncachedMOCS

If force all resources uncached is called,
these 3 cached mocs values are reinitialized

It also changes the order of gmmHelper members, to avoid
not needed padding after addressWidth
and simplifies logic in getMocsIndex function
for xehp and later products.

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-04-14 14:12:48 +02:00
ocldev
5a545073f6 build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-14 12:27:14 +02:00
Tomasz Biernacik
194c3058b8 performance: change usage for ringBuffer on integrated devices
Related-To: NEO-9421

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-04-14 12:25:38 +02:00
ocldev
6a1a4ee159 build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-14 10:33:27 +02:00
ocldev
30a3b68fc3 build: update level_zero revision to v1.21.9
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-13 22:05:44 +02:00
Chodor, Jaroslaw
a079a2654d feature: Enabling support for DisableDeepBind debug env in ocloc
Accepted debug env :
NEO_OCLOC_DisableDeepBind=1

Related-To: NEO-14473
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-04-12 23:21:19 +02:00
Tomasz Biernacik
18435df04c fix: unify deferring MOCS to PAT
Related-To: NEO-14643

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-04-11 20:10:25 +02:00
Chodor, Jaroslaw
72ae27d51e feature: Enabling debug variables reader in ocloc
This allows for using debug variables in ocloc with
a few by-design limitations :
* debug var needs to be prefixed with NEO_OCLOC_
(when setting-up at runtime as environment variable
or using .config file)
* debug var needs to be tagged with S_OCLOC scope
(at compile time, in debug_variable .inl files)

Related-To: NEO-14473
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-04-11 19:58:53 +02:00
Zbigniew Zdanowicz
09c9b555f9 fix: correct scope for usm allocations indirect access lock
Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-04-11 19:39:48 +02:00
Chodor, Jaroslaw
9e14eaaed1 feature: Adding support for scoped debug variables
This allows for limitting debug variables to specific
components.

Related-To: NEO-14473
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-04-11 17:52:17 +02:00
Mateusz Hoppe
3204411aca refactor: use deviceBitfield from CSR when creating engine
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-04-11 17:30:29 +02:00
Szymon Morek
5b20450162 performance: enable compression on PTL
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-04-11 17:26:29 +02:00
ocldev
e37decb8ef build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-11 16:57:00 +02:00
Zbigniew Zdanowicz
cf7209ddfe refactor: change queue and immediate command list to accept indirect lock
Related-To: NEO-10356

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-04-11 13:45:29 +02:00
ocldev
4a4f1f934a build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-11 11:51:38 +02:00
ocldev
49ff72c287 build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-11 09:53:19 +02:00
ocldev
6147d28ae5 ci: L0 loader update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-11 09:33:14 +02:00
ocldev
5089cd2560 build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-10 23:37:51 +02:00
Matias Cabral
25ed9d1989 feature: metrics aggregation for EU Stall
Resolves: NEO-13999

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2025-04-10 22:38:19 +02:00
ocldev
447b258c65 build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-10 21:53:36 +02:00
ocldev
5447487f3e build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-10 20:01:55 +02:00
shubham kumar
f5b9d6f459 refactor: prework to read EUSS correctly for next gen core
Related-To: NEO-14545

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2025-04-10 19:28:13 +02:00
Zbigniew Zdanowicz
9e5ff37b5c fix: process immediate command list internal residency
Related-To: NEO-14625, NEO-14624

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-04-10 17:29:04 +02:00
ocldev
407142b1c5 build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-10 17:03:49 +02:00
ocldev
6237880cf9 build: kernels_bin update
Signed-off-by: ocldev <ocldev@intel.com>
2025-04-10 15:44:57 +02:00
Igor Venevtsev
ef52479ce4 feature: add FillImage1dBuffer built-in kernel
Resolves: NEO-13984, HSD-18041422852

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2025-04-10 14:04:13 +02:00
Pratik Bari
ff7bfc8b6e refactor(sysman): Wrapper function to fetch PMU configs w.r.t Xe driver
A new wrapper function is introduced which fetches the PMU configs for
the Active Ticks and Total Ticks.

Related-To: NEO-14594

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2025-04-10 07:49:26 +02:00
Raiyan Latif
e4196b3029 refactor: support mt_tests framework for L0 Core
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-04-10 03:48:21 +02:00
Damian Tomczak
f9516b8723 test: remove DEFAULT_TEST_FAMILY_NAME from fixture
Related-to: NEO-14395

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-04-09 23:29:25 +02:00
Compute-Runtime-Validation
3e2eea60f2 Revert "feature(sysman): Add support of zesPowerGetEnergyCounter() API for BMG"
This reverts commit da4a5d0389.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-04-09 20:18:45 +02:00
Marcel Skierkowski
5d01677454 refactor: Mock file system in ULTs
Functions: fileExists and loadDataToFile
use IO functions from namespace IoFunctions

Now tests that use these functions
are mocked by default,
but some still require access to real files
and have been restored the ability to read files.
They will be mocked in next PRs.

Related-To: NEO-7006
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-04-09 19:51:46 +02:00
Young Jin Yoon
077fe1ab48 test: simplify postsync mocs tests for gen12lp
Fixed a clang-format error on unassigned value comparison with
one of command_encoder tests for gen12lp

Related-To: NEO-13003
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2025-04-09 19:51:31 +02:00
Maciej Plewka
286acf30a3 fix: Dispatch residency fence when stopping ulls on windows
Related-To: NEO-14396, HSD-18041496023, HSD-13012953666, NEO-14611
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-04-09 19:51:16 +02:00