Commit Graph

4954 Commits

Author SHA1 Message Date
Mateusz Jablonski
2b71ffa7ce test: correct template var naming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-31 13:39:38 +02:00
Kamil Kopryk
1971a87da2 test: disable heapless or heapless state init in inappropriate ults 2/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 12:45:39 +02:00
Kamil Kopryk
4d908f6921 test: use find all walkers
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 12:39:51 +02:00
Maciej Bielski
790bb84841 refactor: decouple ClosCacheReservation from Drm
The dependency towards `Drm` is unnecessary and only makes testing more
difficult. Instead, dependency towards `IoctlHelper` alone only is
sufficient.

Related-To: NEO-10158
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-31 10:38:35 +02:00
Jack Myers
f5d00b2616 feature: 2d-block-load-transpose query
Implemented device property query API for determining
support capabilities regarding 2d-block-load-tranpose
features for which not all Intel devices support.

Related-To: NEO-11592
Signed-off-by: Jack Myers <jack.myers@intel.com>
2024-07-30 18:21:07 +02:00
Fabian Zwoliński
b1a50104a8 fix: include dynamic SLM in clGetKernelWorkGroupInfo and zeKernelGetProperties
Current implementation only takes static slmInlineSize into account.
With this change we also include dynamic SLM passed as a kernel arguments.

Related-To: NEO-5761
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-30 17:59:45 +02:00
Kamil Kopryk
c09d5b383f test: disable heapless or heapless state init in inappropriate ults
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-30 17:36:52 +02:00
Zbigniew Zdanowicz
7d1b59f008 feature: add option to make compute walker command view
Related-To: NEO-11972

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-30 11:23:45 +02:00
Kulkarni, Ashwin Kumar
cf4ef679c9 feature(sysman): supports deviceId and vendorId in zesInit path
Related-To: NEO-10914

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2024-07-30 09:48:03 +02:00
Bellekallu Rajkiran
eadb7b5a66 fix: Remove appropriate device on warm reset
Related-To: NEO-11926

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-07-30 09:37:48 +02:00
Wenbin Lu
e2f1735cc5 test: use realistic values in topology query tests
Related-To: NEO-9489

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-07-29 16:34:22 +02:00
Maciej Bielski
44d6b5ebac fix(sysman): do not leak/exhaust memory with telemetry allocations
Related-To: NEO-11825
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-29 12:58:49 +02:00
Kamil Kopryk
d5ee3bd871 test: use walkerVariant in ults 6/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-29 12:24:16 +02:00
Mateusz Hoppe
a734a738fa fix: use regular engine for HP copy engine if no HP engine
- map HIGH PRIORTY queues to regular engine for copy engine if there is
no HP copy engine available

Related-To: NEO-11983

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-26 17:09:31 +02:00
Mateusz Jablonski
85df385582 fix: ensure system info is queried before querying topology
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-26 16:03:59 +02:00
Kamil Kopryk
06457b942e test: use walkerVariant in ults 5/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-26 16:03:43 +02:00
Kamil Kopryk
db703fd335 test: use walkerVariant in ults 4/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-26 15:40:59 +02:00
Kamil Kopryk
720bf5fc7c test: use walkerVariant in ults 3/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-26 13:53:01 +02:00
Mateusz Jablonski
0cdfa882eb fix: correct setting hw info in drm flow
firstly, setup hw info using product specific functions
secondly, query system info from GuC to setup max values
then, query memory info
then, query engine info as it depends on memory info
then, query topology as it depends on engine info

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-26 12:20:40 +02:00
Bartosz Dunajski
ebcbbcf8fe fix: add missing api exports
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-26 12:15:28 +02:00
Mateusz Jablonski
e24acc6155 fix: ensure memory info is queried before querying engine info
initialization of engine info relies on memory info data

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-26 09:28:50 +02:00
Compute-Runtime-Validation
d3f4b5b280 Revert "fix: use stateless kernel when append memory fill on XeHpc and later"
This reverts commit e233cf5127.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-26 05:52:42 +02:00
Zbigniew Zdanowicz
ff993feb74 feature: add skiping kernel internal allocations to cmdlist residency
Related-To: NEO-11719

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-25 16:22:42 +02:00
Maciej Bielski
45f3767997 refactor: readability - start struct name with uppercase
Related-To: NEO-7849
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-25 11:47:38 +02:00
Kamil Kopryk
1e2eca16c7 test: use walkerVariant in ults 1/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-25 11:39:21 +02:00
Maciej Plewka
1cd00b5b89 fix: use per product cache line size to align heaps
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-07-24 17:29:20 +02:00
Kamil Kopryk
e233cf5127 fix: use stateless kernel when append memory fill on XeHpc and later
Related-To: NEO-6075
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-24 17:29:06 +02:00
Zbigniew Zdanowicz
42bf58a800 refactor: do not add all mapped physical allocations to kernel residency
Related-To: NEO-11719

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-24 15:43:48 +02:00
Kamil Kopryk
8996c47664 refactor: correct typo
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-24 14:56:40 +02:00
Maciej Plewka
afee8814ef refactor: get ioh alignment from static function
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-07-24 14:43:31 +02:00
Aleksander Czerwionka
1d3d3e9a79 fix: adjust indexes in zello bindless kernel to prevent out of bounds
Related-To: NEO-10534

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2024-07-24 14:28:35 +02:00
Kamil Kopryk
e72d787d96 test: add new find all walkers method
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-24 12:17:42 +02:00
Maciej Bielski
2165154530 feature: add support for L3-cache reservation
Resolves: NEO-7849

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-24 10:10:28 +02:00
Kamil Kopryk
c0b68db729 test: use findWalkerTypeCmd method
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-24 09:31:22 +02:00
Pratik Bari
0dacb78d78 refactor(sysman): Remove Pmt tile aggregator from Memory Module
The PMT tile aggregator used in the memory module has been replaced with
the wrapper functions which calls the functions from Pmt Util class.

Related-To: NEO-11992

Signed-off-by: Pratik Bari <pratik.bari@intel.com>
2024-07-24 08:47:17 +02:00
Wenbin Lu
357a607d22 refactor: correct the naming of some topology-related variables
Related-To: NEO-9489

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-07-24 08:39:12 +02:00
Kamil Kopryk
635f596599 refactor: add statelessBuiltinsEnabled bool to cmdlist
Related-To: NEO-6075
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-23 17:24:44 +02:00
Zbigniew Zdanowicz
1c1e437d4b refactor: split kernel residency into internal and argument containers
Related-To: NEO-11719

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-23 17:22:16 +02:00
Fabian Zwoliński
e65451e582 fix: adjust tests to enabled global allocator 6/n
Related-To: NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-23 15:54:35 +02:00
Mateusz Hoppe
8a7923c6ee fix: allow fork() after zeInit()
- do not release resources derived from parent process
- zeInit() in child should initilize new driver

Related-To: NEO-11761

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-23 15:31:50 +02:00
Bartosz Dunajski
c3312f21f7 feature: dont initialize in-order TS nodes
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-23 13:31:23 +02:00
Jack Myers
020cbf6116 fix: correct stype enum value for queue copy offload hint
When collating stype enum values,
ZEX_INTEL_STRUCTURE_TYPE_QUEUE_COPY_OPERATIONS_OFFLOAD_HINT_EXP_PROPERTIES
was incorrectly set. This corrects the definition statement to
match the original value before collating.

Related-To: NEO-11754
Signed-off-by: Jack Myers <jack.myers@intel.com>
2024-07-23 09:59:16 +02:00
Mateusz Jablonski
899bda3263 fix: use stateless copy kernel when append memory copy on PVC and Xe2 platforms
Related-To: NEO-6075
Resolves: NEO-12027


Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-22 22:51:32 +02:00
Zbigniew Zdanowicz
f61ab615e7 refactor: do not add bindless heaps to kernel residency
Related-To: NEO-11719

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-22 22:44:30 +02:00
Kamil Kopryk
17380dcbf3 test: use find walker type function
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-22 15:36:12 +02:00
Bartosz Dunajski
df846fc992 refactor: remove not used helper method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-22 12:27:29 +02:00
Kamil Kopryk
b984510228 test: add additional check if npstates are expected
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-22 10:51:29 +02:00
Bartosz Dunajski
3758e99cbf feature: initial support for standalone CB Events Timestamps allocator
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-22 10:13:55 +02:00
Jack Myers
9dba608932 refactor: collate ze_structure_type_t macros
Collated all ze_structure_type_t `#define`
macros into a single header. By doing so,
all hex values associated with L0 extensions
are in one file. The two new headers are
included in the API headers shared among
extension implementations, making the
in-use hex values and types easy to find
for extension developers.

Related-To: NEO-11754
Signed-off-by: Jack Myers <jack.myers@intel.com>
2024-07-19 23:17:42 +02:00
Compute-Runtime-Validation
9625f88d02 Revert "feature: add support for cache reservation"
This reverts commit b8eabdd4ce.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-19 20:58:43 +02:00