Compute-Runtime-Validation
b7cee61bde
Revert "Fail build program in shared system USM + stateful access case"
...
This reverts commit 0ad8afc0b3 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-12-07 01:00:59 +01:00
Filip Hazubski
2098b0c3fa
Refactor Device::engineGroups to store only available engine groups
...
Simplify logic around engine groups.
Remove no longer needed code.
Ensure correct device is used when verifying engine groups.
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-06 18:27:31 +01:00
Bellekallu Rajkiran
a1121ccb6b
Sysman: Replace mmap with pread
...
Use pread sys call instead of mmap and munmap
to get telemetry info.
Related-To: LOCI-2634
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2021-12-06 17:44:29 +01:00
Lukasz Jobczyk
09d2ffb9ed
Add missing cache flush
...
Resolves: NEO-6505
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-06 17:28:12 +01:00
Kamil Kopryk
0ad8afc0b3
Fail build program in shared system USM + stateful access case
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6075
After this change driver will fail clBuildProgram/zeModuleCreate api calls
whenever stateful access is discovered and device has shared system usm caps
enabled.This is required since in this case allocation greater than 4GB
will not work.
If user still wants to use stateful addressing mode,
-cl-opt-smaller-than-4GB-buffers-only / -ze-opt-smaller-than-4GB-buffers-only
build option should be passed as build option, but then user can not use
buffers greater than 4GB.
2021-12-06 15:10:16 +01:00
Zbigniew Zdanowicz
d497392b55
Add command buffer estimation for append wait on events operation
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-06 12:04:59 +01:00
Bartosz Dunajski
68aea5bf62
Rename compression flags and helpers
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-03 18:09:02 +01:00
Zbigniew Zdanowicz
631933e374
Remove needless partition offset register reconfiguration
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-03 14:28:30 +01:00
Filip Hazubski
c4f1b16239
Refactor ULTs: Split test_cmdqueue file
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-03 14:21:30 +01:00
Mateusz Hoppe
51218ef353
Add missing override in L0 bindless aub test fixture
...
- clean warning in build
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-03 11:39:57 +01:00
Lukasz Jobczyk
c455c0f9c6
Remove "Update Device::engineGroups"
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-03 10:16:40 +01:00
Mateusz Jablonski
3de256b17b
Correct L0 kernel tests
...
respect memory copies for patching ISA
remove tests for nullptr kernel ISA
Related-To: NEO-5081, IGC-4707
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-03 07:47:50 +01:00
Zbigniew Zdanowicz
47dbe359bf
Add command encoder for store data command
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-02 20:56:07 +01:00
Pichika Uday Kiran
7764924387
sysman: Avoid creating the IGSC libary handle in ULTs
...
- Contains the changes to avoid invoking IGSC library
during ULT execution.
Related-To: LOCI-2719
Signed-off-by: Pichika Uday Kiran <pichika.uday.kiran@intel.com >
2021-12-02 19:30:35 +01:00
Zbigniew Zdanowicz
3e1023fa1a
Unify memory layout for all multi tile post sync operations
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-02 18:00:40 +01:00
Mateusz Hoppe
8b233f7f45
Support for bindless mode in L0 - improvements
...
Related-To: NEO-6448
- add new IGC compilation flag when bindless mode used
- fix SBA programming of BindlessSurfaceStateSize -
always set maximum surface state count
- fix residency of global DSH heap on gen9 - gen12lp
in bindless mode
- add L0 aub test with bindless kernel - disabled
- partial fixes in OCL aub tests
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-02 16:30:58 +01:00
Bartosz Dunajski
55959d4d1d
Helper method to check if allocation is compressed
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-02 16:13:53 +01:00
Bartosz Dunajski
7b55d38e34
Refactor [1/n]: Make compression preference allocation property
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-12-02 15:24:35 +01:00
Filip Hazubski
4461b8ea3f
Refactor: Update Device::engineGroups to store only available engine groups
...
Simplify logic around engine groups.
Remove no longer needed code.
Related-To: NEO-6219
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-02 15:10:22 +01:00
Mayank Raghuwanshi
2ec2d514ec
Update create Handle mechanism for sysman RAS
...
Use set instead of vector to get the supported error types,
using vector may cause duplication of error types when quering
supported error types from different interfaces which in turn
may cause duplication of handles.
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2021-12-02 12:39:30 +01:00
Katarzyna Cencelewska
fa16cbceb9
Change size calculating for scratch on dg2
...
Also add proper init for SliceInfo on Linux
Resolves: NEO-6449
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-12-01 12:36:41 +01:00
Lukasz Jobczyk
36efe72e3e
Add wait on timestamp mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-01 08:48:00 +01:00
Vilvaraj, T J Vivek
0d86842780
Sysman: add Cold Reset to diagnostics API
...
the diagnostics API expects the device to be correctly reset based on
the type of diagnostics result. Cold reset is expected when there is
some repair scheduled on the Device.
Relates-to:LOCI-2508
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2021-11-30 20:12:34 +01:00
Mateusz Jablonski
8128a5593f
Add missing include to sysman memory test
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-30 10:39:46 +01:00
Mateusz Jablonski
eb572bd61c
Remove gmock from MockGmmResourceInfo
...
Related-To: NEO-4914
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-30 10:23:15 +01:00
Compute-Runtime-Validation
383daf9dbe
Revert "Change size calculating for scratch on dg2"
...
This reverts commit adc3ab5f24 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-30 04:22:55 +01:00
Bellekallu Rajkiran
ede0123561
Update sysfs path for setting standby mode
...
Related-To: LOCI-2734
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2021-11-29 23:54:06 +01:00
Filip Hazubski
f00cae09d6
Return error when incorrect group ordinal is given on command list creation
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-11-29 19:42:53 +01:00
Mateusz Jablonski
f02bd9f58c
Cleanup includes in L0 device fixture
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-29 14:25:32 +01:00
Katarzyna Cencelewska
adc3ab5f24
Change size calculating for scratch on dg2
...
Resolves: NEO-6449
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2021-11-29 14:07:38 +01:00
Szymon Morek
12777bd758
Move MemoryInfoImpl logic to MemoryInfo
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-11-29 13:13:11 +01:00
Daniel Enriquez
0ce5c6c9c9
Windows Sysman: Updating VRAM memory Type.
...
Adding support for the complete range of memory types.
Signed-off-by: Daniel Enriquez <daniel.enriquez.montanez@intel.com >
2021-11-27 11:51:44 +01:00
Bartosz Dunajski
ee29dc5c13
Fix L0 device caps
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-26 15:05:08 +01:00
Vilvaraj, T J Vivek
35607e7830
sysman: add warm reset capability to diagnostics.
...
Relates-to:LOCI-2507
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com >
2021-11-25 21:00:19 +01:00
Zbigniew Zdanowicz
e857979406
Refactor multi context device checker
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-25 20:17:14 +01:00
Mateusz Jablonski
1b2fe80a1b
Add missing test for implicit scaling L0
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-25 19:25:42 +01:00
Mateusz Jablonski
fe0ab11fbb
Add test for cmdlist reserve space
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-25 18:56:23 +01:00
Bartosz Dunajski
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-25 16:05:57 +01:00
Joshua Santosh Ranjan
ed6b30af12
Metrics Library Release For Query Case
...
Release Metrics Library after Query related objects are released
Related-To: LOCI-2656
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2021-11-24 19:24:31 +01:00
Bartosz Dunajski
29f74a1a98
Rename cmake GEN variables
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-24 14:42:57 +01:00
Zbigniew Zdanowicz
ca256a3f54
Initialize command list partition count for multi tile device
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-24 14:22:51 +01:00
Zbigniew Zdanowicz
357f650b8b
Unify code for check is implicit scaling enabled
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-24 12:41:00 +01:00
Aravind Gopalakrishnan
5a2792a74f
Remove needless event handle getter
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-11-23 22:07:13 +01:00
Mateusz Hoppe
b11d7cd7b0
Add debug key for compiler internal options injection
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-11-23 15:41:11 +01:00
Zbigniew Zdanowicz
2b60cadf1e
Use implicit scaling conditions to check for multi context device
...
Related-To: NEO-6262
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-11-23 15:27:48 +01:00
Mateusz Jablonski
d1059518a8
Add missing tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-23 13:57:54 +01:00
Artur Harasimiuk
7eb5b6aa42
mock dlopen in tests to block unwanted interactions
...
- explicitly specify files allowed to dlopen()
- use underscore to prefix fake library name that we want dlopen to
return nullptr
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-11-23 12:55:48 +01:00
Grzegorz Choinski
2e68f0abbd
lint revision update
...
Related-To: NEO-6441
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2021-11-23 12:50:25 +01:00
Bartosz Dunajski
913d90eba5
Remove not needed file
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-23 11:04:00 +01:00
Bartosz Dunajski
eb41c21a4a
L0 xe_hpg unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-11-23 08:25:01 +01:00