Jaroslaw Warchulski
106d1bb486
refactor: cleanup includes
...
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-12-09 18:35:59 +01:00
Fabian Zwoliński
a39468b255
fix: don't call writeMemory on kernelIsa right after creating the allocation
...
Patch only related to OpenCL.
`writeMemory` for the entire allocation is called during `processResidency`.
Related-To: HSD-13014041553
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-12-03 12:35:30 +01:00
Maciej Bielski
147bd894ec
refactor: use PRINT_STRING macro for most diagnostics
...
Related-To: NEO-14742
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-11-28 13:28:29 +01:00
Michal Mrozek
e709165f41
refactor: remove not needed code
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2025-11-28 10:44:27 +01:00
Fabian Zwoliński
1b9b78ac16
feature: implement ISA allocation pooling in OpenCL
...
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-11-18 18:02:51 +01:00
Fabian Zwoliński
3c43276dab
feature: add global/const surface nonUSM allocation pooling
...
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-10-29 16:56:59 +01:00
Mateusz Jablonski
6c0c229c82
refactor: remove not needed flags to force OCL version support
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-10-03 16:57:08 +02:00
Aleksandra Nizio
2b8acba2f1
feature: Adding support to clCreateProgramWithIL
...
Related-To: NEO-15701
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com >
2025-09-29 17:48:03 +02:00
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
Compute-Runtime-Validation
10c37fbb78
Revert "fix: correctly set unpacked device binary prior decoding"
...
This reverts commit 60d5484e6b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-17 05:06:35 +02:00
Mateusz Hoppe
60d5484e6b
fix: correctly set unpacked device binary prior decoding
...
- add parsing Intel GT notes from elf when unpacking binary
- set indirectAccessBufferMajorVersion with correct value
Related-To: NEO-15211, IGC-12385
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-09-16 07:33:40 +02:00
Fabian Zwoliński
8cf8fe4f5a
fix: use const auto& to avoid unnecessary copies
...
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-09-15 17:48:57 +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
Compute-Runtime-Validation
69f46c79c5
Revert "fix: correctly set unpacked device binary prior decoding"
...
This reverts commit c4c3ec3291 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-13 02:53:14 +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
Mateusz Hoppe
c4c3ec3291
fix: correctly set unpacked device binary prior decoding
...
- add parsing Intel GT notes from elf when unpacking binary
- set indirectAccessBufferMajorVersion with correct value
Related-To: NEO-15211, IGC-12385
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-09-12 11:44:49 +02:00
Compute-Runtime-Validation
c65de3df7f
Revert "fix: correctly set unpacked device binary prior decoding"
...
This reverts commit f7188038b4 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-10 03:52:20 +02:00
Mateusz Hoppe
f7188038b4
fix: correctly set unpacked device binary prior decoding
...
- add parsing Intel GT notes from elf when unpacking binary
- set indirectAccessBufferMajorVersion with correct value
Related-To: NEO-15211, IGC-12385
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-09-09 18:18:01 +02:00
Mateusz Hoppe
aa2e76cae7
refactor: remove unnecessary assignement
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-09-05 14:15:07 +02:00
Mateusz Hoppe
febe905a19
fix: set usesPrintf when .const.data.string present in elf
...
- printf_buffer argument may not be present when indirect access buffer
version==2
- deduce usesPrintf based on .const.data.string presence and required
iab for those cases
Related-To: NEO-15211, IGC-12385
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-09-05 13:52:27 +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
Mateusz Hoppe
be483491bf
feature: extract indirect access buffer major version from ELF's notes
...
- use version from ELF to create correct layout of implcit args
Related-To: NEO-15574
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-07-25 14:50:49 +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 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
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
ead0842763
feature: add L0 API to query kernel argument info
...
Related-To: NEO-14358
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2025-03-27 16:43:33 +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
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
Kamil Kopryk
7c3468794e
fix: add option to enable/disable heapless in ocloc
...
Related-To: GSD-10681
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-02-24 17:06:26 +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
Filip Hazubski
ebc19b4a70
feature: Add logic to disable bindless addressing via AIL
...
Add mockable Device functions to get ReleaseHelper and AILConfiguration.
Resolves: NEO-12699
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-09-18 13:49:51 +02:00
Filip Hazubski
5ae2709e6e
fix: Remove allow-zebin and enable-zebin compile options
...
Zebin is enabled by default.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2024-06-10 14:08:40 +02:00
Fabian Zwoliński
59829aeb11
fix(ocl): Force rebuild if binary contains bindless kernel
...
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2024-05-20 14:15:17 +02:00
Dominik Dabek
b3b402cad2
feature(zebin): read indirect detection version
...
Read indirect detection version intel compat notes from zebin.
This is to prepare for enabling indirect access optimization in AOT
built kernels.
Related-To: NEO-7712
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-01-12 14:20:52 +01:00
Mateusz Jablonski
138fb65401
refactor: correct naming of enum class constants 11/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 14:52:57 +01:00
Mateusz Jablonski
a6458433dc
refactor: correct naming of enum class constants 9/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 10:36:25 +01:00
Mateusz Jablonski
dd1b9d6abc
refactor: correct naming of enum class constants 8/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-12-19 08:18:18 +01:00
Katarzyna Cencelewska
39ccf0297f
fix: Skip rebuild binary forced by flag when lack of ir
...
when flag RebuildPrecompiledKernels set and call clCreateProgramWithBinary
skip rebuild if ir binary not available
Resolves: HSD-18035219734
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2023-12-06 20:00:05 +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
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
Kamil Kopryk
ab67687e20
feature: apply appendExtraInternalOptions in ocl and ocloc
...
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-11-08 09:01:13 +01:00
Mateusz Hoppe
5a4fa180d6
feature: control bindless compilation mode based on release
...
- check releaseHelper support when selecting bindless mode, if not
disabled, prefer bindless mode in L0 API
- bindless mode can be forced with DebugVariable: UseBindlessMode
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-10-19 10:11:11 +02:00
Milczarek, Slawomir
e4c162c572
fix: Re-generate metada on every program build
...
Related-To: NEO-8927
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-10-05 18:47:03 +02:00
Fabian Zwolinski
6fca8ee195
refactor: Remove SourceLevelDebugger
...
Removed:
- SourceLevelDebugger (with tests)
- DebuggerLibrary
- DebuggerLibraryRestore
- debuggerSupported field from hwInfo.capabilityTable
- HasSourceLevelDebuggerSupport matcher
- ExperimentalEnableSourceLevelDebugger debug var
- EnableMockSourceLevelDebugger debug var
- DebuggerOptDisable debug var
- lib_names.h.in file
- third_party/source_level_debugger/igfx_debug_interchange_types.h
Related-To: NEO-7213
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-08-10 11:14:02 +02:00
Kamil Kopryk
6a0f7afd64
feature: verify stateful information only when binary is generated by IGC
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6075
Ngen binaries contain stateful information, however they are
not used in isa on Pvc. Therefore, we can just ignore them.
2023-06-12 11:45:41 +02:00
Mateusz Hoppe
1c196b9f3d
refactor: change ApiSpecificConfig functions names
...
- better description of the meaning of functions
Related-To: NEO-7063
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-05-30 09:20:01 +02:00
Cencelewska, Katarzyna
861ec524c6
fix: check icbe version only once when patchtoken
...
- set by default flag ZebinIgnoreIcbeVersion to true
- for zebin icbe version check is only inside flag
- only when use patchtoken then check icbe version is mandatory
Resolves: NEO-7904
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-04-28 09:26:02 +02:00
Mateusz Jablonski
32d8a3bc6d
fix: store registered engines per root device
...
in most cases we need to iterate over engines associated to single root device
Related-To: NEO-7925
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-27 10:54:07 +02:00