Fabian Zwolinski
ee53bf0839
fix: linux cl_cache eviction mechanism
...
Fixed and refactored eviction mechanism works as follows:
- eviction is needed only if
total size of cache binaries + size of the new binary exceed cache limit
- single evition call removes files with a summed size of 1/3 of the cache limit
- if new binary can not fit in the cache size limit
even after eviction, it will not be saved
- cache limit applies only to
files in cache directory with .cl_cache/.l0_cache extension.
Only these files are counted and only these files are removed
Minor:
- rename variables for better readability
- add `const` where possible
Related-To: NEO-4262
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-12-05 09:35:48 +01:00
Mateusz Jablonski
6849d33326
refactor: remove redundant definitions KB/MB/GB
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-05 08:55:18 +01:00
Mateusz Jablonski
6cbcb743be
feature: add support for release 12.74
...
Related-To: NEO-8187
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-05 08:01:31 +01:00
Mateusz Jablonski
92838c05fd
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-04 19:02:36 +01:00
Mateusz Jablonski
c48e57e2de
refactor: rename register offsets and constants
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-04 18:31:39 +01:00
Mateusz Jablonski
3695e63f9d
refactor: correct naming of internal usm flags
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-04 17:10:40 +01:00
Mateusz Jablonski
9a28317ac4
refactor: rename variables from MemoryBanks namespace
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-04 16:46:46 +01:00
Mateusz Jablonski
9486cd2a26
refactor: rename WALKER_TYPE to DefaultWalkerType
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-04 16:29:32 +01:00
Mateusz Jablonski
552c129c0b
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-04 15:14:02 +01:00
Dominik Dabek
6cf6a8def8
performance: add power throttling debug key
...
Set windows process power throttling hint to HIGH on wddm init
Related-To: NEO-8215
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-12-04 15:03:33 +01:00
Mateusz Jablonski
95eb723ca5
test: lower priority of alarm thread in Windows ULT
...
notify alarm thread readiness by setting atomic bool
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-04 14:25:35 +01:00
Mateusz Jablonski
c3d3a4db1f
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-04 13:45:53 +01:00
John Falkowski
911acd81a2
feature: add SetBOChunkingSize debug variable
...
Resolves: NEO-9562
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-12-04 06:21:01 +01:00
Compute-Runtime-Validation
9add9f12dc
Revert "feature: add SetBOChunkingSize debug variable"
...
This reverts commit e1df8f9112 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-12-03 03:28:16 +01:00
Mateusz Hoppe
8056476d8d
fix: program binding table for bindless kernels
...
- if binding table entries are used in bindless kernel, program Binding
table
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-12-01 19:54:10 +01:00
Michal Mrozek
a129c29b40
performance: do not enable v2 algorithm in certain scenarios
...
- do not enable when SubSliceCount != MaxSubSlicesSupported
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
Related-To: NEO-6989
2023-12-01 19:40:11 +01:00
Kamil Kopryk
aa950a4a96
feature: Add heapless mode programming in l0 1/n
...
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-12-01 17:01:01 +01:00
Mateusz Jablonski
039c993219
test: improve alarm handler on Windows
...
- check elapsed time in a loop
- log more details
- disable abort request during global cleanup
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-01 16:01:56 +01:00
Dunajski, Bartosz
2c921ec940
feature: support to use mi_atomic for signalling in-order counter
...
Related-To: NEO-7966
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-12-01 15:35:12 +01:00
Zbigniew Zdanowicz
4f9fe6bb53
fix: detect gpu reset on windows direct submission
...
Related-To: NEO-8395
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-12-01 14:13:14 +01:00
Mateusz Jablonski
cdcd834712
refactor: correct naming of builtin types
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-01 14:08:21 +01:00
Mateusz Jablonski
b77a1fa032
test: increase windows ult timeout
...
debug config to 240s per iteration
release config to 120s per iteration
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-01 13:48:55 +01:00
Mateusz Jablonski
e57d372608
refactor: correct naming of enum class constants
...
EngineGroupType
BlitDirection
PostBlitMode
WaitStatus
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-01 11:53:51 +01:00
John Falkowski
e1df8f9112
feature: add SetBOChunkingSize debug variable
...
Resolves: NEO-9562
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-12-01 09:39:47 +01:00
Kacper Nowak
4a0064033a
fix: Correct AIL initialization in runtime
...
- Initialize AIL helper in runtime (linux/windows/AUB path).
- Return false if AIL configuration initialization is called with empty
AIL helper (is nullptr).
- Skip mentioned condition if AIL is disabled via EnableAIL debug key.
Related-To: NEO-9240
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-12-01 02:42:10 +01:00
Mateusz Jablonski
c3ac7b78bd
refactor: correct variable naming
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-01 02:18:46 +01:00
Mateusz Jablonski
bc862dff49
test: increase ult iteration timeouts
...
for aub tests on Windows to 360s
for ocloc tests on Windows to 90s
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-30 23:40:55 +01:00
Mateusz Jablonski
939a37c445
test: start alarm handler just before RUN_ALL_TESTS
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-30 23:40:20 +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
Mateusz Jablonski
36194c4e7d
refactor: correct variable namings
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-29 23:49:03 +01:00
Dunajski, Bartosz
9e3a8bdf1b
test: increase ult iteration time in Windows DEBUG builds
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-29 23:07:36 +01:00
Dunajski, Bartosz
5772b17924
refactor: Add debug flag to check Device State on failed Wddm submission
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-11-29 18:44:25 +01:00
Mateusz Jablonski
aac8686095
fix: correct calculating submit cpu timestamp
...
Related-To: NEO-9590, HSD-18035219634
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-29 17:42:41 +01:00
Fabian Zwolinski
06ec4c3a82
fix: aub residency in HW+AUB mode
...
Related-To: NEO-9230
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-11-29 11:54:59 +01:00
Mateusz Hoppe
6c4e46f6a6
test: increase ult iteration time in Windows DEBUG builds
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-11-29 11:22:24 +01:00
Mateusz Jablonski
ce5fdf7091
test: increase per test timeout in mt tests to 16s
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-29 09:48:25 +01:00
Zbigniew Zdanowicz
fdcf7f6793
performance: enable new dispatch monitor fence policy in direct submission
...
Related-To: NEO-8395
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-11-28 17:21:46 +01:00
Mateusz Jablonski
b028d0c177
test: increase per test timeout in unit tests to 16s
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-28 13:08:48 +01:00
Compute-Runtime-Validation
1395a2cb38
Revert "refactor: linux cl_cache eviction mechanism"
...
This reverts commit a02ac1c140 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-11-28 08:51:36 +01:00
Naklicki, Mateusz
dc29c08abd
fix: align NEO code to new uAPI header
...
Related-To: NEO-9566
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2023-11-27 19:50:23 +01:00
Fabian Zwolinski
a02ac1c140
refactor: linux cl_cache eviction mechanism
...
Refactored eviction mechanism works as follows:
- eviction is needed only if
total size of cache binaries + size of the new binary exceed cache limit
- single evition call removes files with a summed size of 1/3 of the cache limit
- if new binary can not fit in the cache size limit
even after eviction, it will not be saved
- cache limit applies only to
files in cache directory with .cl_cache/.l0_cache extension.
Only these files are counted and only these files are removed
Minor:
- rename variables for better readability
- add `const` where possible
Related-To: NEO-4262
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-11-27 18:20:41 +01:00
Mateusz Jablonski
829e5ba5e6
test: increase per test timeout in unit tests to 8s
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-27 15:29:56 +01:00
Mateusz Jablonski
8e3caef814
test: add support for alarm in Windows ULT
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-27 14:24:45 +01:00
Mateusz Jablonski
c7daa7a960
test: add per test case timeout
...
fail unit test when takes more than 5s
fail aub test when takes more than 20s
add mechanism to control timeout per aub/mt/unit test
disable tests with fstream
Related-To: NEO-7006
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-11-27 12:58:11 +01:00
Maciej Plewka
8c8bb23356
fix: update completion fence for previous ring during switch
...
Related-To: NEO-9330
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-11-27 12:30:01 +01:00
Mateusz Hoppe
83ac95d293
fix: L0 - remove synchronization with events on appends in tbx mode
...
Related-To: NEO-9400
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-11-27 10:39:55 +01:00
Compute-Runtime-Validation
c4328d223a
Revert "feature: enable bindless mode in L0 on dg2"
...
This reverts commit e23aebf3d7 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-11-25 01:40:26 +01:00
Kamil Kopryk
ce7298d512
feature: Add heapless mode programming in ocl
...
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-11-24 12:53:39 +01:00
Maciej Plewka
1a364f5c98
fix: add synchronization for updating tag and updating residency in GA
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-11-24 12:12:13 +01:00
Francois Dugast
f465cf5f27
feature: update Xe KMD header
...
xe_drm.h header is generated from the series
"uAPI Alignment - Remove unused features"
from https://patchwork.freedesktop.org/series/126278/
This aligns with Xe KMD commit ("drm/xe/pmu: Drop interrupt pmu event").
Related-To: NEO-8324
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
2023-11-24 11:40:42 +01:00