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
Jakub Nowacki
c4ab767797
fix: add missing NonCopyableAndNonMovable asserts
...
Related-To: NEO-15630
Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com >
2025-08-13 13:13:05 +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
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
Naklicki, Mateusz
dade66307e
refactor: cleanup header includes 4/n
...
cleanup of opencl/source directory
Related-To: NEO-15383
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2025-07-22 19:36:34 +02:00
Krzysztof Gibala
5840dc09cd
fix: getNumKernels returns kernel count for built device
...
The `getNumKernels` function now returns the kernel count based on the
actual device (`rootDeviceIndex`) the program was built for, ensuring
accurate kernel enumeration in multi-device scenarios. The
`rootDeviceIndex` is determined using `getDevicesInProgram`.
Related-To: NEO-15441
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2025-07-10 11:42:47 +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
Mateusz Jablonski
0c066b4266
refactor: remove C-style casts 1/n
...
Related-To: NEO-15174
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-06-17 17:50:56 +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
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
Mateusz Hoppe
a86105814d
fix: default initialize allocated memory when memory is overwritten
...
Related-To: NEO-5093
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-03-11 15:32:33 +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
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
Filip Hazubski
6b2b42972a
fix: Add asserts to ensure NonCopyable and NonMovable 1/n
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2025-02-18 09:41:20 +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
4c7900008f
refactor: Change wording from NonCopyableOrMovable to NonCopyableAndNonMovable
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2025-02-17 14:19:10 +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
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
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
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
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
Mateusz Hoppe
37b7caa137
fix: correct program header generation for shared isa allocation
...
- when kernels share single allocation, LOAD address in program headers
should point to correct virtual address including kernel offset
Related-To: NEO-7788, GSD-9836
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2024-09-03 17:50:29 +02:00
Mateusz Jablonski
f617093a6a
fix: add missing nullptr check before accessing ail helper
...
Fixes : #755
Fixes : #754
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2024-08-20 16:58:53 +02:00
Maciej Plewka
27488a8315
fix: Add option to use divergent paths for barriers
...
Related-To: NEO-12159, IGC-9846, HSD-16024235164, HSD-15014782386
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2024-08-12 12:15:54 +02:00
Dominik Dabek
ad229377b9
fix: disable indirect detection if any stack calls
...
Don't know if kernels will be initialized in the order needed to check
for indirect accesses in stack calls.
Remove now unused functionPointerWithIndirectAccessExists and reading
this value from zebin.
Related-To: NEO-12235
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-08-07 14:48:58 +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
Fabian Zwoliński
ee71157f7f
fix: opencl support for bindless kernels
...
Related-To: NEO-11156
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2024-04-30 12:02:17 +02:00
Mrozek, Michal
f71f6d2b72
refactor: remove not needed code
...
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2024-03-08 18:18:55 +01:00
Kamil Kopryk
6d1df09e58
fix: fix exported function address when heapless mode is enabled in OCL
...
Related-To: IGC-8472
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2024-01-24 16:21:42 +01:00
Dominik Dabek
e0ccf22557
fix: indirect access in external functions
...
Read indirect_stateless_count in module external functions.
If greater than 0, mark all kernels that have the has_stack_calls flag
set from this module as having indirect accesses.
Related-To: NEO-7712
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2024-01-18 15:29:41 +01: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