Dominik Dabek
17199556ca
performance: lazy start usm reuse cleaner thread
...
Delay starting usm reuse cleaner thread to first allocation reuse.
Related-To: HSD-16028754950
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2025-10-07 13:29:10 +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
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
Mateusz Hoppe
c105c77930
fix: calculation of os context count
...
Related-To: NEO-12952
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-03-28 09:55:17 +01:00
Dominik Dabek
915d657420
fix: flag to limit usm reuse based on memory usage
...
Host usm and device usm for igfx checks system memory usage.
Device usm for dgfx checks local memory usage.
If used memory is above limit threshold:
- no new allocations will be saved for reuse
- cleaner will use shorter hold time of 2 seconds
- cleaner will free all eligible allocations, regardless of async
deleter thread having work
Motivation: in case of gfx memory being full, making resident new
allocations will require evictions which leads to massive slowdown on
enqueue calls.
This change aims to minimize cases where extra memory usage from usm
reuse mechanism leads to above situation.
Related-To: NEO-6893, NEO-14160
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2025-03-27 10:25:19 +01:00
Lukasz Jobczyk
60b551758c
performance: Adjust waitpkg threshold for discrete devices
...
Related-To: NEO-14336
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-26 14:59:19 +01:00
Dominik Dabek
6e998fc3c1
fix: move host usm reuse max size to mem manager
...
Intialize value on memory manager creation.
Related-To: NEO-6893
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2025-03-24 08:53:30 +01:00
Lukasz Jobczyk
7c75807987
performance: Enable waitpkg with tpause
...
Resolves: NEO-14336
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-21 17:30:55 +01:00
Lukasz Jobczyk
8a85a96ed2
feature: Add 3-level wait scheme with tpause intrinsic
...
Related-To: NEO-14336
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-21 12:12:57 +01:00
Aravind Gopalakrishnan
724ba20e41
fix: Parse CCS mode setting for non PVC platforms
...
Related-To: GSD-8785
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2025-03-19 12:47:46 +01:00
Compute-Runtime-Validation
5f7f0dd785
Revert "performance: Enable waitpkg"
...
This reverts commit 8ec5434460 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-03-18 13:28:29 +01:00
Compute-Runtime-Validation
d54b74e8bd
Revert "fix: Parse CCS mode setting for non PVC platforms"
...
This reverts commit 5ca78dfdd1 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-03-17 00:30:44 +01:00
Aravind Gopalakrishnan
5ca78dfdd1
fix: Parse CCS mode setting for non PVC platforms
...
Related-To: GSD-8785
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2025-03-15 01:39:51 +01:00
Lukasz Jobczyk
8ec5434460
performance: Enable waitpkg
...
Resolves: NEO-14336
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-11 14:43:01 +01:00
Lukasz Jobczyk
53062056ec
performance: Enable wait pkg for ULLS light
...
Related-To: NEO-13922
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-03-07 12:18:38 +01:00
Lukasz Jobczyk
20d29207cd
refactor: Allow debug key to force USM cleaner with ULLS light
...
Related-To: NEO-13922
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-02-26 17:52:18 +01:00
Mateusz Hoppe
6e35d055f2
feature: make contextGroupSize dependent on number of processes
...
Related-To: NEO-12952
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-02-03 18:13:33 +01:00
Mateusz Hoppe
e00da808cb
feature: add logic to control secondaryContextsSupport in ProductHelper
...
- product helper sets flag in GfxCoreHelper - this allows to control
secondary contexts support per product - not whole core family
Related-To: NEO-13789
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-01-25 06:43:56 +01:00
Lukasz Jobczyk
c0838e1f76
fix: Apply dispatch all for small TG only on BMG
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-01-22 13:04:44 +01:00
Dominik Dabek
3f646839ca
fix: usm reuse cleaning unused allocations
...
mechanism for freeing allocations saved for reuse that have not been
used in a given time
Related-To: NEO-13425
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2025-01-21 14:23:19 +01:00
Lukasz Jobczyk
af0bb7964a
performance: Set dispatch all for small TG
...
Resolves: NEO-11814
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2025-01-20 08:49:59 +01:00
Jaroslaw Warchulski
4dd1c80362
refactor: use enum class instead of enum for DeviceHierarchyMode
...
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-01-16 15:49:44 +01:00
Jaroslaw Warchulski
6a7bee67e9
refactor: unify device hierarchy mode
...
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-01-14 21:08:44 +01:00
Jaroslaw Warchulski
a180afa2e6
fix: respect affinity mask with COMBINED hierarchy in OCL
...
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-01-13 15:38:39 +01:00
Wojciech Konior
8a6626da23
refactor: two engineInstanced-methods removed
...
Related-To: NEO-12594
Signed-off-by: Wojciech Konior <wojciech.konior@intel.com >
2024-10-11 18:34:06 +02:00
Wojciech Konior
6b40f9bc5a
refactor: engineInstancedType removed
...
Related-To: NEO-12594
Signed-off-by: Wojciech Konior <wojciech.konior@intel.com >
2024-10-09 16:30:48 +02:00
Compute-Runtime-Validation
680e62d333
Revert "performance: Set dispatch all for small TG"
...
This reverts commit 0dc2870513 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2024-10-02 05:41:13 +02:00
Lukasz Jobczyk
0dc2870513
performance: Set dispatch all for small TG
...
Resolves: NEO-11814
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2024-10-01 09:28:55 +02:00
Mateusz Hoppe
d9864eca7a
feature: add context group support for root device engine
...
Related-To: NEO-12257
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-08-27 10:07:28 +02:00
Winston Zhang
0590b34cfa
feature: refactor and rewrite setErrorDescription
...
Related-To: NEO-8379
Signed-off-by: Winston Zhang <winston.zhang@intel.com >
2024-08-21 17:26:25 +02:00
Fabian Zwoliński
bfbcb7c05c
fix: adjust tests to enabled global allocator 9/n
...
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2024-08-08 21:24:49 +02:00
Mateusz Hoppe
4c172a406d
fix: correct maxOsContextCount with multiple subdevices and context group
...
Related-To: NEO-12257
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-08-08 11:04:36 +02:00
Mateusz Hoppe
83ad60eb29
fix: account for hp engines when calculating max context count
...
Related-To: NEO-11983
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-07-26 12:15:14 +02:00
Bartosz Dunajski
eca2e643ba
feature: BCS low priority contexts support
...
Related-To: NEO-7824
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-07-01 11:51:11 +02:00
Filip Hazubski
0d61860af6
fix: Reset builtins pointer after its resources are freed
...
Add resetBuiltins helper function to MockRootDeviceEnvironment.
Update tests to use the new function whenever builtins unique pointer
is reset to ensure that sip kernels are properly freed.
Related-To: HSD-18038645398, HSD-18038819112
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-06-20 10:49:56 +02:00
Bartosz Dunajski
7edca8e187
fix: correct calculation of max os context count
...
Related-To: NEO-7824
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2024-06-06 22:21:34 +02:00
Bari, Pratik
6b04cd4a1e
fix: Release the Dummy Allocation before Root Device Environment
...
Related-To: GSD-6398, GSD-9027
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2024-05-15 18:08:41 +02:00
Mateusz Jablonski
cb2b572e94
feature: add support for null aub mode
...
In this mode AUB csr will be created, however, no aub file will be created
Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-04-09 16:59:42 +02:00
Dominik Dabek
b109094e4b
fix: move ulls controller stop thread
...
Move ulls controller thread stopping to execution environment
destructor. This removes the vptr race from ulls controller destructor.
Put tests that are actually running the ulls controller into multi thread
tests.
That way they are compiled with thread sanitizer and removes the
variable test time from traditional ULTS.
Related-To: NEO-10942
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-04-02 08:26:19 +02:00
Dominik Dabek
295b58a11f
fix: move ulls controller thread start
...
Move starting ulls controller thread outside constructor to avoid vptr
race.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-03-27 08:06:50 +01:00
Jaroslaw Warchulski
7c5640669c
fix: incorrect check in parseAffinityMask function
...
Resolves: GSD-8333
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2024-03-19 09:20:00 +01:00
Bellekallu Rajkiran
9736313d10
feature: Support for ccs mode configuration via SysFs
...
Add support for configuring ccs mode for all applicable devices
before KMD is loaded.
Use ZEX_NUMBER_OF_CCS to configure ccs mode.
Format is as follows:
ZEX_NUMBER_OF_CCS=NumberOfCcs i,e Setting ZEX_NUMBER_OF_CCS
to 4 sets ccs mode to 4 for all devices for which configuration
is supported.
Related-To: NEO-10378
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2024-03-15 15:51:45 +01:00
Kamil Kopryk
168445784e
feature: introduce states programming at driver init heapless ocl
...
Related-To: NEO-7824
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-03-08 12:29:44 +01:00
Mateusz Jablonski
dd1b9d6abc
refactor: correct naming of enum class constants 8/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 08:18:18 +01:00
Mateusz Jablonski
c9664e6bad
refactor: rename global debug manager to debugManager
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-30 13:00:59 +01:00
Baj, Tomasz
c49a9b9787
refactor: remove ReturnSubDevicesAsApiDevices from shared code
...
Related-To: NEO-9437
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2023-11-22 15:13:29 +01:00
Compute-Runtime-Validation
fca2159430
Revert "fix: if device hierarchy is flat then getSubDevicesCount return 1u"
...
This reverts commit cb0bb57f49 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-10-26 15:40:29 +02:00
Baj, Tomasz
cb0bb57f49
fix: if device hierarchy is flat then getSubDevicesCount return 1u
...
Related-To: NEO-9167
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2023-10-25 15:51:52 +02:00
Mateusz Jablonski
c7287f9feb
fix: populate map of indices using push_back methods
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-10-10 15:50:27 +02:00
Filip Hazubski
08e92d154f
fix: Add getDefaultDeviceHierarchy call to GfxCoreHelper
...
Added getDefaultDeviceHierarchy call that describes default device
hierarchy for a gfx core. Refactored L0 and OCL paths to use this
value by default and override this value when user sets
ZE_FLAT_DEVICE_HIERARCHY environment variable or
ReturnSubDevicesAsApiDevices debug key.
Updated ReturnSubDevicesAsApiDevices to force COMPOSITE device hierarchy
when set to 0.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-10-06 12:32:41 +02:00