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
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
Bartosz Dunajski
ab7364ae19
test: improve HWTEST2_F macro
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-04-08 17:18:14 +02:00
Lukasz Jobczyk
8978ea5e5a
performance: Do not create global fence allocation on integrated
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-04-07 11:22:04 +02:00
Compute-Runtime-Validation
f332571d96
Revert "performance: Do not create global fence allocation on integrated"
...
This reverts commit ecf8a07d26
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-04-04 16:26:19 +02:00
Lukasz Jobczyk
ecf8a07d26
performance: Do not create global fence allocation on integrated
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-04-04 11:45:22 +02:00
Filip Hazubski
504440fc4d
feature: Add ftrHeaplessMode flag
...
Pass hwInfo to isHeaplessModeEnabled and isForceBindlessRequired functions.
Related-To: NEO-14526
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-04-02 21:06:05 +02:00
Szymon Morek
62964a0b08
fix: invalidate caches when heap is placed into reuse list
...
Related-To: NEO-9004
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-03-31 12:30:29 +02:00
Jack Myers
0aa2c4f0cb
feature: allow removal of heapful code paths
...
Related-To: NEO-13007
Signed-off-by: Jack Myers <jack.myers@intel.com>
2025-03-27 01:34:35 +01:00
Damian Tomczak
0243004907
feature: additional checkers to enable feature
...
Resolves: NEO-13973
Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-03-26 18:06:20 +01:00
Kamil Kopryk
402fc037c3
test: correct expectations 2/2
...
Related-To: NEO-13163
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-03-26 09:03:13 +01:00
Kamil Kopryk
b462f95884
test: correct expectations
...
Related-To: NEO-13163
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-03-25 16:59:05 +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
Michał Pryba
117f4c8d32
test: fix ults that are not freeing Sip kernel correctly
...
Related-To: NEO-13839
Signed-off-by: Michał Pryba <michal.pryba@intel.com>
2025-03-17 18:53:12 +01:00
Maciej Plewka
c5e1fcf313
fix: Copy tiled 1D array per array element with BLT
...
Related-To: NEO-14147, HSD-14024424096, HSD-14024424178
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-03-07 17:29:04 +01:00
Damian Tomczak
81b0cac65f
fix: raytracing heapless missing allocation
...
Related-to: NEO-12737
Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-03-06 17:26:09 +01:00
Venevtsev, Igor
edec1ac3fb
fix: correct blit properties for CL_MEM_OBJECT_IMAGE1D_BUFFER images
...
Resolves: NEO-13984, HSD-18041422852
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2025-03-03 15:43:35 +01:00
Kamil Kopryk
b1ffe640bb
refactor: correct typo
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-17 23:31:27 +01:00
Kamil Kopryk
2b6442b7a3
refactor: correct matchers and typenames for non-heapless ults
...
This change includes:
- added corresponding matchers for non-heapless unit tests
- added matcher for binding table state
- corrected type names for the interface descriptor and compute walker
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-13 19:47:57 +01:00
Szymon Morek
b11322332c
performance: enable staging write for cl buffers
...
Related-To: NEO-13529
Also, add size threshold on iGPU on Linux,
and disable staging if imported host ptr could
be reused
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-02-05 09:41:17 +01:00
Mateusz Jablonski
d7b0495c90
test: remove usage of IGFX_BROADWELL in tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-04 19:07:34 +01:00
Szymon Morek
254e7c5c6a
fix: set notify enable flag when flushing monitor fence
...
Related-To: NEO-13848
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-01-24 22:19:24 +01:00
Mateusz Hoppe
ae772c849d
test: refactor tests to work with secondary engines 2
...
Related-To: NEO-13789
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-01-23 12:41:27 +01:00
Bartosz Dunajski
c2dbdb6797
refactor: move blit post sync data to BlitProperties
...
Related-To: NEO-13003
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-22 18:35:21 +01:00
Kamil Kopryk
7d8e08f00b
test: adjust code to compile with c++20 2/n
...
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 15:24:25 +01:00
Compute-Runtime-Validation
af031ee0e3
Revert "performance: align structures for 64-bit platforms"
...
This reverts commit 9f07f56f7f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-15 09:02:01 +01:00
Mateusz Jablonski
112abeeeef
fix: don't adjust programmed per thread scratch size
...
when adjusting scratch space size then adjust only allocation size
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-10 11:35:50 +01:00
Mateusz Jablonski
a3b6c1fa6d
fix: correct thread/eu ratio for scratch to Xe2
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-09 22:42:36 +01:00
Semenov Herman (Семенов Герман)
9f07f56f7f
performance: align structures for 64-bit platforms
...
Signed-off-by: Semenov Herman (Семенов Герман) <GermanAizek@yandex.ru>
2025-01-09 06:03:39 +01:00
Vysochyn, Illia
f198507875
refactor: Remove 3DSTATE_BTD_BODY structure
...
Removes 3DSTATE_BTD_BODY as redundant structure.
Related-To: NEO-13147
Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2024-12-31 16:27:29 +01:00
Mateusz Jablonski
f86d2cee41
test: remove not used usings/typedefs/variables in OCL tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-11-29 07:33:36 +01:00
Oskar Hubert Weber
5dc5c839a6
test: allowing neo ULT build with optimization enabled 2/n
...
Fixes mismatched-new-delete warnings
Related-To: NEO-8116
Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2024-11-25 16:21:40 +01:00
Filip Hazubski
8797c326b6
refactor: Move isDummyBlitWaRequired function to release helper
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-11-15 13:22:00 +01:00
Maciej Plewka
9d6d6e85f1
fix: align thread group to dss size if kernel uses slm
...
Related-To: NEO-12133
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-10-17 15:30:19 +02:00
Artur Harasimiuk
00aedcaed4
refactor: add NOLINT for pending problems
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-10-10 11:46:35 +02:00
Filip Hazubski
72cf384c7d
refactor: Fix typo
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-10-01 09:31:02 +02:00
Lukasz Jobczyk
c93998bcb9
performance: Do not program additional synchronization on integrated
...
Related-To: NEO-12324
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-09-26 10:54:31 +02:00
Mateusz Jablonski
18a7a5f6fa
refactor: update hw cmds base from gen8 to gen12lp
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-19 18:07:46 +02:00
Mateusz Jablonski
5912b43841
refactor: remove dead code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-17 13:41:50 +02:00
Andrzej Koska
6263b9599f
feature: Enabling Blitter offset for Remap
...
Related-To: NEO-11934
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-09-16 09:04:28 +02:00
Compute-Runtime-Validation
c0d9cb4d84
Revert "feature: Enabling Blitter Remapping for REGISTER_REG"
...
This reverts commit 4f2e61841f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-12 16:43:46 +02:00
Andrzej Koska
4f2e61841f
feature: Enabling Blitter Remapping for REGISTER_REG
...
Related-To: NEO-11934
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-09-11 19:02:16 +02:00
Kamil Kopryk
c7a6a74e4e
test: correct expectations in opencl tests if heapless enabled 4/4
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-10 09:22:41 +02:00
Kamil Kopryk
06b9ebe57d
test: correct expectations in opencl tests if heapless enabled 3/n
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-04 10:10:42 +02:00
Kamil Kopryk
d79889c3b2
test: correct expectations in opencl tests if heapless enabled 2/n
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-03 11:14:17 +02:00
Kamil Kopryk
6c9a96e4dc
test: correct expectations in ocl tests if heapless enabled 1/n
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-29 12:54:27 +02:00
Kamil Kopryk
78758b9f89
test: set ccs and rcs exposure in ults
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-23 15:28:34 +02:00
Kamil Kopryk
a9e23130d1
refactor: correct typo
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-16 15:44:54 +02:00
Compute-Runtime-Validation
9b652f4a34
Revert "feature: Improving information transfer about the copy engine"
...
This reverts commit 17ffdff4f1
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-15 22:06:31 +02:00
Kamil Kopryk
11d3257a08
test: skip if heapless is enabled in inappropriate ults 9/n
...
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 11:38:09 +02:00