Commit Graph

1152 Commits

Author SHA1 Message Date
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
Mateusz Jablonski
98bf872fdd fix: return error when cannot obtain debug surface size
remove default max debug surface size
check state save area size only for debug scenarios
reduce state save area size in unit tests - rely on values from mock

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-23 14:48:08 +02:00
Lukasz Jobczyk
86e7d5b276 performance: Skip fence after PC when no post sync write
Related-To: NEO-14642

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-23 10:33:28 +02:00
Compute-Runtime-Validation
593c9e76f2 Revert "fix: correct limitation for num threads per thread group"
This reverts commit 6ad4ad41b1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-23 02:51:17 +02:00
Szymon Morek
a2c41e4749 fix: add mock for staging buffer size
No need to allocate 2MB in unit tests.
This commit changes this size to 4KB.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-22 08:36:01 +02:00
Katarzyna Cencelewska
6ad4ad41b1 fix: correct limitation for num threads per thread group
taking into account the max work group limit

Resolves: NEO-14922
Related-To: NEO-11881
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2025-05-22 00:06:21 +02:00
Mateusz Hoppe
b03f625f03 feature: limit max LWS based on preferred number of workgroups per ss
- limit max LWS size when SLM and barriers are not used

Related-To: GSD-11112

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-05-16 20:28:00 +02:00
Compute-Runtime-Validation
8839d62c79 Revert "performance: use RESOURCE_BARRIER as stalling barrier"
This reverts commit 2a63853349.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-16 20:19:06 +02:00
Szymon Morek
2a63853349 performance: use RESOURCE_BARRIER as stalling barrier
Related-To: NEO-14943

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-16 14:12:18 +02:00
Mateusz Jablonski
1284579ff7 refactor: remove not needed link to NEO-12901
Related-To: NEO-12901
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-15 15:52:00 +02:00
Szymon Morek
bff8f74de7 refactor: remove unused parameter
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-15 12:23:27 +02:00
Kindracki, Jakub Tomasz
2ce3f4fa40 test: Remove resetCommandStreamReceiver from tests
Changed the implementation to use EnvironmentWithCsrWrapper with setUpT
instead of resetCommandStreamReceiver.
Changed related tests to templated tests.

Related-To: NEO-3927
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-05-15 10:03:10 +02:00
Maciej Plewka
85ed1a15e4 fix: do not allow blit for depth image on arl
Related-To: NEO-14344
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-05-13 15:56:47 +02:00
Lukasz Jobczyk
df2c776aab refactor: Remove unused cmdq round robin engine assign
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-05-09 11:03:57 +02:00