Zbigniew Zdanowicz
669665deff
performance: primary batch buffer use only on regular command lists
...
Immediate command list can use internal command queue.
Immediate command list then uses variable start offset and it does not
work with primary batch buffer.
Related-To: NEO-7807
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-04-19 19:36:51 +02:00
Daria Hinz
c3f4074f0a
fix: Unification of aot config with hw ip version
...
In the case of mtl+ platforms, the returned config value
should equal the hardware ip version value.
This change fixes situations where some config has not been
added and in this case we returned an unknown value.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7738
2023-04-12 18:34:03 +02:00
Brandon Yates
7dc4fd8dda
fix(l0): Fix cache properties for subdevice
...
total cache size calculation should use subdevice count
rather than MultiTileArchInfo to ensure correct size when subdevices
are queried
Related-to: LOCI-4217
Signed-off-by: Brandon Yates <brandon.yates@intel.com >
2023-04-04 08:05:09 +02:00
Rafal Maziejuk
27ff1c911d
feature l0: handle additional properties in modules
...
Related-To: NEO-7357
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-03-24 10:27:44 +01:00
Raiyan Latif
e3f732f5a6
feature: Add support for P2P Image Copy
...
Enables P2P Copy support for all Image API related calls:
- zeCommandListAppendImageCopy
- zeCommandListAppendImageCopyRegion
- zeCommandListAppendImageCopyToMemory
- zeCommandListAppendImageCopyFromMemory
Related-To: LOCI-4112
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2023-03-24 07:36:01 +01:00
Mateusz Jablonski
0da5e6f277
refactor l0: cleanup cmake file level_zero/core/source/CMakeLists.txt
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-16 12:38:15 +01:00
Mateusz Hoppe
0204761add
feature: gpu assert implementation
...
- allocate assert buffer when kernel has assert
- track assert kernels in cmdlists and cmdqueues
- check and print assert at sync calls: cmdqueue synchronize(), fence
synchronize(), event hostSynchronize(), synchronous imm cmdlists
append()
Related-To: NEO-5753
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-15 19:22:09 +01:00
Mateusz Jablonski
79f985a0e3
fix l0: correct setting ZE_DEVICE_MODULE_FLAG_DP4A bit
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-14 15:42:55 +01:00
Kamil Kopryk
fa8579602f
refactor: rename product helper files n/n
...
Related-To: NEO-7703
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-03-10 13:24:38 +01:00
Spruit, Neil R
98006ce72a
Add check allowing 1_2 device properties in stype check
...
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-03-07 20:19:39 +01:00
Spruit, Neil R
9aa4275fda
Check for valid stype before reading Device Properties pNext
...
Related-To: LOCI-3884
- Added check for valid device properties stype to remove the feature
specific debug vars that enabled/disabled reading of the pNext.
- Requires applications to properly set the device properties stype
in order for the pNext to be read for extensions.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-03-07 18:20:10 +01:00
Fabian Zwolinski
6c59953072
Add FP64 emulation support for ATS-M
...
This patch adds FP64 emulation support for ATS-M.
Introducing new environment variable - NEO_FP64_EMULATION - which provides
an option to allow the opt-in emulation of FP64.
When emulation is enabled, we pass -cl-fp64-gen-emu (ocl) /
-ze-fp64-gen-emu (L0) as an internal option to IGC.
Related-To: NEO-7611
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-07 14:21:01 +01:00
Zbigniew Zdanowicz
49def723b7
Unify layout of command list class
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-07 11:38:47 +01:00
Jaime Arteaga
a87fd77fd4
feature: Add debug key to enable cross-shared concurrent p2p access
...
Current support in the stack does not allow for concurrent access to
shared-allocations from host and peer devices when using page-faults.
So disable caps for now and introduce debug key for experimentation.
Access will be added by default as support in the stack becomes
available.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-03-02 18:29:28 +01:00
Lukasz Jobczyk
b814e20cf7
Obtain split events under mutex
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-03-01 13:35:51 +01:00
Milczarek, Slawomir
674691d170
Fix check for page faults enabled in get memory access properties
...
Related-To: NEO-6465
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-02-28 10:13:25 +01:00
Daria Hinz
acececc214
feat: Add device IP version extension
...
This change introduces an extension to query the device IP version for L0,
which corresponds to the PRODUCT_CONFIG value.
For OCL, the old mechanism is maintained with a debug flag,
and the default behavior has been unified with L0.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7735
2023-02-23 10:20:42 +01:00
Lukasz Jobczyk
7eb91e3b04
Split the L0 BCS split into D2H and H2D
...
-use separate pair of engines for D2H and H2D transfers
Related-To: NEO-7716
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-13 14:17:39 +01:00
Lukasz Jobczyk
7ad78a28ff
Fix profiling in BCS split
...
-program profiling start after event waitlist
Resolves: NEO-7723
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-13 12:22:00 +01:00
Lukasz Jobczyk
073de9db62
Do not track split internal events as a barrier
...
Related-To: NEO-7723, NEO-7716
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-13 11:19:00 +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
Lukasz Jobczyk
45a3e90cb1
Check if BCS is available when initializing split
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-10 09:33:21 +01:00
Lukasz Jobczyk
222992000a
Handle barrier correctly in L0 split
...
Resolves: NEO-7696
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-07 13:31:22 +01:00
Dunajski, Bartosz
756a9a9aaa
Fix BCS split events handling in RelaxedOrdering mode
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-02-06 11:00:58 +01:00
Kamil Kopryk
524d945e8c
refactor: rename l0 hw_helpers dir to gfx_core_helpers
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-02-02 11:15:56 +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
Dunajski, Bartosz
807b7bec65
L0: Capability to set RelaxedOrdering mode per call
...
This is prework for future RelaxedOrdering mode optimizations
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-01-30 15:01:20 +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
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
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
Warchulski, Jaroslaw
c43233dabf
Cleanup includes 42
...
Cleaned up files:
level_zero/core/source/kernel/kernel_hw.h
shared/source/helpers/common_types.h
shared/test/common/libult/linux/drm_mock.h
shared/test/common/libult/ult_command_stream_receiver.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-25 09:16:39 +01:00
Rafal Maziejuk
67ebc5d7fe
Delete redundant adjustHwInfoForIgc method
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-01-24 15:08:21 +01:00
Warchulski, Jaroslaw
bc13db734d
Cleanup includes 41
...
Cleaned up files:
shared/source/command_stream/aub_command_stream_receiver_hw.h
shared/source/helpers/common_types.h
shared/source/os_interface/linux/drm_neo.h
shared/source/os_interface/windows/hw_device_id.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-24 14:37:36 +01:00
Kamil Kopryk
eb002acaa1
refactor: rename l0_gfx_core_helper files
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-24 12:59:26 +01:00
Krzysztof Gibala
19c655076c
fix(l0): adjust getCacheProperties
...
Use L3CacheSizeInKb value for cacheSize calculation
Resolves: NEO-7655
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2023-01-24 10:48:43 +01:00
Compute-Runtime-Validation
575aacabc9
Revert "fix(l0): adjust getCacheProperties"
...
This reverts commit 8fb7967e8f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-01-24 06:31:09 +01:00
Warchulski, Jaroslaw
11764dd9bf
Cleanup includes 40
...
Cleaned up files:
shared/source/os_interface/linux/drm_neo.h
shared/source/os_interface/windows/wddm/um_km_data_translator.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-23 16:19:35 +01:00
Krzysztof Gibala
8fb7967e8f
fix(l0): adjust getCacheProperties
...
Use L3CacheSizeInKb value for cacheSize calculation
Resolves: NEO-7655
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2023-01-23 15:50:51 +01:00
Kamil Kopryk
235385abc9
refactor: Remove global CompilerProductHelper gettter 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-20 17:17:50 +01:00
Dunajski, Bartosz
5a5596957a
Capability to create multiple Regular BCS contexts per engine.
...
Related-To: NEO-7618
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-01-20 13:43:48 +01:00
Kamil Kopryk
a4eba996f7
refactor: don't use global ProductHelper getter 4/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-01-20 10:27:27 +01:00
Dunajski, Bartosz
dbf268df2f
L0: Capability to implicitly assign multi regular context to cmd list.
...
Related-To: NEO-7618
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-01-17 17:06:09 +01:00
Warchulski, Jaroslaw
c275008e51
Cleanup includes 32
...
Cleaned up files:
level_zero/core/source/cmdlist/cmdlist_hw.h
level_zero/core/source/cmdqueue/cmdqueue.h
level_zero/core/source/event/event.h
opencl/source/helpers/get_info_status_mapper.h
opencl/source/helpers/hardware_commands_helper.h
shared/source/helpers/per_thread_data.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-16 20:41:37 +01:00
Aravind Gopalakrishnan
889c2fe4e9
feature: Enable additional engine queries
...
Adds flexibility to query for additional engines
Related-To: LOCI-3346
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2023-01-12 19:43:02 +01:00
Lukasz Jobczyk
2d21d42edb
Adjust bcs split to flush task submission
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-01-11 09:16:44 +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
Warchulski, Jaroslaw
bd81b5546d
Cleanup includes 25
...
Cleaned up files:
level_zero/core/source/device/device.h
opencl/source/helpers/dispatch_info.h
shared/source/os_interface/os_interface.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-01-10 12:54:45 +01:00
Kamil Diedrich
0265f1bd9a
Return proper external memory property
...
Return ZE_EXTERNAL_MEMORY_TYPE_FLAG_OPAQUE_WIN32
for images and USM device for Windows and
ZE_EXTERNAL_MEMORY_TYPE_FLAG_DMA_BUF for USM device for
Linux inside ze_device_external_memory_properties
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2023-01-04 14:33:19 +01:00
Mateusz Jablonski
575f0f8b92
refactor: Stop using global gfx core helper getter in L0
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-01-02 14:15:53 +01:00