Jaroslaw Warchulski
106d1bb486
refactor: cleanup includes
...
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-12-09 18:35:59 +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
Jaroslaw Warchulski
cc79a136c9
refactor: do not use C headers
...
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-11-25 12:07:50 +01:00
Compute-Runtime-Validation
575f48f738
Revert "refactor: unify stateless and not stateless builtins kernels"
...
This reverts commit 4eb37124cb .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-11-18 16:27:32 +01:00
Damian Tomczak
4eb37124cb
refactor: unify stateless and not stateless builtins kernels
...
Related-to: NEO-16156
Signed-off-by: Damian Tomczak <damian.tomczak@intel.com >
2025-11-18 13:20:49 +01:00
Jaroslaw Warchulski
0afcec950e
refactor: cleanup includes
...
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com >
2025-11-14 11:22:46 +01:00
Mateusz Jablonski
ffb1d297c8
fix: merge hasPrintfCalls and usesPrintf flags within KernelAttributes flags
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-11-03 12:21:35 +01:00
Mateusz Jablonski
2892e5a7f9
feature: add support for require_assert_buffer and require_sync_buffer in zeinfo
...
Related-To: NEO-16544, IGC-11358
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-10-28 13:51:41 +01:00
Fabian Zwoliński
6102280f71
fix: add missing writeMemory for pooled global surface
...
Related-To: HSD-18043489182, HSD-18043476772
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com >
2025-10-17 14:26:54 +02:00
Mateusz Jablonski
dd84a8483e
performance: use std::move instead of copy in linker.cpp
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-10-14 07:54:32 +02:00
Chodor, Jaroslaw
6a280a4790
feature: use llvm bc for ir-level linking as alternative to spirv
...
This forces clCompile outputs (clLink inputs) to use llvm bc format
unless underlying compiler's preferred IR is spirV.
Related-To: NEO-16362
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-10-13 12:32:57 +02:00
Chodor, Jaroslaw
9c3d9d803f
feature: Support for OCL C in L0 runtime
...
Prototype support for OCL C in L0 runtime
Can be used with zeModuleCreate and ze_module_format_t=3
Related-To: GSD-11827
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-10-10 19:06:32 +02: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
Mateusz Jablonski
69eeaee0eb
refactor: remove not needed function - isDotIntegerProductExtensionSupported
...
the function always returns true
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-10-02 16:20:59 +02:00
Mateusz Jablonski
e9af7aee15
refactor: remove always true variable - supportsOcl21Features
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-10-02 16:03:37 +02:00
Mateusz Jablonski
0caa8d5297
refactor: remove always true variable - supportsFloatAtomics
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-10-01 14:06:44 +02:00
Mateusz Jablonski
15d0feeda8
fix: improve propagating external functions info to kernel
...
When relocation points to symbol that is not defined within module mark
it as optional. When symbol is available at dynamic linking time then
info from the function is retrieved but when the symbol is not available
then ignore the dependency.
Any unresolved symbol needed for module linking is already handled
in a separate place.
Related-To: NEO-16243, NEO-16263, NEO-16262, NEO-16268
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-09-29 15:34:41 +02:00
Compute-Runtime-Validation
aaa9342141
Revert "fix: improve parsing relocations in external usage"
...
This reverts commit 65d883bc9d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-29 10:05:58 +02:00
Mateusz Jablonski
65d883bc9d
fix: improve parsing relocations in external usage
...
ignore relocations for symbols with undefined section
Related-To: NEO-16243
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-09-26 16:33:11 +02:00
Mateusz Hoppe
12263b2e7c
fix: implicit arg buffer
...
- refactor validating target device and dcoding Intel GT Notes
- decoded versions are stored in singleDeviceBinary when decoding zebin
- adds parsing Intel GT notes from elf when unpacking binary
- sets indirectAccessBufferMajorVersion with correct value
- fix ImplicitArgsV1 - add simdWidth
- use correct simd size in patchImplicitArgs()
Related-To: NEO-16167, NEO-15211, IGC-12358
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-09-24 09:23:23 +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
Mateusz Jablonski
8310b10987
fix: correct resolving external functions dependencies
...
respect scenario when dependency comes from separate module
Related-To: NEO-15211
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-09-18 13:47:08 +02:00
Mateusz Jablonski
04ad429e58
feature: propagate printf/indirect calls info from functions to kernel
...
Related-To: NEO-15211
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-09-18 11:22: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
Vysochyn, Illia
f4bd4e603d
refactor: Use else if instead of nested else-if conditions
...
Replaces nested else-if with else if for consistency and readability.
No functional changes.
Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com >
2025-09-11 16:20:59 +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
259271f59d
fix: disallow copy and move
...
Related-To: NEO-15630
Signed-off-by: Jakub Nowacki <jakub.nowacki@intel.com >
2025-08-14 12:19:18 +02:00
Mateusz Jablonski
a46181b2c5
fix: remove deprecated patchtokens format from ocloc
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-08-13 15:41:37 +02:00
Ben Ashbaugh
3f1f3697ba
feature: update cl_intel_unified_shared_memory to revision 1.2
...
Related-To: NEO-15644
Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com >
2025-08-06 21:33:30 +02:00
Mateusz Hoppe
b17ed79618
fix: update implicitArgs versions
...
- fix layout of implicit args
- add enqueued local size and sync buffer ptr
Related-To: NEO-15160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-07-22 15:12:55 +02:00
Chodor, Jaroslaw
a1da10ea75
feature: Adding support for zebin's .text section
...
Related-To: NEO-12229
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-07-16 15:01:44 +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
Aleksandra Nizio
ff00896801
fix: add warning when IGC_* env vars are set
...
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com >
2025-07-08 13:34:53 +02:00
Aleksandra Nizio
6975f7bb8d
fix: Disable compiler cache if any IGC_ env is set
...
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com >
2025-07-07 09:55:49 +02:00
Naklicki, Mateusz
b462f990b6
fix: prevent underflow in per thread data offset calculation
...
Related-To: NEO-14719
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2025-06-23 09:39:39 +02:00
John Falkowski
764fd33a46
refactor: clSetKernelArgSVMPtr ptr error if debug var set
...
Related-To: NEO-12988
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2025-06-18 20:55:48 +02:00
Mateusz Hoppe
e6ed42d056
fix: apply relocations in isa segments for builtin kernels
...
- use correct patched isa segments when transferring isa for builtins to
preserve applied relocations
- do not set requiresImplicitArgs to false for builtins, zebin defines
is implicit arg buffer is required
Related-To: NEO-14667, NEO-15276
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-06-16 17:51:55 +02:00
Mateusz Hoppe
c4bfe4e487
feature(zebin): add implicit_arg_buffer_used_by_code exec env support
...
Resolves: NEO-14667
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-05-23 17:11:14 +02:00
Mateusz Jablonski
6e20cbc05f
fix: patch relocations byte-wise
...
there is no restriction for alignment of relocation offset
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-05-12 15:33:12 +02:00
Mateusz Hoppe
a56785f8b0
feature: add support for 64bit cross thread offset relocation
...
Resolves: NEO-14865
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-05-08 15:04:25 +02:00
Mateusz Hoppe
d3b11d1527
fix: correctly patch implicit arg buffer in indirect data
...
- use correct size alignment of implicit arg buffer, crossthread data
should start after the buffer without extra padding
Related-To: NEO-14449
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-05-06 13:25:11 +02:00
Compute-Runtime-Validation
26d3c7527c
Revert "fix: correctly patch implicit arg buffer in indirect data"
...
This reverts commit e345d55fe5 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-05-06 04:38:50 +02:00
Mateusz Hoppe
e345d55fe5
fix: correctly patch implicit arg buffer in indirect data
...
- use correct size alignment of implicit arg buffer, crosshtread data
should start after the buffer without extra padding
Related-To: NEO-14449
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2025-05-05 16:03:57 +02:00
Chodor, Jaroslaw
b423084861
refactor: Change FinalizerInputType debug var to string
...
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-04-16 10:33:19 +02:00
Chodor, Jaroslaw
7bded13638
feature: Enabling support for redirecting FCL to IGC for OCL
...
This allows for invoking IGC as OCL C translator in OpenCL paths
Accepted debug env :
UseIgcAsFcl=1 ; forces IGC
UseIgcAsFcl=2 ; forces FCL
UseIgcAsFcl=0 ; uses defaults
Related-To: NEO-14473
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-04-14 18:41:48 +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