Commit Graph

16810 Commits

Author SHA1 Message Date
Zbigniew Zdanowicz
ae022c1113 feature: add kernel command view flag at command list level
Related-To: NEO-11972

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-08-05 12:58:35 +02:00
Dominik Dabek
e9e6cc05e3 fix: mem alloc size tracking safety
Make sure local mem alloc size atomic array is initialized with 0.
Add debug breaks to catch possible overflow on unregistering
allocations.

Related-To: NEO-11356

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-05 11:51:17 +02:00
Pawel Cieslak
a1a13475c7 ci: infra revision update
Related-To: NEO-9249

Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2024-08-05 10:06:46 +02:00
ocldev
f59ec349c1 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-08-05 06:58:34 +02:00
Filip Hazubski
db50903051 refactor: correct typo
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-04 21:12:09 +02:00
Dominik Dabek
26428d5af3 feature: track used memory by allocations
Track memory used by memory allocations. System and local per device.
Will be used for heuristics in memory pooling.

Related-To: NEO-11356

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-02 17:54:34 +02:00
Bartosz Dunajski
6103ab1dae fix: dont set needsFlush for Copy operation if its not programmed
Related-To: HSD-18039452525

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-02 17:54:19 +02:00
Kamil Kopryk
52126153fd test: disable heapless in inappropriate ults 5/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-02 15:58:09 +02:00
Mateusz Jablonski
5a339aeb2c test: define mock drm xe in cpp file
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-02 14:36:16 +02:00
ocldev
c99db0458c build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-08-02 14:21:39 +02:00
Compute-Runtime-Validation
e27efd701f Revert "fix: correct calculating max subslice space"
This reverts commit 67f2500c03.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-02 12:28:13 +02:00
Joshua Santosh Ranjan
43b81637df fix: correctly handle error return paths in getConcurrentMetricGroups
fix the size used to copy concurrent groups

Related-To: NEO-11382


Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-08-02 11:02:12 +02:00
shubham kumar
a2fdc3d3f5 feature: pmt based telemetry support on windows
Related-To: NEO-12119


Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2024-08-02 10:12:26 +02:00
Bartosz Dunajski
ec34656e0e fix: debug flag to defer first device submission
Related-To: HSD-18039343751

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-02 09:31:25 +02:00
Filip Hazubski
99d9482464 performance: Avoid data copy during SupportedDevicesHelper::deserialize
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-01 17:26:26 +02:00
Mateusz Jablonski
67f2500c03 fix: correct calculating max subslice space
computeMaxNeededSubSliceSpace is no longer needed as getHighestEnabledSubSlice
already determines maximum index from all enabled subslices

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-01 16:38:24 +02:00
Kamil Kopryk
27ba5f5089 refactor: move duplicated code to xeHpc and later
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-01 16:21:25 +02:00
Mateusz Jablonski
07a11e640f refactor: include xe header in dedicated namespace
avoid redefinition issue in case of integrating multiple xe drm versions

define mock drm xe in inl file to provide xe definitions for mock members

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-01 14:38:20 +02:00
Kamil Kopryk
ee2a688323 test: add flushTaskStateless mocks
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-01 14:37:34 +02:00
Bartosz Dunajski
5ccfd6f2be fix: add missing AlignLocalMemoryVaTo2MB flag support
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-01 13:54:51 +02:00
Zbigniew Zdanowicz
7ca0210ef2 fix: patch compute walker scratch address when scratch controller is changed
- scenario when command list is changed from normal to low priority queue
- save only scratch patch address, when changed, then enable patching
- kernels will re-use scratch patch address after update of compute walker

Related-To: NEO-11972

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-08-01 13:28:53 +02:00
Artur Harasimiuk
250601fd7b build: cleanup not needed variables from cmake
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-08-01 12:52:20 +02:00
Filip Hazubski
63a7779c9d ci: infra revision update
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-01 11:19:13 +02:00
Jemale Lockett
dd36ac8401 fix: Make debug area resident for subdevices
Resolves: NEO-9455

Signed-off-by: Jemale Lockett <jemale.lockett@intel.com>
2024-08-01 11:08:30 +02:00
Kamil Kopryk
2918d1f0c8 test: use walkerVariant in ults 9/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-01 10:45:18 +02:00
Bartosz Dunajski
fa4812f963 fix: add alignment flag support in svm path
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-01 10:40:47 +02:00
Szymon Morek
375d65d8e5 refactor: remove unused code
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-08-01 09:55:46 +02:00
Compute-Runtime-Validation
2d1b263e9a Revert "refactor: remove redundant function computeMaxNeededSubSliceSpace"
This reverts commit c0b96dcd6e.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-01 03:54:56 +02:00
Filip Hazubski
ae90b5025f build: kernels revision update
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-07-31 20:57:43 +02:00
Kamil Kopryk
24e02ca239 test: use walkerVariant in ults 8/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 20:50:03 +02:00
Mateusz Hoppe
0196a0f72f refactor(ocl): internal linker version script with OpenCL versions
- use the same map as in:
https://github.com/KhronosGroup/OpenCL-ICD-Loader/blob/main/
loader/linux/icd_exports.map

this allows to skip loader and link directly with libigdrcl.so

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-07-31 20:18:05 +02:00
Kamil Kopryk
4557d4f3a0 test: use findWalkerTypeCmd method 2/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 20:14:53 +02:00
Kamil Kopryk
8256fa613b test: disable heapless or heapless state init in inappropriate ults 5/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 20:08:08 +02:00
Kamil Kopryk
1f3bcee556 test: disable heapless in inappropriate ults 4/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 19:57:28 +02:00
Bellekallu Rajkiran
ebd0fa1b58 fix: Read appropriate config node for link Caps
Related-To: NEO-11929

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2024-07-31 19:49:35 +02:00
Kamil Kopryk
3f94f06492 test: disable heapless in inappropriate ults 3/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 17:49:11 +02:00
Michal Mrozek
47009cec90 refactor: remove not needed code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-07-31 17:07:56 +02:00
Artur Harasimiuk
b6038de550 build: adjust name for legacy1 packages
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-07-31 16:20:08 +02:00
Mateusz Jablonski
8edc40adbc fix: populate SliceInfo based on TopologyMap in drm path
pick minimal config in case of multi tile

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-31 15:55:21 +02:00
Mateusz Jablonski
c0b96dcd6e refactor: remove redundant function computeMaxNeededSubSliceSpace
use GfxCoreHelper::getHighestEnabledDualSubSlice instead

Related-To: NEO-12073
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-31 14:50:13 +02:00
Zbigniew Zdanowicz
b33fe6ccf1 feature: adding flag to block dispatch implicit scaling commands
- this feature is part of making compute walker command view
- compute walker is programed for implicit scaling but not dispatched
- together with new flag, comes the refactor to reduce number of arguments

Related-To: NEO-11972

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-07-31 14:24:27 +02:00
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
Mateusz Jablonski
aa32f7420b fix: correct getting max enabled dual subslice
when no dss info provided, assume max dss per slice are enabled

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-31 11:15:23 +02:00
Mateusz Jablonski
838894e074 fix: correct getting max enabled subslice
when no subslice info provided, assume max subslices per slice are enabled

Related-To: NEO-12073

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-31 10:42:57 +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
ocldev
1f79f867e6 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2024-07-31 05:40:53 +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