0d5c27a75f
Add support for ADL-N for WSL
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-09-07 20:11:45 +02:00
6ad16c9e72
Missing support for OCL debugging with L0
...
- make resident debugSurface
- allocate debugSurface with correct allocation type and size
- notify cmdQ create/destroy
Related-To: NEO-7075
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-09-07 13:30:05 +02:00
055088ddc1
Improve printing device properties in level zero black box tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-09-07 13:29:50 +02:00
3223a0bace
Correct linear stream size estimation - dispatch task count post sync
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-7156
2022-09-07 13:29:35 +02:00
38fd01ef41
Correct sba programming ult - validate programmed MOCS index
...
Ult was checking random memory (beyond the programmed command buffer)
initalized with zeros.
Since the expected MOCS index is 0, the test was passing.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-7156
2022-09-07 13:05:26 +02:00
dec2d9a184
Correct parse command buffer in ults - validate only programmed cmd buffer
...
Also use estimated size instead of 4KB in SBA programming ults.
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-7156
2022-09-07 12:57:57 +02:00
b6e2d2df8b
Add multi return points command lists for front end reconfiguration
...
This change gives fine grain control over front end configuration for each
kernel.
As it gives possible to inject FE command in command queue and return to exact
place in command list.
Programming commands in queue makes patching commands in command lists
not needed as that operation is costly.
And it allows to program context information for each command list too.
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-09-07 12:53:24 +02:00
7d164ec118
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-09-06 22:30:47 +02:00
c0ce477f85
Revert "Enable BCS split WA in OCL"
...
This reverts commit abfcaf1265
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-06 20:42:57 +02:00
3bb12ad10a
Allocate all event pools in local memory
...
Currently event pools are allocated in system
memory if HOST_VISIBLE flag is being set.
With this change such event pool will be
allocated in device memory if DC flush is not
allowed.
Related-To: NEO-7302
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-09-06 17:17:32 +02:00
50f9564a18
Add support to test device reset for specific device
...
Related-To: LOCI-3392
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-09-06 17:12:25 +02:00
f7332fc30b
Change order of EncodeDispatchKernelArgs members
...
Order members by their size
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-09-06 16:49:48 +02:00
84872812f2
Remove not used helper
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-06 16:02:56 +02:00
adfeebcfe4
Use const reference instead of copying data
...
Change appendUnalignedFillKernel to
pass const reference instead of copy
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-09-06 14:53:00 +02:00
168eb5fa1b
Fix calculation of number of thread groups in fence black box
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-09-06 14:44:43 +02:00
53c127e64c
Remove superfluous const_casts
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-09-06 13:34:01 +02:00
16d9000429
Add option to change GRF mode
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-06 13:00:17 +02:00
334802c9ba
Use correct format string in ocloc_validator
...
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com >
2022-09-06 12:25:19 +02:00
b41eed8438
CMake: correct test kernels naming + minor improvements
...
- For test kernels compiled with options passed, change their naming to
following convention:
{basename}_{options_passed}_{suffix}.
- Correct CMake variables naming.
- Refactor logic of retrieving test kernels' data (also in compilers
mock)
- In relation to previous changes: do not generate unnecessary
.gen binary for L0 test kernel
Related-To: NEO-7285
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-09-06 11:19:46 +02:00
ceff16084d
Fix temperature handle enumeration issue on single tile devices
...
Add platform check to read pmt offsets corresponding to
tile instead of root node for single tile devices.
Related-To: LOCI-2575
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-09-06 10:57:35 +02:00
16798467ac
Add api specific config for allocation cache
...
Currently disabled for both opencl and level zero
Related-To: NEO-6893
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
22.37.24175
2022-09-05 21:15:18 +02:00
09bb0766e2
Remove undefined behavior from debug_settings_manager.cpp
...
It is undefined behavior to add definition of function overload to std
namespace.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-09-05 21:04:16 +02:00
12c7f32679
L0 Win Debugger - implement thread control
...
Resolves: NEO-6722
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-09-05 19:26:14 +02:00
403b49e987
Append additional fill kernel for left leftover
...
Related-To: NEO-7287
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-09-05 18:08:26 +02:00
992e8e7c96
L0Debug - fix getISAVMHandle()
...
- use correct address form when searching Isa map
Resolves: NEO-7312
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-09-05 16:10:13 +02:00
a8db8b852a
Fix undefined behaviors discovered in tests
...
This change removes the following UBs:
- calling std::vector::insert() with source range, which comes
from the destination vector; when vector needs to grow then
the source iterators are invalid
- comparison of singular (default-constructed) iterators is
disallowed
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com >
2022-09-05 15:24:58 +02:00
57da7ad307
Don't generate gen file by default
...
Related-To: NEO-6613
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-09-05 15:00:48 +02:00
abfcaf1265
Enable BCS split WA in OCL
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-09-05 13:34:11 +02:00
7faf861408
Call setupHardwareInfoBase inside setupHardwareInfo on pvc
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-09-05 13:15:33 +02:00
a9b3b8137f
Release locks before wait on blocking BCS split calls
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-09-05 11:20:23 +02:00
0d6bef0753
Add BCS split to api specific config
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-09-05 11:13:10 +02:00
7b81583552
reposition code of multi tile command list fixture
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-09-05 11:01:08 +02:00
3e7276cdf8
Revert "Call setupHardwareInfoBase inside setupHardwareInfo on pvc"
...
This reverts commit 11374b83af
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-03 21:55:53 +02:00
20f49481f2
Revert "Enable BCS split WA in OCL"
...
This reverts commit d672920121
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-03 20:25:10 +02:00
c8975e14fe
Revert "Fix printf for type BYTE and SHORT"
...
This reverts commit b04c226767
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-03 14:11:26 +02:00
c3fffcc8c0
Revert "Default L0 Function & Global Symbols with fallback build"
...
This reverts commit 2157f15594
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-03 07:08:52 +02:00
536284d755
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-09-02 21:30:39 +02:00
2157f15594
Default L0 Function & Global Symbols with fallback build
...
- Enabled default setting of Program & Global Symbols to be generated by
IGC when building L0 Modules with the ability to fallback to previous
behavior thru build failure checks.
- Enabled selective disable of default program or global symbol
generation thru debug variables.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2022-09-02 19:16:40 +02:00
3212a71760
Debugger L0 Win: Attention event handling from UMD
...
Related-To: NEO-7261
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2022-09-02 18:22:41 +02:00
22fb71a268
Walker partition: Improve barrier programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-02 18:09:38 +02:00
e1c7e194ee
ULT: remove gmock WA from opencl/shared tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-09-02 17:58:08 +02:00
bb2967d2c6
Add handling for invalid kernel attribute
...
This commit adds handling for "invalid_kernel" kernel's attribute.
This attribute is present when kernel is invalid e.g. could not be
correctly compiled due to missing feature.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-09-02 17:51:22 +02:00
18af46296d
Optimize programming of front end by selecting correct hardware
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-09-02 17:41:37 +02:00
fa6bccdb30
Add new mt test for scenario with blitter
...
also change in other EnqueueKernelTest to use a proper
retValue per thread
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2022-09-02 17:31:48 +02:00
2430ed5b9a
Remove dead code from ULT
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-09-02 17:15:17 +02:00
1b7de2591b
Split command list fixture into implementation and interface file
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-09-02 17:10:06 +02:00
3f03c57d55
gmmlib revision update
...
Signed-off-by: ocldev <ocldev@intel.com >
2022-09-02 16:38:09 +02:00
a4b9b3b837
Extend encode class for start and end hw commands
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-09-02 16:29:36 +02:00
024354469f
change internal interfaces of level zero command queue
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-09-02 15:32:30 +02:00
3c8c09634f
Add fallback path to query L3 size
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-02 15:32:16 +02:00