Warchulski, Jaroslaw
d1b2311207
Cleanup includes 49
...
Cleaned up files:
opencl/source/command_queue/command_queue_hw.h
opencl/source/gtpin/gtpin_defs.h
opencl/source/mem_obj/mem_obj_helper.h
opencl/source/memory_manager/mem_obj_surface.h
opencl/source/sharings/unified/unified_sharing.h
opencl/test/unit_test/api/cl_enqueue_migrate_mem_objects_tests.inl
opencl/test/unit_test/aub_tests/fixtures/unified_memory_fixture.h
opencl/test/unit_test/command_queue/command_queue_fixture.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-10 17:26:49 +01:00
Warchulski, Jaroslaw
64f735481d
Cleanup includes 48
...
Cleaned up files:
shared/source/command_container/command_encoder.inl
shared/source/os_interface/hw_info_config.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-10 17:23:02 +01:00
Warchulski, Jaroslaw
a2e6a8284b
Cleanup includes 47
...
Cleaned up files:
level_zero/tools/source/debug/windows/debug_session.h
level_zero/tools/source/sysman/memory/windows/os_memory_imp.h
level_zero/tools/source/sysman/windows/kmd_sys_manager.h
opencl/test/unit_test/aub_tests/command_stream/copy_engine_aub_tests_xehp_and
shared/source/command_container/command_encoder.inl
shared/source/command_stream/command_stream_receiver_hw_xehp_and_later.inl
shared/source/helpers/blit_commands_helper_base.inl
shared/test/unit_test/image/image_surface_state_fixture.h
shared/test/unit_test/os_interface/windows/os_interface_win_tests.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-10 17:07:30 +01:00
Kacper Nowak
7790e208fd
feat(zebin): Add support for ELF section type SHT_NOBITS
...
This commit adds support for parsing SHT_NOBITS zebin's ELF sections
(containing global/constant zero-initialized data).
- Correction: in CTNI path, do not add related symbol if surface has not
been allocated.
Related-To: NEO-7196
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-02-10 16:17:16 +01:00
Kamil Kopryk
2887f2d936
refactor: fix typo - specified
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-10 10:28:32 +01:00
Compute-Runtime-Validation
0e1ba33e07
Revert "fix(ocl): fix resolve dependencies by pipecontrol"
...
This reverts commit d13dd79312 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-02-09 15:47:13 +01:00
Dominik Dabek
d13dd79312
fix(ocl): fix resolve dependencies by pipecontrol
...
Keep semaphore programming for events on bcs
Related-To: NEO-7321
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-02-08 16:58:18 +01:00
Dominik Dabek
0885379060
Fix typo
...
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-02-07 17:59:37 +01:00
Artem Gindinson
6f3503af38
Fix concatenation of FE/BE compilation log strings
...
Due to the mixed usage of `std::string` objects and C-strings, null terminator
characters sometimes propagate into possible `program::updateBuildLog()`
inputs. In particular, `TranslationOutput::frontendCompilerLog` and
`::backendCompilerLog` get set this way within the `CompilerInterface::build()`
API implementation.
This becomes an issue whenever each of CL -> IR and IR -> ISA compilation steps
emits their warnings and/or errors:
`clGetProgramBuildInfo(..., CL_PROGRAM_BUILD_LOG, ...)` also relies on
`std::string` to C-string conversion, so the output is trimmed at the first
null terminator, i.e. the BE part of the build log simply gets lost.
The change handles possible null terminators within `program::updateBuildLog()`
and adds relevant regression tests.
Related-To: IGC-6509
Signed-off-by: Artem Gindinson <artem.gindinson@intel.com >
2023-02-06 14:18:50 +01:00
Dunajski, Bartosz
6ebdc51fae
Dynamic queue size limit in RelaxedOrdering mode
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-02-06 12:02:02 +01:00
Daria Hinz
59109a08bb
Switch device ID support to product config helper
...
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. The change also introduces a fix for setting the values in the
correct order to configure the hwIfno correctly.
Signed-off-by: Daria Hinz daria.hinz@intel.com
Related-To: NEO-7487
2023-02-03 16:55:41 +01:00
Mateusz Jablonski
24c5352350
refactor: remove redundant including of compiler_cache.h
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-03 11:16:31 +01:00
Mateusz Jablonski
1c976f5110
test: move execution environment tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-03 11:03:18 +01:00
Kamil Kopryk
cab4b956eb
refactor: rename compiler product helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-03 09:03:24 +01:00
Kamil Kopryk
2329040881
Move GTPinGfxCoreHelper ownership to clDevice
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-03 08:56:48 +01:00
Mateusz Jablonski
078224d400
fix OCL: set correct memory location after initial transfer to image
...
when multi-storage image is initialized with memory then we need to track
location of actual memory
Related-To: NEO-5735
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-03 08:17:25 +01:00
Compute-Runtime-Validation
d0c0c60205
Revert "feat(zebin): Add support for ELF section type SHT_NOBITS"
...
This reverts commit fa03aa9a40 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-02-03 03:44:02 +01:00
Compute-Runtime-Validation
606a900080
Revert "Disable EUFusion for odd work groups with DPAS on DG2"
...
This reverts commit 017d66a469 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-02-03 02:45:21 +01:00
Mateusz Jablonski
371ee24554
fix OCL: set correct memory location after initial transfer to buffer
...
when multi-storage buffer is initialized with memory then we need to track
location of actual data
remove redundant parameters from copyHostPointer function
Related-To: NEO-5735
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-02 17:58:37 +01:00
Lukasz Jobczyk
5a613405c6
Make EmbeddedStorageRegistry ctor protected
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-02 16:28:54 +01:00
Kacper Nowak
fa03aa9a40
feat(zebin): Add support for ELF section type SHT_NOBITS
...
This commit adds support for parsing SHT_NOBITS zebin's ELF sections
(containing global/constant zero-initialized data).
Related-To: NEO-7196
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-02-02 14:54:51 +01:00
Dunajski, Bartosz
31154dc20b
Create OS agnostic OSTime in AUB/TBX mode
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-02-02 14:35:26 +01:00
Maciej Plewka
017d66a469
Disable EUFusion for odd work groups with DPAS on DG2
...
Related-To: NEO-7495, HSD-14017007475
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2023-02-02 13:57:42 +01:00
Kamil Kopryk
ac63175a0f
Add extra check for nullptr function pointer
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-02 12:21:23 +01:00
Kamil Kopryk
2484c7ceb2
refactor: rename hw_helper files to gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 19:37:51 +01:00
Daria Hinz
14f5a61993
Fatbinary optimization for -device release target
...
This commit is to introduce optimizations in ocloc when building
targets for release and family.
Instead of building fatbinary after all available targets in
the RTL ID table, we introduce optimizations when there is an
acronym available for the platform in the DEVICE table,
we limit to them only.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7582
2023-02-01 16:19:13 +01:00
Kamil Kopryk
b08a385f6b
refactor: Add GTPinHelper getter in clDevice
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 16:04:46 +01:00
Kamil Kopryk
1a0bc60434
refactor: rename hw_helper_tests files to gfx_core_helper_tests
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 15:58:41 +01:00
Kamil Kopryk
7487d1450e
Move CompilerProductHelper ownership to RootDeviceEnvironment and Ocloc
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 13:09:12 +01:00
Kamil Kopryk
104126ddd7
Move ProductHelper ownership to RootDeviceEnvironment
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-01 08:29:46 +01:00
Zbigniew Zdanowicz
34b8f08fc6
Add state base address properties tracking for command lists
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-01-31 12:47:17 +01:00
Michal Mrozek
2f847aa7bb
Optimize zeMemGetAllocProperties.
...
- No functional changes only performance optimizations.
- add const modifiers
- add early returns
- remove not needed code
- do fast lookup for aligned pointers
- fix incorrect tests
+21% improvement in
./api_overhead_benchmark_l0 --test=GetMemoryProperties
--api=l0 --AmountOfUsmAllocations=100 --iterations=1000
+32% improvement in
./api_overhead_benchmark_l0 --test=GetMemoryProperties
--api=l0 --AmountOfUsmAllocations=1000 --iterations=1000
Related-To: NEO-7676
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2023-01-30 18:00:57 +01:00
Rafal Maziejuk
9080b0c109
Delete redundant adjustNumberOfThreadsInThreadGroup method
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-01-30 17:10:01 +01:00
Lukasz Jobczyk
2abbd82195
Flush task at device init
...
Resolves: NEO-7642
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-30 10:41:42 +01:00
Kamil Kopryk
7b7c28cb40
refactor: don't use global ProductHelper getter 19/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-30 09:02:04 +01:00
Kamil Kopryk
004d3e3416
refactor: don't use global ProductHelper getter 18
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-30 08:15:39 +01:00
Kamil Kopryk
29f54be816
refactor: don't use global ProductHelper getter 17
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-27 19:28:45 +01:00
Kamil Kopryk
68bfd49033
refactor: don't use global ProductHelper getter 15/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-27 17:51:57 +01:00
Kamil Kopryk
5e059d4b30
refactor: don't use global ProductHelper getter 16
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-27 17:03:46 +01:00
Kamil Kopryk
445706361d
refactor: don't use global ProductHelper 14/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-27 14:51:12 +01:00
Warchulski, Jaroslaw
414dbed5d9
Cleanup includes 46
...
Cleaned up files:
opencl/source/api/api.h
opencl/source/os_interface/windows/d3d_sharing_functions.h
opencl/test/unit_test/aub_tests/command_stream/aub_mem_dump_tests.h
opencl/test/unit_test/fixtures/ult_command_stream_receiver_fixture.h
shared/source/os_interface/linux/device_time_drm.h
shared/source/os_interface/linux/os_time_linux.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-27 14:31:05 +01:00
Dunajski, Bartosz
d42ec1ad8a
Unify multi regular context selection
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
Related-To: NEO-7618
2023-01-27 14:04:04 +01:00
Kamil Kopryk
026d50c7b9
refactor: don't use global ProductHelper getter 13/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-27 13:52:36 +01:00
Kamil Kopryk
b101f9f2f5
refactor: don't use global ProductHelper getter 12/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-27 12:29:18 +01:00
Compute-Runtime-Validation
44032a4386
Revert "Flush task at device init"
...
This reverts commit 73bd55ad40 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-27 01:51:55 +01:00
Rafal Maziejuk
b7380237c2
Add adjustNumberOfThreadsInThreadGroup method to EncodeDispatchKernel
...
Related-To: NEO-7357
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-01-26 15:25:01 +01:00
Lukasz Jobczyk
73bd55ad40
Flush task at device init
...
Resolves: NEO-7642
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-26 13:48:04 +01:00
Warchulski, Jaroslaw
fe8a6d98ad
Cleanup includes 45
...
Cleaned up files:
opencl/source/api/api.h
shared/source/command_stream/csr_deps.h
shared/source/helpers/engine_node_helper.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-26 11:12:15 +01:00
Kamil Kopryk
27393c76ea
refactor: don't use global ProductHelper getter 11/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-26 08:16:52 +01:00
Compute-Runtime-Validation
e44e6e9a31
Revert "Flush task at device init"
...
This reverts commit abb366e3c0 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-26 00:28:48 +01:00