Commit Graph

451 Commits

Author SHA1 Message Date
Fabian Zwoliński
a1c5fa1a13 feature: add pooling of USM global/constant surface
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-09-23 18:24:18 +02:00
Mateusz Jablonski
49293fcac6 refactor: store special relocation names as string_view
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-23 14:33:40 +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
Compute-Runtime-Validation
2db8fc266a Revert "refactor: store special relocation names as string_view"
This reverts commit 1bf6431030.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-19 03:24:48 +02:00
Mateusz Jablonski
1bf6431030 refactor: store special relocation names as string_view
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-09-18 15:05:02 +02:00
Compute-Runtime-Validation
e2d12e1742 Revert "feature: add pooling of USM global/constant surface"
This reverts commit 68698c9a74.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-14 16:26:29 +02:00
Fabian Zwoliński
68698c9a74 feature: add pooling of USM global/constant surface
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-09-12 16:05:52 +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
Kindracki, Jakub Tomasz
43d4264047 test: Fix minor compiler errors in ULTs with optimizations enabled
Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-08-19 10:16:59 +02:00
Kindracki, Jakub Tomasz
c0ea89062b test: Change CompilerProductHelper mocks to not templated
Remove multiple definitions of templated
`MockCompilerProductHelperHeapless`.

Errors fixed:
- Linux compiler raised `undefined` errors
- Windows compiler raised `multiple definitions` errors

Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-08-18 16:23:28 +02:00
Mateusz Jablonski
c75d9d30b0 refactor: remove not needed code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-13 12:56:36 +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
Mateusz Jablonski
0a347a2d8b refactor: remove not needed code related to vme usage
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-24 17:54:51 +02:00
Mateusz Hoppe
016582a259 fix(ocl): unpack zebin binary
- unpackSingleDeviceBinary() validates target machine and extracts
information from ELF sections

Related-To: NEO-15574

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-07-24 15:46:31 +02:00
Mateusz Jablonski
5e43ee905d refactor: remove not needed logic related to vme
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-11 17:02:48 +02:00
Mateusz Jablonski
8b6aaceab4 refactor: remove not needed code related to cl accelerator
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-10 18:08:32 +02:00
Mateusz Hoppe
703497b067 fix: read ONEAPI_PVC_SEND_WAR_WA env
- disable optimization with compiler internal option when env is set to
zero

Related-To: NEO-15378, GSD-10884

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-07-09 16:22:18 +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
f8a2070c86 test: cleanup header includes 3/n
Related-To: NEO-15383
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-06-30 10:49:26 +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
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
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
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
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
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
Mateusz Hoppe
cc308719d8 fix: dump zebin when building program
- when unpackSingleDeviceBinary is not called zebin should be dumped
if debug key is set

Related-To: NEO-14153

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-04-04 14:06:33 +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
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
Compute-Runtime-Validation
28dd4cf4d8 Revert "feature: additional checkers to enable feature"
This reverts commit c95a67b420.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-03-21 16:48:05 +01:00
Damian Tomczak
c95a67b420 feature: additional checkers to enable feature
Resolves: NEO-13973

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-03-21 10:38:53 +01:00
Fabian Zwoliński
f5e37e725c Revert "fix: configure ISA Pool params based on productHelper"
This reverts commit bf20ae7ae8.

Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-03-10 22:41:13 +01:00
Mateusz Hoppe
291745cdf7 feature: add support for ImplicitArgs versioning
- define ImplicitArgs version 1

Related-To: NEO-14115

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-02-25 10:27:11 +01:00
Mateusz Jablonski
70f3342c2d refactor: remove vme specific code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-20 17:08:52 +01:00
Fabian Zwoliński
bf20ae7ae8 fix: configure ISA Pool params based on productHelper
When is2MBLocalMemAlignmentEnabled returns true,
increase pool size for builtins from 64k to 2MB.

Additionally, set appropriate alignment for kernel ISA heap allocations.
Additionally, configure isaAllocationPageSize based on productHelper

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-02-20 08:42: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
b8723458e4 test: update ults to respect minimal simd
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-11 07:57:16 +01:00
Dominik Dabek
b987877712 fix: remove patchtoken fallback
Related-To: NEO-14028

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-02-10 12:29:45 +01:00
Compute-Runtime-Validation
9b968066f2 Revert "test: update ults to respect minimal simd"
This reverts commit 4cb9baa2fc.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-08 00:06:29 +01:00
Kamil Kopryk
4cb9baa2fc test: update ults to respect minimal simd
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-07 09:32:42 +01:00
Naklicki, Mateusz
9aad7750be fix: adjust IGC hwinfo for related tests
Also update builtin kernels


Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-02-04 10:05:08 +01:00
Kamil Kopryk
b7d7424aab build: enable c++20
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-20 12:35:12 +01:00
Compute-Runtime-Validation
c8cbed8e9b Revert "feature: enable C++20"
This reverts commit 137e004767.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-17 02:48:11 +01:00
Kamil Kopryk
137e004767 feature: enable C++20
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 20:10:15 +01:00
Jaroslaw Warchulski
051cada78b refactor: add patchtokens fallback AIL
Related-To: HSD-14023878700

Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-11-20 12:58:22 +01:00
Mateusz Jablonski
7dfc549ff0 fix: remove not needed test files
merge kernel files to simple_kernels.cl

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-23 16:40:48 +02:00
Michal Mrozek
363aca782f refactor: remove not needed code.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-09-19 18:50:16 +02:00
Jaroslaw Warchulski
05250e7460 fix: Remove patchtokens fallback AIL
Related-To: NEO-12358
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-09-12 18:26:19 +02:00