817ba40771
Stop accessing task count from out-of-bound in opencl and shared ult
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-04 11:29:54 +02:00
7c068cb05b
Add PVC hwinfo config test for Thread Eu ratio
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-04 11:03:36 +02:00
7f6296174c
Add PVC device ids
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-04 10:48:59 +02:00
8f88d375ab
Sysman: remove gmocks from standby module
...
Related-To: LOCI-2030
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2022-04-04 10:41:12 +02:00
9ace9356f8
Use timestamp wait only if cache flush not needed
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-04-04 09:36:03 +02:00
787c74ce7a
Do not make dynamic allocations in hot calls.
...
std::stringstream does memory allocation even though it is not used.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
22.14.22890
2022-04-01 20:23:59 +02:00
5ba6f4a4bd
update compilation flags
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-04-01 18:14:49 +02:00
9016772351
No dynamic allocations on hot calls [2/n]
...
- Prevent FULL vector copy.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-04-01 16:22:09 +02:00
b45ffdb334
Move drm command stream fixture to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-01 15:58:37 +02:00
779bca39a7
Debug flag to add sfence instruction prior to DirectSubmission dispatch
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-04-01 15:53:03 +02:00
beff0019d1
SBA tracking for single address space
...
Related-To: NEO-6539
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-01 15:24:11 +02:00
4374197c9d
Fixes for bindless configuration
...
- enhance ults code, do not inject memory manager
- fix some issues related to bindless global heap
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-01 15:08:43 +02:00
7910567a76
Handle missing tag address in getting completion address
...
rename test fixture to comply one definition rule
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-01 15:00:35 +02:00
9cba46e5bf
Improve code coverage of MultiCommand class
...
This change introduces ULTs for untested
parts of MultiCommand class. Furthermore,
it contains MockMultiCommand class, which
allows white-box testing.
Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-04-01 14:04:16 +02:00
f2a18370e8
Split command queue hw tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-04-01 08:35:40 +02:00
96e0b672f1
infra update
...
Related-To: NEO-6803
Related-To: NEO-6830
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-04-01 05:12:31 +02:00
88193cc242
Minor fixes
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-31 20:02:11 +02:00
9d502dea25
Refactor waitOnCompletionFence method in DrmMemoryManager
...
get completion address and value from command stream receiver
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-31 19:30:16 +02:00
e32f624bf4
Update extension name
...
Resolves: NEO-6831
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-31 17:17:33 +02:00
6fee7c9de1
Unify the appendWaitOnEvents method
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-31 14:48:19 +02:00
47f7b4f509
sysman: clean up code duplication for reset
...
warm and cold reset are common functionality,
the code is being moved to the common sysman implementation
from diagnostics specific files.
Related-To: LOCI-1908
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2022-03-31 14:10:39 +02:00
0c0603966b
Add debug functionality to track dynamic allocations.
...
- available only via manual build with ENABLE_DYNAMIC_MEMORY_TRACKING.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-03-31 13:24:15 +02:00
308f9ccfff
Do not allocate dynamic state heap if not needed
...
Dynamic state heap is only used for sampler data.
Related-To: NEO-6821
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-31 12:13:13 +02:00
afd71beee9
Add slm_alignment entry to .zeInfo payload_arguments section
...
This commit adds suport for parsing "slm_alignment" entry in .ze_info
section.
- Set requiredSlmAlignment for addresing mode slm
- Enable optional passed slm alignment parsing (with default value=16
left).
Related-To: NEO-6817
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-03-31 12:00:16 +02:00
a285712cc4
Add missing download allocation calls
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-31 09:49:22 +02:00
01e76998d4
Remove unused CPU features
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2022-03-30 18:20:08 +02:00
aa46dd9cdf
Assign data only to unused barrier timestamps
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-30 16:56:06 +02:00
5350553f72
Use PrelimHelper for isDebugAttachAvailable
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-03-30 16:17:05 +02:00
08e3853982
Debug flag to add extra MI_MEM_FENCE for DirectSubmission
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-30 16:07:25 +02:00
a6d99f416d
Use context end offset for partitioned events
...
Related-To: NEO-6811
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-03-30 14:20:03 +02:00
91cfd3cd1a
Revert "Unify command/ring/semaphore buffers placement"
...
This reverts commit e035199de4
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-30 14:05:47 +02:00
6023a5b58e
Zebin: don't fail when extfunc caller cannot be found
...
This commit removes early fail in linking with zebin and external
functions which happens when, there's a relocation to external functions
section, but it's not modifying any external function. And only treats
GLOBAL FUNC symbols pointing to external functions section as external
function symbols.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-03-30 13:53:25 +02:00
7cd4ca5ce7
Fixed AUB capture in HW mode for umd-migrated shared allocations
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-03-30 12:04:58 +02:00
bce96e666f
Use updated macro names
...
Related-To: NEO-6730
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-03-30 10:44:59 +02:00
cf906030ac
Add neon intrinsics for aarch64
...
Related-To: NEO-6452
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2022-03-29 18:22:32 +02:00
c7d8915dd4
Add debug variable to print XY_BLOCK_COPY_BLT command details
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-03-29 18:15:13 +02:00
e035199de4
Unify command/ring/semaphore buffers placement
...
put them all to the same memory location
Related-To: NEO-6698
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-29 17:55:48 +02:00
681c09d314
Extend LinearStream with gpuBase
...
- added methods to set and query gpu base address
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-03-29 15:15:53 +02:00
68351249d1
Add debug flag to read back command buffer pointer
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-29 13:08:18 +02:00
88c16542a1
Ocloc: Set DeviceId in HwInfo
...
User can pass a heximal value of device id via -device param.
This change makes the setting of this value in hwInfo.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-03-29 11:17:23 +02:00
cdf3d00919
Update throttle reason status sysfs name
...
Related-To: LOCI-1843
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-03-29 11:02:47 +02:00
5176cfb660
Update i915 headers
...
Sync to https://github.com/intel-gpu/drm-uapi-helper/releases/tag/v2.0-rc11
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-03-29 10:58:05 +02:00
0fa923dff6
Add check for open syscall in case it fails
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-29 10:17:26 +02:00
9858438121
Limit multiple partition count to compute command lists
...
Related-To: NEO-6811
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-03-29 07:29:08 +02:00
90c6d7d9c9
Revert "Expose copy engines in parent device with implicit scaling"
...
This reverts commit 6154fb8ea7
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-28 22:06:10 +02:00
6154fb8ea7
Expose copy engines in parent device with implicit scaling
...
When using implicit scaling, expose the copy engines from
sub-device 0 in the root device. This to facilitate
programming models of layers above.
Related-To: NEO-6815
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-03-28 16:48:04 +02:00
fccda460d6
Optimize zeCommandListCreate
...
Do not allocate heap if command list is copy only.
Related-To: NEO-6821
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
Co-authored-by: Michal Mrozek <michal.mrozek@intel.com >
2022-03-28 16:31:10 +02:00
1aeb097a63
Download timestamp allocation before checking completion
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-28 15:02:04 +02:00
a0e7dce57a
Test arguments parsing in OfflineCompiler class
...
This change contains ULTs for OfflineCompiler::parseCommandLine()
method. The goal was to improve code coverage.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-03-28 12:51:51 +02:00
174c27eb31
Fix CFEFusedEUDispatch debug flag
...
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2022-03-28 12:32:05 +02:00