Compute-Runtime-Validation
eed28d6552
Revert "fix: remove spir support from xe2 and later"
...
This reverts commit a744ce6fbb .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-10-01 04:41:59 +02:00
Grochowski, Stanislaw
a744ce6fbb
fix: remove spir support from xe2 and later
...
Related-To: NEO-15215
Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com >
2025-09-30 18:23:24 +02:00
Compute-Runtime-Validation
39a3ea0e0e
Revert "fix: remove spir support from xe2 and later"
...
This reverts commit bcfcd02a03 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-23 02:13:22 +02:00
Grochowski, Stanislaw
bcfcd02a03
fix: remove spir support from xe2 and later
...
Related-To: NEO-15215
Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com >
2025-09-22 15:08:31 +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
fae0f625a6
Revert "fix: Better IR file format ext handling"
...
This reverts commit a0407ff72a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-16 02:16:08 +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
Chodor, Jaroslaw
a0407ff72a
fix: Better IR file format ext handling
...
This fix makes ocloc honor IR file format when picking
extension for the output file.
Additionally, this commit removes reduntant IR output when
compiling from IR.
Related-To: NEO-15876
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-09-15 14:51:06 +02:00
Kamil Kopryk
fe8cb28efe
refactor: improve L1 cache policy helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-09-11 14:14:46 +02:00
Aleksandra Nizio
9ba7e3f92a
feature: Support specialization constants in offline ocloc compilation
...
Related-To: NEO-8118
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com >
2025-09-05 09:20:21 +02:00
Vysochyn, Illia
cfd08bf38d
performance: Pass string_view by value
...
Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com >
2025-09-05 08:08:01 +02:00
Compute-Runtime-Validation
482c5ce11b
Revert "fix: Better IR file format ext handling"
...
This reverts commit 1aa869d67d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-04 09:36:49 +02:00
Chodor, Jaroslaw
1aa869d67d
fix: Better IR file format ext handling
...
This fix makes ocloc honor IR file format when picking
extension for the output file.
Additionally, this commit removes reduntant IR output when
compiling from IR.
Related-To: NEO-15876
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-09-03 12:18:27 +02:00
Compute-Runtime-Validation
c3a3fe6f01
Revert "fix: add null-termination sign to binaries in ocloc"
...
This reverts commit b67e1dc806 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-09-01 10:27:17 +02:00
Mateusz Jablonski
1a33ef822f
build: add cmake flag to disable ocloc support for core/sku
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-08-28 14:04:03 +02:00
Maciej Bielski
9a82e3439a
fix: serialize constructBcsEngine
...
Related-To: NEO-15630
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-08-22 19:23:53 +02:00
Mateusz Jablonski
b67e1dc806
fix: add null-termination sign to binaries in ocloc
...
Related-To: NEO-15749
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2025-08-22 19:11:07 +02:00
Compute-Runtime-Validation
f763974ec5
Revert "fix: serialize constructBcsEngine"
...
This reverts commit 9c92733829 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-08-20 03:21:02 +02:00
Maciej Bielski
9c92733829
fix: serialize constructBcsEngine
...
Related-To: NEO-15630
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-08-19 16:13:05 +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
Filip Hazubski
87a35bd680
feature: Add helper function to adjust product config
...
Related-To: NEO-15318
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2025-08-11 12:24:03 +02:00
Aleksandra Nizio
1a22a2271f
fix: create temporary main.cl with kernel source when -g debug flag is used
...
Implements mechanism in ocloc to generate a temporary main.cl file
containing kernel source code when compiling with the debug (-g) flag
and the source file does not exist. This enables proper source code
annotations in generated assembly for SYCL/online compilation workflows.
Related-To: NEO-11900
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com >
2025-07-29 14:09:10 +02:00
Compute-Runtime-Validation
4d4a5cc8b3
Revert "fix: create temporary main.cl with kernel source when -g debug flag i...
...
This reverts commit dfc97c016e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2025-07-26 02:45:54 +02:00
Aleksandra Nizio
2ffd85ad94
fix: Remove unused macro
...
Resolves: NEO-15666
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com >
2025-07-25 15:58:32 +02:00
Aleksandra Nizio
dfc97c016e
fix: create temporary main.cl with kernel source when -g debug flag is used
...
Implements mechanism in ocloc to generate a temporary main.cl file
containing kernel source code when compiling with the debug (-g) flag
and the source file does not exist. This enables proper source code
annotations in generated assembly for SYCL/online compilation workflows.
Related-To: NEO-11900
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com >
2025-07-25 12:42:26 +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
Maciej Bielski
43442b24e3
fix: check for nullptr before dereferrencing
...
Related-To: NEO-14473
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2025-06-24 15:28:04 +02:00
Chodor, Jaroslaw
767755df94
refactor: introducing AOT platforms wrapper
...
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-06-11 15:30:24 +02:00
Chodor, Jaroslaw
46c60290b9
refactor: introducing igfxfmid_wrapper
...
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-05-30 19:26:04 +02:00
Daniel Bermond
e0362a7c39
build: add missing headers for GCC 15
...
For using fixed width integer types[1], the `<cstdint>`[2]
C++ header needs to be explicitly included with GCC 15 due
to changes[3] in libstdc++.
For details, see the documentation[4] about porting to GCC 15.
[1] https://en.cppreference.com/w/cpp/types/integer
[2] https://en.cppreference.com/w/cpp/header/cstdint
[3] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=3a817a4a5a6d94da9127af3be9f84
[4] https://gcc.gnu.org/gcc-15/porting_to.html#cxx
Signed-off-by: Daniel Bermond <dbermond@archlinux.org >
2025-05-19 15:31:32 +02:00
Marcel Skierkowski
c54c88c7f6
fix: check createDir return value
...
Added a check in the createDir function to verify if the file exists
(this is not an error)
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com >
2025-04-29 16:28:38 +02:00
Marcel Skierkowski
85f71062ae
fix: check createDir return value
...
Check if the createDir function returns an error code
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com >
2025-04-29 11:10:19 +02:00
Chodor, Jaroslaw
eb58e1f964
feature: Allow NEOReadDebugKeys and PrintDebugMessages envs in ocloc
...
This enables NEO's NEOReadDebugKeys and PrintDebugMessages in ocloc
in the same scenarios as in NEO OCL/L0 RT
Note :
* NEOReadDebugKeys=1 should not be prefixed with NEO_OCLOC_
* PrintDebugMessages=1 should be prefixed with NEO_OCLOC_
(to distinguish from OCL/L0 RT usage), so the full env
is NEO_OCLOC_PrintDebugMessages=1
Related-To: NEO-14473
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-04-16 18:17:15 +02:00
Chodor, Jaroslaw
2ce694c52b
feature: Enabling support for redirecting FCL to IGC for OCLOC
...
This allows for invoking IGC as OCL C translator in OCLOC paths
Accepted debug env :
NEO_OCLOC_UseIgcAsFcl=1 ; forces IGC
NEO_OCLOC_UseIgcAsFcl=2 ; forces FCL
NEO_OCLOC_UseIgcAsFcl=0 ; use defaults
Related-To: NEO-14473
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-04-15 16:44:35 +02:00
Marcel Skierkowski
e82be94368
refactor: Modernize writeDataToFile function
...
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com >
2025-04-14 14:28:58 +02:00
Chodor, Jaroslaw
a079a2654d
feature: Enabling support for DisableDeepBind debug env in ocloc
...
Accepted debug env :
NEO_OCLOC_DisableDeepBind=1
Related-To: NEO-14473
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-04-12 23:21:19 +02:00
Chodor, Jaroslaw
72ae27d51e
feature: Enabling debug variables reader in ocloc
...
This allows for using debug variables in ocloc with
a few by-design limitations :
* debug var needs to be prefixed with NEO_OCLOC_
(when setting-up at runtime as environment variable
or using .config file)
* debug var needs to be tagged with S_OCLOC scope
(at compile time, in debug_variable .inl files)
Related-To: NEO-14473
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-04-11 19:58:53 +02:00
Marcel Skierkowski
b75fbe8e2c
refactor: mock filesystem in ocloc ult pt.1
...
Mocked IO operations in ./ocloc_tests application
Mocked gtest stdout capture in ocloc tests
Related-To: NEO-14084
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com >
2025-04-08 16:08:42 +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
Arek G
4751461a30
fix: ocloc: allow passing -device and -device_options in different formats
...
Related-To: NEO-9563
Signed-off-by: Arek G <arkadiusz.grubba@intel.com >
2025-03-25 18:07:21 +01:00
Chodor, Jaroslaw
8040d8bebf
refactor: ocloc command line refactor
...
Related-To: NEO-14135
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com >
2025-02-25 11:11:28 +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
6b6202446b
fix: Add asserts to ensure NonCopyable and NonMovable 3/n
...
Related-To: NEO-14068
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2025-02-18 17:16:03 +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
Kamil Kopryk
03b56dc919
fix: untrusted input
...
Do not read an unlimited size of environment variables.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2025-02-10 14:54:03 +01:00
Vysochyn, Illia
f96fc552b2
feature: Add cmake flag NEO_BUILD_UNVERSIONED_OCLOC
...
Introduces the NEO_BUILD_UNVERSIONED_OCLOC flag (defaults to FALSE)
that builds ocloc without a version suffix if set to TRUE.
The default behavior is to build a versioned one.
Applies only to UNIX-family systems.
Related-To: NEO-13060
Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com >
2025-02-05 18:56:45 +01:00
Michał Pryba
75bc74089b
refactor: adjust file names after pre-gen12 removal 2/3
...
Related-To: NEO-12681
Signed-off-by: Michał Pryba <michal.pryba@intel.com >
2025-02-03 15:31:51 +01:00
Naklicki, Mateusz
860b940edf
fix(ocloc): add 'asm' and 'disasm' support for PTL
...
Related-To: NEO-12803
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2025-02-03 15:04:46 +01:00
Naklicki, Mateusz
6d63f688eb
fix(ocloc): add 'asm' and 'disasm' support for missing opensourced platforms
...
This change addresses the lack of translation in the specified file,
which resulted in non-functional 'disasm' and 'asm' ocloc commands
for the following platforms: Meteor Lake (MTL), Arrow Lake (ARL),
Battle Mage (BMG), and Lunar Lake (LNL).
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2025-02-03 09:57:28 +01:00