Commit Graph

1165 Commits

Author SHA1 Message Date
Damian Tomczak
9106feee5f test: heapless matcher unification
Related-to: NEO-14526

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-08-26 15:51:44 +02:00
Radoslaw Jablonski
393604ef80 refactor: numThreadsPerEu
Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
2025-08-25 11:31:49 +02:00
Kamil Kopryk
2a3bd7cd03 fix: add deferred l3 flush tag in kernels
Related-To: NEO-13163
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-08-22 12:56:47 +02:00
Fabian Zwoliński
a2f60af5c6 fix: change global Var/Const Buffer type to SharedPoolAllocation
This is prep work for the future implementation of pooling these allocations.

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-08-19 17:29:34 +02:00
Damian Tomczak
4b663e7b60 fix: use heapless helpers when heapless enabled
Related-to: NEO-14489

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-08-18 14:36:58 +02:00
Kamil Kopryk
d86cc127ea fix: remove no longer needed flush l3 after cpu read
Related-To: NEO-13163
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-08-14 09:12:04 +02:00
Mateusz Jablonski
79905e8ec1 test: remove not needed macro
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-13 16:43:27 +02:00
Aleksander Czerwionka
6bc9ea3ddb feature: move svmAllocsManager and staggingBufferManager to platform
Related-To: NEO-13247

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-08-08 14:01:44 +02:00
Bartosz Dunajski
3c90e14fa5 test: minor test improvement
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-07 12:37:46 +02:00
Bartosz Dunajski
21076b57df fix: ensure queue completion on destruction
Related-To: HSD-22021388724

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-08-06 19:06:51 +02:00
Mateusz Hoppe
757f4774b6 fix: fix unit tests relying on kernels
Related-To: NEO-15743

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-08-05 11:15:08 +02:00
Mateusz Jablonski
22cf03c5ad test: move mt enqueue and event tests to mt tests target
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-01 12:44:59 +02:00
Mateusz Jablonski
dd568b35b9 refactor: remove not needed code related to vme
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-29 10:00:23 +02:00
Mateusz Jablonski
05cf05e10e refactor: remove redundant tracking of media sampler programming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-28 15:17:46 +02:00
Mateusz Jablonski
066447e5eb refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-24 16:33:29 +02:00
Szymon Morek
bbcca97682 fix: flush cache after accessing img from buffer
Related-To: NEO-15391

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-23 19:17:47 +02:00
Compute-Runtime-Validation
cf89342bf8 Revert "fix: flush cache after accessing img from buffer"
This reverts commit b90b77e4e3.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-23 05:25:55 +02:00
Szymon Morek
b90b77e4e3 fix: flush cache after accessing img from buffer
Related-To: NEO-15391

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-07-22 16:55:04 +02:00
Naklicki, Mateusz
0f1361eb6a test: fix optional-scratch related tests
* Use isDefined() to check scratch and indirect data pointers, which currently
default to undefined
* Correct kernel selection in EnqueueCopyBufferTests: previous tests expected
the CopyBufferToBufferMiddleStateless kernel, but the executed kernel is
CopyBufferToBufferRightLeftoverStateless.
If executed kernel crossthread data fits inline, reducing indirect heap usage
to zero, and expected kernel does not, this mismatch would make tests fail

Related-To: IGC-10687
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-07-17 10:20:08 +02:00
Chodor, Jaroslaw
fcc2038def refactor: modernizing NEO::Range->std::span
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-17 01:27:11 +02:00
Tomasz Biernacik
2c5cbec033 feature: control post sync completion check
Related-To: NEO-14844

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2025-07-15 13:51:19 +02:00
Mateusz Jablonski
fefdcc5533 test: correct setting out clEvent in mocked enqueue marker
move non-trivial definitions of MockCommandQueue methods to cpp file

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-14 15:32:38 +02:00
Damian Tomczak
b39c5c151a feature: force stateless for read and write buffer rect
Related-to: NEO-6075

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-07-11 18:09:21 +02:00
Filip Hazubski
f8dc80c7fc test: Adjust direct submission tests
Disable direct submission at the end of the test for cases where
direct submission is enabled in test body.

Adjust mock csr to restore os context in cases where
context has been replaced in test body.

Related-To: NEO-15017

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-07-10 11:01:33 +02:00
Oskar Hubert Weber
1c722ddb7c test: mock filesystem in ULTs 2/n
Remove USE_REAL_FILE_SYSTEM() macro uses from API, program, kernel and
gtpin tests.

Related-To: NEO-15069

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2025-07-03 09:44:06 +02:00
Kamil Kopryk
ecb411108a fix: don't skip wait for task count - cpu read + L3FlushAfterPostSync
Related-To: NEO-13163
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-07-01 12:09:43 +02:00
Marcel Skierkowski
f0d5cf7530 test: StreamCaptureStdErr on pipes
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-01 11:52:43 +02:00
Naklicki, Mateusz
f710cbc3f6 test: cleanup header includes 2/n
Related-To: NEO-15383
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-06-30 10:47:39 +02:00
Kamil Kopryk
a4ebfa6630 fix: add missing completion stamp update
Related-To: NEO-13163

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-06-26 15:38:46 +02:00
Szymon Morek
0db5ce22a1 performance: use resource_barrier on Xe2 and PTL
Related-To: NEO-14943

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-24 14:24:47 +02:00
Kamil Kopryk
f0f89836e0 fix: l3 flush after post sync logic in OCL
Related-To: NEO-13163
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-06-23 18:03:21 +02:00
Jaroslaw Warchulski
49152d957f test: cleanup in common matchers
IsAtLeastGen12LP / IsNotWithinXeGfxFamily / IsNotXe2HpgCore /
IsWithinXeHpgCoreAndXe3Core / IsWithinXeHpcCoreAndXe3Core -> deleted
IsAtLeastXeHpCore -> IsAtLeastXeCore
IsBeforeXeHpCore / IsBeforeXeHpgCore / IsAtMostXeHpCore -> IsGen12LP
IsXeHpOrXeHpgCore -> IsXeHpgCore
IsXeHpOrXeHpcCore -> IsXeHpcCore
IsNotXeHpOrXeHpgCore -> IsNotXeHpgCore
IsNotXeHpOrXeHpcCore -> IsNotXeHpcCore
IsWithinXeGfxFamily / IsXeHpcOrXeHpgCore / IsXeHpOrXeHpcOrXeHpgCore ->
IsXeCore
IsNotXeHpgOrXeHpcCore -> IsNotXeCore
IsWithinXeHpCoreAndXe2HpgCore -> IsWithinXeCoreAndXe2HpgCore
IsXeHpcCoreOrXe2HpgCore -> IsWithinXeHpcCoreAndXe2HpgCore
IsWithinXeHpCoreAndXe3Core -> IsWithinXeCoreAndXe3Core
IsXe2HpgCoreOrXe3Core -> IsWithinXe2HpgCoreAndXe3Core
IsAtLeastBmg -> IsAtLeastXe2HpgCore
IsBeforeXeHpcCore -> IsAtMostXeHpgCore
IsBeforeXe2HpgCore / IsAtMostArl / IsAtMostXeHpcCore -> IsAtMostXeCore

Related-To: NEO-12681
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-06-18 10:48:17 +02:00
Kindracki, Jakub Tomasz
43f524d019 test: remove resetCommandStreamReceiver from tests
Added HWCMDTEST_TEMPLATED_F type of tests.
Removed resetCommandStreamReceiver from as many of this tests as
possible.

Related-To: NEO-3927
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-06-17 17:16:00 +02:00
Grochowski, Stanislaw
a8394cbdeb refactor: remove WalkerVariant
Related-To: NEO-14537

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-06-16 11:30:32 +02:00
Szymon Morek
ac7d936942 fix: invalidate texture cache for BCS image write
Related-To: NEO-15029

If BCS is writing new data to an image, texture cache
should be invalidated as it might contain stale data for
that image.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-13 13:28:08 +02:00
Mateusz Jablonski
0a325e09be fix: correct initialization of Kernel::isBuiltIn
value is used in Kernel::initialize but was set after initialize call

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-11 18:29:06 +02:00
Kamil Kopryk
bb52c358b9 refactor: flush Task method
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-15011

Also correct ults
2025-06-11 16:36:56 +02:00
Marcel Skierkowski
a52260ce63 test: StreamCapture on pipes
Enhance StreamCapture class to mimic gtest's CaptureStdout/Stderr functionality.
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-06-11 15:37:01 +02:00
Compute-Runtime-Validation
9be9ec22ac Revert "fix: setup printf surface when implicit args are programmed"
This reverts commit ca3079f263.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-06-11 14:09:56 +02:00
Szymon Morek
26a83c9f2c refactor: remove redundant specializations
Related-To: NEO-15029

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-06-09 19:30:30 +02:00
Kindracki, Jakub Tomasz
45506de099 test: Remove resetCommandStreamReceiver from tests
Related-To: NEO-3927
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-06-09 10:43:47 +02:00
Damian Tomczak
a7c9bfafb3 test: ImageHelper rename to ImageHelperUlt
Related-to: NEO-13669

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-06-04 12:02:29 +02:00
Mateusz Jablonski
ca3079f263 fix: setup printf surface when implicit args are programmed
even if main kernel is not using printf

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-30 19:01:12 +02:00
Compute-Runtime-Validation
1a50e8e7c0 Revert "performance: use RESOURCE_BARRIER as stalling barrier"
This reverts commit 556c0b64c6.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-30 18:00:34 +02:00
Compute-Runtime-Validation
a188c29e8c Revert "fix: setup printf surface when implicit args are programmed"
This reverts commit e3be9eaea7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-30 15:24:29 +02:00
Katarzyna Cencelewska
e357e7e404 fix: correct limitation for num threads per thread group
taking into account the max work group limit
when simd1 don't use the same limitation as for simd32

Resolves: NEO-14922
Related-To: NEO-11881
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-05-29 16:34:40 +02:00
Mateusz Jablonski
e3be9eaea7 fix: setup printf surface when implicit args are programmed
even if main kernel is not using printf

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-29 11:49:54 +02:00
Szymon Morek
556c0b64c6 performance: use RESOURCE_BARRIER as stalling barrier
Related-To: NEO-14943

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-28 12:30:01 +02:00
Maciej Plewka
e6f3ebce5d fix: add pc with stall before barrier with post sync on bmg
Related-To: NEO-14491
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-05-28 09:24:21 +02:00
Kamil Kopryk
b7681a2e7b refactor: redirect flush L3 host usm to external by default
Related-To: NEO-13163

Rename ForceL3FlushAfterPostSync to EnableL3FlushAfterPostSync
Rename DisableFlushL3ForHostUsm to RedirectFlushL3HostUsmToExternal

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-05-28 08:50:01 +02:00