Bari, Pratik
593bd13d4d
Added support for Frequency APIs
...
- Added support for the Frequency APIs in the new sysman design.
- Added ULTs for the Frequency APIs in the new sysman design.
Related-To: LOCI-4096
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2023-03-23 18:53:32 +01:00
Spruit, Neil R
9a056318a4
fix_l0:Unbind immediately during unmap
...
- Explicitly force unbind of Buffer Objects during unmap to ensure that
Buffer Objects can be reused in the same application.
Related-To: LOCI-4162
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-03-23 18:47:48 +01:00
Maciej Bielski
3ec0a637ba
fix(l0): return API error on ISA allocation OOM
...
It is possible that a module has so many kernels that the 4GB limit of
GPU VA is depleted when each kernel allocates a 64 KB page for its own
ISA. In such case, propagate the ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY to
the API caller to indicate the actual problem.
Currently such scenario is not detected, the execution advances a bit
further and the following crashes do not let the user to easily
understand what happened.
Related-To: NEO-7788
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2023-03-23 17:30:15 +01:00
Zbigniew Zdanowicz
ef12312672
[perf] add selective properties update for one-time and multi-time properties
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-23 15:59:50 +01:00
Zbigniew Zdanowicz
38e50007f7
[perf] simplify memory layout of command container class
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-23 13:31:47 +01:00
Kacper Nowak
bac3c93e45
refactor(opencl/gtpin): Extend OCL/GTPin interface for stateless kernels
...
Remove blocking condition disallowing GTPin instrumentation using OCL interface
for stateless kernels (where SSH size == 0). It is required in order to
reintroduce support for GTPin on platforms supporting stateless
addressing model only.
- Always allow for adding surface state for GTPin use, even if kernel
SSH size == 0,
- Correct addSurfaceState function logic
- Remove and/or modify GTPin unit tests based on previous approach
- Wrap logic for pushing BT and SSH into separate function
- Minor code refactor; remove not needed test function
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-03-23 13:14:16 +01:00
Pawel Cieslak
3c2c2ee0c4
refactor: use correct branch names in manifest.yml
...
Related-To: NEO-7742
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2023-03-23 13:06:35 +01:00
Zbigniew Zdanowicz
179429b25c
Add stateless arguments checker for single kernel
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-23 10:55:15 +01:00
Joshua Santosh Ranjan
18be91cbde
[Sysman] Updated Engine module to support zesInit
...
Related-To: LOCI-4138
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2023-03-23 03:46:11 +01:00
Dunajski, Bartosz
151aecc8bd
Disable RelaxedOrdering if UpdateTagFromWait is disabled
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-22 18:15:39 +01:00
Krzysztof Gibala
ecd8c6b410
fix l0: Add missing calculation in kernel getProperties
...
After resolving NEO-7684 in turns out that `zeKernelGetProperties`
is still returning wrong value for `maxNumSubgroups` since it
did not take into account `LargeGRF & SIMD` limitation.
Related-To: NEO-7829
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2023-03-22 16:06:13 +01:00
Cencelewska, Katarzyna
1624ad911b
wa: set flag ForceDummyBlitWa to -1 to apply wa properly on mtl
...
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-03-22 13:32:15 +01:00
Dunajski, Bartosz
73213c961f
Enable RelaxedOrdering for OCL on GPGPU engine
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-22 12:39:52 +01:00
Francois Dugast
e2a4cd0d48
xe: Add IOCTL support for GemCreate
...
This is needed to execute some workloads with iGPUs.
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
2023-03-22 12:20:13 +01:00
Compute-Runtime-Validation
7b5897d585
Revert "wa: set flag ForceDummyBlitWa to -1 to apply wa properly"
...
This reverts commit 095f5a773a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-22 10:42:46 +01:00
Compute-Runtime-Validation
7785a27f2f
Revert "feature usm: allocate host / shared USM in HEAP_EXTENDED"
...
This reverts commit 2d0c61aa33 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-22 02:36:23 +01:00
Lu, Wenbin
299985f15e
Add extension property reporting for zeImageViewCreateExt
...
`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-21 20:09:25 +01:00
Mateusz Jablonski
5610eae710
refactor: fix typo Barrierl -> Barrier
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-21 15:58:24 +01:00
Zbigniew Zdanowicz
6fb905acb2
Enable state base address tracking
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-21 15:53:24 +01:00
Mateusz Jablonski
415d2cb121
fix xe: add missing wait on fence before unbind
...
Related-To: NEO-7306
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-21 15:37:44 +01:00
Mateusz Jablonski
2d0c61aa33
feature usm: allocate host / shared USM in HEAP_EXTENDED
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-21 15:31:33 +01:00
Artur Harasimiuk
fa88c50973
ci: infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2023-03-21 14:38:14 +01:00
Filip Hazubski
58a2466f6e
refactor(cmake): Remove unused macro CORE_CONTAINS_PLATFORMS
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-03-21 14:26:34 +01:00
ocldev
37097916de
igc revision update
...
Signed-off-by: ocldev <ocldev@intel.com >
2023-03-21 13:53:47 +01:00
Igor Venevtsev
062abef8ef
Revert "Deferred deletion of allocations in main thread"
...
This reverts commit 2ea734491a .
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-03-20 18:17:15 +01:00
Dunajski, Bartosz
43cc747843
Add Unrecoverable to RelaxedOrdering path
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-20 14:42:20 +01:00
Mateusz Jablonski
4919c7c9fb
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-20 12:49:52 +01:00
Cencelewska, Katarzyna
095f5a773a
wa: set flag ForceDummyBlitWa to -1 to apply wa properly
...
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-03-20 09:41:31 +01:00
Kulkarni, Ashwin Kumar
9d866dac9e
Support maxBandwidth in zesDevicePciGetState for windows
...
Fix to update zes_pci_speed_t.maxBandwidth
Related-To: LOCI-4056
Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com >
2023-03-20 06:12:44 +01:00
Philip Meyer
2606788250
Sysman - Modify Consumption of KMD Energy Counter Timestamp
...
Signed-off-by: Philip Meyer philip.meyer@intel.com
Resolves: HSD-14018885283
2023-03-20 06:05:24 +01:00
Compute-Runtime-Validation
e118e35290
Revert "feature: add experimental support for cl-gl sharing on Linux"
...
This reverts commit 9b35ba5e50 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-19 07:54:11 +01:00
John Falkowski
a1e2eca9e8
Add zeMemGetAllocProperties extension for sub-allocations
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-03-17 21:21:44 +01:00
Filip Hazubski
a65de57e33
kernels_bin revision update
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-03-17 16:13:02 +01:00
Filip Hazubski
bd6349724b
feature(debugger): Increase buffer size used in readAndHandleEvent function
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-03-17 15:54:32 +01:00
ocldev
d4a4dc4f45
dependencies update
...
Signed-off-by: ocldev <ocldev@intel.com >
2023-03-17 14:06:36 +01:00
Mateusz Jablonski
659cacf2c9
refactor l0 cmake: reduce include directories
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-17 13:41:55 +01:00
Mateusz Jablonski
a7830eb478
refactor l0 cmake: add CMakeLists.txt files to solution
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-17 12:09:03 +01:00
Mateusz Jablonski
2d2c7a6ba2
refactor l0 sysman: cleanup cmake files
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-17 11:15:49 +01:00
Mateusz Jablonski
24ab45e71a
refactor l0 experimental: cleanup cmake files
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-17 11:15:31 +01:00
Mateusz Hoppe
c0794bd974
feature: assert support - decode zebin argument
...
Related-To: NEO-5753
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-17 11:15:13 +01:00
Cencelewska, Katarzyna
a4a296d59f
wa: enable wa to add additional dummy blits after blit copy
...
- reduce number of dummy blits where are not needed
- track if dummy blit required in cmdlist
Related-To: NEO-7450
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-03-17 10:43:00 +01:00
Mateusz Jablonski
2a60522e6e
refactor l0 api: cleanup cmake files
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-17 09:58:52 +01:00
Fabian Zwolinski
65c73a690f
Introduce Online, Offline, Disabled DebuggingModes
...
This change allows to set DebuggingMode via
ZET_ENABLE_PROGRAM_DEBUGGING env var
0: Disabled
1: Online
2: Offline
Related-To: NEO-7630
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-17 09:31:17 +01:00
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