Mateusz Jablonski
9b35ba5e50
feature: add experimental support for cl-gl sharing on Linux
...
based on 'clgl-fork' branch from https://github.com/kallaballa/compute-runtime
EGL headers taken from https://github.com/KhronosGroup/EGL-Registry
revision: 57b4876de0f33677ece92dd9de0ef105ce69139d
Related-To: NEO-3599
Fixes https://github.com/intel/compute-runtime/issues/166
Co-authored-by: Jacek Danecki <jacek.danecki@intel.com >
Co-authored-by: Amir Hassan <amir@viel-zu.org >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-17 08:58:29 +01:00
Zbigniew Zdanowicz
bc4e540c33
[fix] unify heaps size programing
...
- share same code between csr and cmd container to get default heap size
- share handling of debug flag to change heap size
- share platform level surface heap size between csr and command list
- refactor heap size files
- put heap size constant and function into namespace
- command list surface heap size increased to 2MB for xehp+ to match csr
- command list increased surface heap size only for sba tracking
- sba tracking heap consumption increased due to different reset policy
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-17 08:34:06 +01:00
Kulkarni, Ashwin Kumar
ae566a42d8
Disable context creation when NEO_L0_SYSMAN_NO_CONTEXT_MODE is set
...
Related-To: LOCI-4031
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2023-03-16 19:14:46 +01:00
Compute-Runtime-Validation
9c0ad71700
Revert "Add extension property reporting for zeImageViewCreateExt"
...
This reverts commit f087a4cf70 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-16 15:14:41 +01:00
Mateusz Jablonski
933d01549f
refactor l0 core: cleanup cmake files 2/n
...
cleanup files per core/platform, cache and os specific
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-16 14:09:12 +01:00
Mateusz Jablonski
cb7437b6b7
refactor l0 tools: cleanup cmake files
...
append sources in current directory
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-16 14:05:14 +01:00
Zbigniew Zdanowicz
f348bf78a3
[fix] allow to use all available command buffer size after reset
...
- this change uses unified approach to reuse command buffer
- unified method takes all available space when reseting stream
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-16 12:48:52 +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
Grzegorz Choinski
e3fd07cf4c
ci: infra update
...
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2023-03-16 10:35:29 +01:00
Filip Hazubski
0025cb25f4
test: Correct logic of disabling slices in gtSystemInfo
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-03-16 09:13:47 +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
Igor Venevtsev
f57ff2913c
Optimize small buffers allocator
...
- Do not wait for GPU completion on pool exhaust if allocs are in use,
allocate new pool instead
- Reuse existing pool if allocs are not in use
Related-To: NEO-7769
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-03-15 19:12:30 +01:00
Zbigniew Zdanowicz
e645f58b65
[fix] Do not reset state heap position for command list reset
...
- state base address tracking allows to reuse base address state
- surface state slots can be reused after sba reload or cache flush
- to avoid cache flush after each reset, then allow to gradualy consume heaps
- only until natural heap depletion and then dispatch reload of sba state
Related-To : NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-15 19:04:20 +01:00
Filip Hazubski
0bee81c0c0
refactor: Move isLinearStoragePreferred function from gfx to product helper
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-03-15 18:51:59 +01:00
Neil R Spruit
75fbaa0642
fix l0: Set isHostVisibleEventPoolAllocation for all host allocated EventPools
...
Related-To: LOCI-4147
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2023-03-15 16:56:13 +01:00
Dominik Dabek
5ffb93cf2a
refactor(ocl): remove redundant check
...
Remove redundant check for graphicsAllocations.size() in set kernel arg
svm method.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-03-15 16:20:53 +01:00
Fabian Zwolinski
93a30f002b
L0 Debugger - check debug_eu entry.
...
Related-To: NEO-7790
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-15 16:14:49 +01:00
Lukasz Jobczyk
79075a3e92
Make command buffers resident at cmd container init
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-03-15 16:11:29 +01:00
Milczarek, Slawomir
eff7439eca
[perf] Set local memory pool for kmd-migrated shared allocation
...
Select ccs engine for usm device and shared allocations
(i.e. for transfers from local to local).
Related-To: NEO-7252
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-03-15 16:02:37 +01:00
Filip Hazubski
a23230ebcf
refactor: Remove tiledImagesSupported value
...
The value is redundant and capabilityTable.supportsImages
can be used instead.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-03-15 15:48:30 +01:00
Mateusz Jablonski
e3c5cbc22f
fix ocl/ocloc: expose cl_ext_float_atomics for OCL 2.0+
...
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-15 14:48:17 +01:00
Dunajski, Bartosz
686790274d
Disable OCL RelaxedOrdering if tag update is required
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-15 14:44:05 +01:00
Mateusz Hoppe
e62c5e25d5
refactor: change debugging enabled to debugging mode
...
Related-To: NEO-7630
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-15 13:41:41 +01:00
Mateusz Jablonski
db719b2acb
refactor: rename function getExtensions->getDeviceExtensions
...
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-15 12:46:46 +01:00
Compute-Runtime-Validation
3e1d931296
Revert "L0 Debugger - check debug_eu entry"
...
This reverts commit 9f935276a0 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-15 12:28:08 +01:00
Lu, Wenbin
f087a4cf70
Add extension property reporting for zeImageViewCreateExt
...
This is a follow-up of #18444
`ZE_extension_image_view` and `ZE_extension_image_view_planar` should
be reported by NEO, and `ZE_STRUCTURE_TYPE_IMAGE_VIEW_PLANAR_EXT_DESC`
needs to be recognized
Related-to: LOCI-3769
Signed-off-by: Lu, Wenbin <wenbin.lu@intel.com >
2023-03-15 12:22:22 +01:00
ocldev
1cc5cecbd4
metrics-discovery revision update
...
Signed-off-by: ocldev <ocldev@intel.com >
2023-03-15 11:26:15 +01:00
Mateusz Jablonski
028e1bb1b6
fix ocloc: define extensions in one place
...
unify exposed device extensions between OCL and ocloc
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-15 11:14:46 +01:00
Compute-Runtime-Validation
3d3ee8dccb
Revert "igc revision update"
...
This reverts commit 9dc6086a36 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-15 11:07:50 +01:00
Dunajski, Bartosz
60741b05aa
Add missing struct member initialization
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-15 10:09:05 +01:00
Michal Mrozek
9d0f1879ca
[fix] add migrated pointers to proper container.
...
when gpu to cpu migration occurs, we need to populate proper container.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2023-03-15 09:51:46 +01:00
Mateusz Hoppe
f2275caf3a
performance: L0 debug - improve single-step time
...
- check threads with ATT only when more than one thread is resumed
- if single thread is resumed - check only that thread
- delay thread state check - allowing thread to reenter SIP
Related-To: NEO-7750
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-15 09:48:35 +01:00
Lukasz Jobczyk
320deec53b
Wait for barrier on every OCL split blitter
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-03-15 09:34:41 +01:00
Bari, Pratik
adbda5906a
Added support for Power APIs
...
- Added support for the Power APIs in the new sysman design.
- Added ULTs for the Power APIs in the new sysman design.
- Added change to measure the average power in the black box test for
Power.
Related-To: LOCI-3891
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2023-03-15 08:23:45 +01:00
Joshua Santosh Ranjan
790ef57c3f
[Sysman] Update memory module for zesInit
...
Related-To: LOCI-4118
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-03-15 06:31:43 +01:00
Michal Mrozek
593b3cf4fd
Revert "[performance] do not perform migrations if not needed."
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2023-03-14 19:08:19 +01:00
Zbigniew Zdanowicz
b6d0a64638
Revert: "compute events select device memory for xe hpg family"
...
This reverts commit 072233d170 .
Resolves: HSD-18028222329
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-14 17:18:59 +01:00
Mateusz Jablonski
faba16f657
refactor: move extensions string creation to CompilerProductHelper
...
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-14 16:27:21 +01:00
Dunajski, Bartosz
477448c097
RelaxedOrdering dispatch for OCL 2/n
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-14 15:48:06 +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
Mateusz Jablonski
39eab81c83
refactor: add separate helper for extension support
...
cl_intel_subgroup_split_matrix_multiply_accumulate
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-14 15:08:29 +01:00
Fabian Zwolinski
1e4c91fb08
Do not disable scratch pages when dbgr is enabled
...
Related-To: NEO-7990
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-14 15:03:18 +01:00
Mateusz Jablonski
79281f4995
disallow using special mode of operation in XY_FAST_COLOR_BLT
...
Resolved: NEO-7803
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-14 14:10:39 +01:00
Mateusz Jablonski
340f932ca2
refactor: move GfxCoreHelper::getExtensions to CompilerProductHelper
...
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-14 13:56:19 +01:00
Zbigniew Zdanowicz
86c91847cc
[perf] change stream properties interfaces allowing fine grain selective update
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-14 13:46:49 +01:00
Mateusz Jablonski
483f9fe340
refactor: move extensions support logic to compiler product helper
...
- cl_intel_subgroup_local_block_io
- cl_intel_dot_accumulate
- cl_intel_create_buffer_with_properties
- cl_khr_subgroup_named_barrier
- cl_intel_subgroup_extended_block_read
Related-To: NEO-7800
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-14 12:09:26 +01:00
Joshua Santosh Ranjan
e2177f44f3
[Metrics]Fix OA buffer size request for streamer
...
This patch uses maximum OA buffer size for the
platform when opening an io stream.
Related-To: LOCI-4103
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-03-14 11:10:11 +01:00
ocldev
9dc6086a36
igc revision update
...
Signed-off-by: ocldev <ocldev@intel.com >
2023-03-14 10:59:30 +01:00
Devarinti, Puneeth Kumar Reddy
fb6c374e35
Debug: Add debug logs for performance module
...
Related-To: LOCI-3879
Signed-off-by: Devarinti, Puneeth Kumar Reddy <puneeth.kumar.reddy.devarinti@intel.com >
2023-03-14 10:55:40 +01:00
Dunajski, Bartosz
15485fb1c8
Register CSR clients for OCL CommandQueues
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-13 18:29:14 +01:00