Rafal Maziejuk
67ebc5d7fe
Delete redundant adjustHwInfoForIgc method
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-01-24 15:08:21 +01:00
Daria Hinz
4d359b5eef
fix: Support multiple option settings in ocloc
...
If ocloc is given -options several times, the variable is overwritten.
This change allows the user to add additional options multiple times.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2023-01-20 12:10:21 +01:00
Warchulski, Jaroslaw
4794648978
Cleanup includes 26
...
Cleaned up files:
opencl/source/command_queue/csr_selection_args.h
opencl/source/event/event.h
shared/source/helpers/engine_control.h
shared/source/sku_info/definitions/sku_info.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-11 09:10:45 +01:00
Mateusz Jablonski
43b790957d
style: format code using clang-format 15.0.6
...
Related-To: NEO-7500
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-05 10:33:47 +01:00
Mateusz Jablonski
4647180c76
refactor: remove platform type string
...
this property is no longer needed as we compile kernels per product family
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-04 13:48:16 +01:00
Compute-Runtime-Validation
5a6d358166
Revert "refactor: remove platform type string"
...
This reverts commit 58b443ecf1 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-04 11:08:51 +01:00
Mateusz Jablonski
58b443ecf1
refactor: remove platform type string
...
this property is no longer needed as we compile kernels per product family
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-04 09:26:29 +01:00
Warchulski, Jaroslaw
d793f37dd8
Cleanup includes 20
...
Cleaned up files:
opencl/source/cl_device/cl_device.h
opencl/source/helpers/properties_helper.h
opencl/source/program/program.h
shared/source/device_binary_format/debug_zebin.h
shared/source/device_binary_format/elf/zebin_elf.h
shared/source/program/program_info.h
shared/source/utilities/heap_allocator.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-03 14:42:08 +01:00
Warchulski, Jaroslaw
0eac749fcc
Cleanup includes 19
...
Cleaned up files:
opencl/source/api/cl_types.h
shared/source/compiler_interface/external_functions.h
shared/source/compiler_interface/linker.h
shared/source/device_binary_format/elf/elf.h
shared/source/helpers/preamble.h
shared/source/memory_manager/definitions/storage_info.h
shared/source/memory_manager/memory_manager.h
shared/source/memory_manager/os_agnostic_memory_manager.h
shared/source/program/program_info.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-03 11:02:05 +01:00
Patryk Wrobel
59a4017cb6
Improve error handling in offline linker
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-12-21 12:10:04 +01:00
Kamil Kopryk
924eb23c90
Split hwInfoConfig and CompilerProductHelper enablers
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-13 13:14:37 +01:00
Mateusz Jablonski
470c6d4660
Extend compiler interface,
...
add mocks for Platform version 2
create wrapper to populate IGC platform depending on interface version
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-12-13 07:53:59 +01:00
Rafal Maziejuk
336c8c10d5
Add adjustHwInfoForIgc support
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-12-09 15:58:54 +01:00
Kamil Kopryk
6993ed5c52
Reduce binaries sizes 2/n
...
Observed about 50MB reduction in overall binaries size (directory build))
when building all targets
with MSVC (Visual Studio 2022 17.3.0 preview 6)
using Debug 64 configuration.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-08 16:14:38 +01:00
Mateusz Jablonski
23fd280334
Unify definition of hardware ip version
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-12-06 17:22:24 +01:00
Kamil Kopryk
785b9eeece
Rename CompilerHwInfoConfig -> CompilerProductHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-05 11:25:49 +01:00
Warchulski, Jaroslaw
bf6dfa6b94
Fix for '-q' option in ocloc
...
Related-To: NEO-6425
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-12-02 11:37:00 +01:00
Warchulski, Jaroslaw
4100e1aa72
Cleanup includes 7
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-28 17:01:48 +01:00
Kamil Diedrich
6f14e8414e
Add wddm ult for Linux build [1/n]
...
Related-To: NEO-6066
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-11-25 12:01:42 +01:00
Daria Hinz
31deb4fd63
Add support for new acronyms in disasm
...
The "disasm" option in ocloc was not validate new acronyms.
despite handling them in "compile".
This PR is fixing the issue - ocloc disasm supports new & deprecated
acronyms.
https://github.com/intel/compute-runtime/issues/582
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7509
2022-11-23 16:53:54 +01:00
Matt Turner
40ff655e08
Fix typos
...
Signed-off-by: Matt Turner <mattst88@gmail.com >
2022-11-18 23:37:50 +01:00
Daria Hinz
ab6e989eb3
Refactor product config helper
...
This commit brings order to the product config helper
code and corrects the naming
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-11-17 16:20:09 +01:00
Compute-Runtime-Validation
ef9a4fffcd
Revert "Fix for '-q' option in ocloc"
...
This reverts commit e9f0cb30e7 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-16 06:27:31 +01:00
Warchulski, Jaroslaw
e9f0cb30e7
Fix for '-q' option in ocloc
...
Related-To: NEO-6425
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-14 15:04:08 +01:00
Compute-Runtime-Validation
4d2948d312
Revert "Use device ID from ProductConfigHelper"
...
This reverts commit 60a8bcb3d7 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-11 10:56:33 +01:00
Mateusz Jablonski
10c12bb3a7
Reduce creating files when running ocloc tests
...
Add a new listener to track created files
Related-To: NEO-7126
Co-authored-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-10 15:58:29 +01:00
Warchulski, Jaroslaw
e4d10e5460
Cleanup includes 4
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-10 14:22:18 +01:00
Daria Hinz
60a8bcb3d7
Use device ID from ProductConfigHelper
...
This commit switches the device ID logic from the deprecated
to the new one, so that if the user passes a hex value to the -device
parameter, ocloc will use the new implementation in the product config
helper.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7487
2022-11-08 12:40:54 +01:00
Daria Hinz
0b3edc662e
Remove unnecessary platform name translation
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-11-08 00:33:39 +01:00
Kamil Kopryk
bf64769807
Remove not needed std::vector copies
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-11-07 23:25:14 +01:00
Warchulski, Jaroslaw
fb25f96081
Cleanup includes 2
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 10:36:50 +01:00
Compute-Runtime-Validation
83f63e0008
Revert "Ocloc - fix binary output filename with "-output_no_suffix""
...
This reverts commit 3ca628c388 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-03 21:28:39 +01:00
Mateusz Hoppe
3ca628c388
Ocloc - fix binary output filename with "-output_no_suffix"
...
Resolves: NEO-7474
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-11-03 18:27:02 +01:00
Warchulski, Jaroslaw
f0a9533c83
Improve error reporting in ocloc
...
Related-To: NEO-6425
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-03 09:29:46 +01:00
Dunajski, Bartosz
7ff37cd5fd
Ftr/WA flags cleanup
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-26 12:11:31 +02:00
Mateusz Hoppe
8980b2b817
Ocloc: Remove unneeded code from generated cpp file
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-25 11:21:09 +02:00
Mateusz Hoppe
9c237d99ec
Ocloc - Do not add "kernel-debug-enable" when "-g" is passed
...
Resolves: NEO-7436
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-25 08:55:55 +02:00
Krystian Chmielewski
0ef6b9b64c
Zebin manipulator - create dump directory fix
...
This commit fixes problem in zebin manipulator when dump was not
created.
* Explicitly create dump directory.
* Add slash to dump argument.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-24 20:44:27 +02:00
Krystian Chmielewski
4f0d19628e
Ocloc asm/disasm support for zebin
...
This commit adds option to disassemble and assemble zebinary.
Disasm disassembles zebinary into sections. Text sections are
translated to assembly, relocations and symbols are
translated into human readable format.
Asm assembles zebinary from files generated by disasm.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-10 14:48:55 +02:00
Dunajski, Bartosz
ad2d3d0289
Remove not used method
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-05 17:10:51 +02:00
Kacper Nowak
65f7ff2027
Ocloc: Add -s to options string for non-spirv input with -g option passed
...
Automatically add "-s" (source path) option if -g flag is present.
This applies only to non-spirv input.
- Due to conflict, do not automatically append source path when
CMC compiler is used.
- Minor code refactor: use defined compiler options instead of local
strings; wrap filename in quotes (in case of space-separated filename
string).
Related-To: NEO-7285
Signed-off-by: Kacper Nowak kacper.nowak@intel.com
2022-10-04 14:49:53 +02:00
Compute-Runtime-Validation
ab8579a6c2
Revert "Ocloc: Add -s to options string for non-spirv input with -g option pa...
...
This reverts commit 963930925a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-30 13:11:46 +02:00
Baj, Tomasz
0eab93501c
Add cl_cache mechanism to ocloc
...
Related-To: NEO-6476
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com >
2022-09-30 12:03:02 +02:00
Kacper Nowak
963930925a
Ocloc: Add -s to options string for non-spirv input with -g option passed
...
Automatically add "-s" (source path) option if -g flag is present.
This applies only to non-spirv input.
- Due to conflict, do not automatically append source path when
CMC compiler is used.
Related-To: NEO-7285
Signed-off-by: Kacper Nowak kacper.nowak@intel.com
2022-09-29 18:48:09 +02:00
Krystian Chmielewski
af57d2bd38
refactor ocloc interface
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-09-29 13:25:58 +02:00
Krystian Chmielewski
596e9f815c
32bit zebin support
...
This commit adds support for 32 bit zebinary in NEO runtime and in
ocloc validate.
Resolves: NEO-7288
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-09-27 11:12:05 +02:00
Krystian Chmielewski
311b0b0020
Create input for linker during zebin decoding
...
Remove code duplication. Parsing zebin elf for relocations and symbols
is moved to decodeSingleDeviceBinary.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-09-22 11:12:39 +02:00
Krystian Chmielewski
09bf464327
Add option to disable zebin in ocloc
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-09-13 14:36:54 +02:00
Compute-Runtime-Validation
417746182c
Revert "Ocloc: Add -s to options string for non-spirv input with -g option pa...
...
This reverts commit 301be3c21b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-09 05:42:13 +02:00
Kacper Nowak
301be3c21b
Ocloc: Add -s to options string for non-spirv input with -g option passed
...
Automatically add "-s" (source path) option if -g flag is present.
This applies only to non-spirv input.
Related-To: NEO-7285
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-09-08 15:19:05 +02:00