Szymon Morek
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
Zbigniew Zdanowicz
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
Patryk Wrobel
53c127e64c
Remove superfluous const_casts
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-09-06 13:34:01 +02:00
Dunajski, Bartosz
16d9000429
Add option to change GRF mode
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-06 13:00:17 +02:00
Wrobel, Patryk
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
Kacper Nowak
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
Bellekallu Rajkiran
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
Dominik Dabek
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
Patryk Wrobel
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
Yates, Brandon
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
Szymon Morek
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
Mateusz Hoppe
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
Wrobel, Patryk
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
Warchulski, Jaroslaw
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
Lukasz Jobczyk
abfcaf1265
Enable BCS split WA in OCL
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-09-05 13:34:11 +02:00
Katarzyna Cencelewska
7faf861408
Call setupHardwareInfoBase inside setupHardwareInfo on pvc
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-09-05 13:15:33 +02:00
Lukasz Jobczyk
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
Lukasz Jobczyk
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
Zbigniew Zdanowicz
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
Compute-Runtime-Validation
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
Compute-Runtime-Validation
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
Compute-Runtime-Validation
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
Compute-Runtime-Validation
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
Artur Harasimiuk
536284d755
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-09-02 21:30:39 +02:00
Neil R Spruit
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
Jitendra Sharma
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
Dunajski, Bartosz
22fb71a268
Walker partition: Improve barrier programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-02 18:09:38 +02:00
Mateusz Jablonski
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
Krystian Chmielewski
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
Zbigniew Zdanowicz
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
Cencelewska, Katarzyna
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
Mateusz Jablonski
2430ed5b9a
Remove dead code from ULT
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-09-02 17:15:17 +02:00
Zbigniew Zdanowicz
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
ocldev
3f03c57d55
gmmlib revision update
...
Signed-off-by: ocldev <ocldev@intel.com >
2022-09-02 16:38:09 +02:00
Zbigniew Zdanowicz
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
Zbigniew Zdanowicz
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
Dunajski, Bartosz
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
Zbigniew Zdanowicz
2d8324c954
add front end command query methods to unit test helpers
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-09-02 15:07:49 +02:00
Patryk Wrobel
e0b686a538
Remove possible out-of-bound array access from Drm::registerResource()
...
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-09-02 14:05:02 +02:00
Mateusz Hoppe
4a6a716758
Blackbox tests: Check if next arg exists before getting param value
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-09-02 13:44:02 +02:00
Compute-Runtime-Validation
8bff54c773
Revert "Remove Support for reading a function pointer of a kernel"
...
This reverts commit 8d5792abf6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-02 12:02:29 +02:00
Dominik Dabek
485ba234f3
Revert change DG2 l1 cache policy
...
This reverts cache policy back to WBP,
due to functional regressions
Related-To: NEO-7003
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-09-02 12:02:14 +02:00
Lukasz Jobczyk
01dc470d26
Fix BCS split ULTs on 32 bit
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-09-02 09:56:21 +02:00
Compute-Runtime-Validation
572fc24cf5
Revert "Wait on timestamps in Event::wait"
...
This reverts commit 5d4aca361f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-02 02:43:20 +02:00
Krystian Chmielewski
b04c226767
Fix printf for type BYTE and SHORT
...
Generated instructions writing to printf buffer require destination
address to be DWORD aligned. Because of that values of type BYTE (1B)
and SHORT (2B) need to be written as 4B value.
This change adds support for this. When trying to read value of type
BYTE or SHORT four bytes are actually read to be aligned with compiler
implementation.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-09-01 17:58:31 +02:00
Patryk Wrobel
90ba50bf52
Warn when RAII lock returned from function is discarded
...
Discarding RAII lock returned from function almost always
is a bug. This change introduces usage of [[no_discard]]
attribute from C++17 to prevent such misues.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-09-01 16:53:03 +02:00
Lukasz Jobczyk
d672920121
Enable BCS split WA in OCL
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-09-01 16:26:00 +02:00
Katarzyna Cencelewska
11374b83af
Call setupHardwareInfoBase inside setupHardwareInfo on pvc
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-09-01 15:41:14 +02:00
Szymon Morek
25f4b06258
Use uint4 type instead of char in builtin kernel
...
Related-To: NEO-7287
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-09-01 14:58:56 +02:00
Artur Harasimiuk
2f9d0ad584
bump libva revision used during build
...
Related-To: NEO-7292
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-09-01 13:06:27 +02:00