Commit Graph

13682 Commits

Author SHA1 Message Date
Young Jin Yoon
81822e3716 refactor: rename pageSize2Mb to pageSize2M
The previous name "pageSize2Mb" defined in
shared/source/helpers/constant.h is inconsistent to other variable,
i.e. pageSize64k.

Furthermore, it's a bit misleading because the page size is defined in
Megabytes (MB), not in Megabits (Mb).

Related-to: NEO-7695
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2023-07-10 20:12:09 +02:00
ocldev
f24ac10986 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-07-10 14:53:57 +02:00
Pawel Cieslak
c21e09195d ci: lint revision update
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-07-10 13:48:05 +02:00
Artur Harasimiuk
ad33e60359 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-10 12:17:26 +02:00
Mateusz Hoppe
9f466a9967 test: fix DebugSession ULT
- use size of state save area header when comparing contents

Related-To: NEO-7630

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-10 11:11:04 +02:00
Jaime Arteaga
23eeaf816d feature: Add debug keys for chunking allocation and size
Related-to: NEO-7695

New debug keys added:

EnableBOChunking is now a mask
0 = no chunking (default).
1 = shared allocations only
2 = device allocations only
3 = shared and device allocations

MinimalAllocationSizeForChunking sets the minimum allocation
size to apply chunking. Default is 2MB.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2023-07-07 23:39:43 +02:00
Cencelewska, Katarzyna
aa0beb8191 fix: Unify logic calculating threads per work group part 4
- also use helper when checking that is simd1 to have same flow

Related-To: NEO-8087
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2023-07-07 15:34:59 +02:00
Kamil Kopryk
dcd0bd4c30 fix: correct black box test
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-07-07 13:07:09 +02:00
Dunajski, Bartosz
00bae2c827 fix: add missing nullptr check
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-07-07 11:34:49 +02:00
Pawel Cieslak
a82ec6d4fa ci: infra update
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-07-07 10:38:01 +02:00
Pawel Cieslak
e81d163f4f ci: lint revision update
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-07-07 10:12:25 +02:00
Compute-Runtime-Validation
9c7950cd22 Revert "feature: add optional onChunkFree callback to AbstractBuffersPool"
This reverts commit b7ecf99abb.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-07 04:31:30 +02:00
Compute-Runtime-Validation
8ed2cb2bfe Revert "build: igc revision update"
This reverts commit 273f6c355f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-06 23:43:57 +02:00
Mateusz Jablonski
68909a895a feature: add AIL for selected apps on MTL
- Adobe Photoshop
- Adobe Premiere Pro
- Adobe After Effect

use RCS as a default engine

Related-To: NEO-8049
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-06 22:31:13 +02:00
Compute-Runtime-Validation
2fd8fb02f6 Revert "ci: kernel revision update to 4887"
This reverts commit a8f0346588.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-06 22:11:49 +02:00
Mateusz Hoppe
4aba0f0340 feature: global bindless surface state base support
- program global bindless ssba when external allocator used (
UseExternalAllocatorForSshAndDsh)

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-06 18:31:49 +02:00
Spruit, Neil R
11c96559a9 fix: Use Symbols map to report exported symbols vs external functions
Related-To: LOCI-4578

- Report all symbols in the Symbols Map for a Module as the Exported
symbols instead of using the External Functions Program Info.
- Resolves the issue of reporting symbols for platforms that don't have
ZEBIN binaries by default.

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2023-07-06 17:41:45 +02:00
Mateusz Hoppe
6205cca038 fix(debugger): require immediate binding for Module's allocations
- all bos from Module must have requireImmediateBinding
flag set
- this change fixes hang in debugger - where MODULE LOAD event
was not sent

Resolves: NEO-8121

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-06 17:34:22 +02:00
Artur Harasimiuk
25482ebff1 ci: infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-06 16:20:13 +02:00
Puneeth Kumar Reddy, Devarinti
c6e0e397c6 feature: add debug logs for ecc module for new sysman implementation
Related-To: LOCI-3878

Signed-off-by: Puneeth Kumar Reddy, Devarinti <puneeth.kumar.reddy.devarinti@intel.com>
2023-07-06 15:39:28 +02:00
Dunajski, Bartosz
d96cf5846a fix: dont allocate TSP for OOQ without Event
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-07-06 15:12:22 +02:00
Zbigniew Zdanowicz
c892b8c6f3 fix: remove redundant check
Related-To: NEO-7828

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-07-06 14:58:18 +02:00
Zbigniew Zdanowicz
8836838c7c performance: add one time context init sip state to immediate flush task
Related-To: NEO-7808

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-07-06 14:25:35 +02:00
Hazubski, Filip
ba6ccdf5bd ci: infra update
Signed-off-by: Hazubski, Filip <filip.hazubski@intel.com>
2023-07-06 13:09:05 +02:00
Maciej Bielski
b7ecf99abb feature: add optional onChunkFree callback to AbstractBuffersPool
Instances returned by `getAllocationsVector()` in some cases cannot be
freed (in the `malloc/new` sense) until the `drain()` function invokes
`allocInUse()` on them. Plus, the `chunksToFree` container operates on
pairs `{offset, size}`, not pointers, so such pair cannot be used to
release allocations either.

Provide an optional callback, which can be implemented by the custom
pool derived from `AbstractBuffersPool`. This callback can be used, for
example, to perform actual release of an allocation related to the
currently processed chunk.

Additionally, provide the `drain()` and `tryFreeFromPoolBuffer()`
functions with pool-independent versions and keep the previous versions
as defaults (for allocators with a single pool). The new versions allow
reusing the code for cases when allocator has multiple pools.

In both cases, there was no such needs so far but it arose when working
on `IsaBuffersAllocator`. The latter is coming with future commits, but
the shared code modifications are extracted as an independent step.

Related-To: NEO-7788
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2023-07-06 10:38:55 +02:00
Mayank Raghuwanshi
ddd7e6087f fix: Add guid check while calculating sysman memory Bandwidth
Related-To: LOCI-4597

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2023-07-05 19:36:44 +02:00
Igor Venevtsev
eba306c099 fix: properly set systemMemoryForced flag for secondary command buffers
Due to this flag was not properly handled on Windows, command buffer
allocations were never reused in immediate command lists in case of
host secondary buffers. This lead to huge host memory consumption
and performance degradation

Related-To: NEO-8072

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2023-07-05 17:09:15 +02:00
Mateusz Hoppe
3242d3f8eb test: add bindful kernel to zello_bindless_kernel test
- bindful and bindless kernels should execute correctly

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-05 16:40:17 +02:00
Zbigniew Zdanowicz
59949bc833 performance: add one time context init csr surface to immediate flush task
Related-To: NEO-7808

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-07-05 16:18:21 +02:00
Dominik Dabek
f1f0f2410c refactor: remove unused getBaseTimeout
Related-To: GSD-3612

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2023-07-05 16:12:15 +02:00
Artur Harasimiuk
8d3d7be7c8 ci: infra update
Related-To: NEO-6904
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-05 14:36:11 +02:00
Dunajski, Bartosz
9adfa4b355 feature: improve in-order Events chaining
- Clear TS event before chaining
- Dont chain non-TS events

Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-07-05 14:21:36 +02:00
Zbigniew Zdanowicz
69d80ee5bc performance: add one time context init preemption mode to immediate flush task
Related-To: NEO-7808

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-07-05 14:06:14 +02:00
Lukasz Jobczyk
e70f441f52 fix: Idle gpu before invalidate aux table
Related-To: NEO-8067

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-07-05 13:51:27 +02:00
Mateusz Witke
a8f0346588 ci: kernel revision update to 4887
Signed-off-by: Mateusz Witke <mateusz.witke@intel.com>
2023-07-05 13:16:37 +02:00
Mateusz Hoppe
eb2225e623 Revert "fix: no longer append .bin to binary name when "-output_no_suffix" ...
This reverts commit df62888efc.

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-05 12:21:55 +02:00
ocldev
273f6c355f build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-07-05 11:24:17 +02:00
Kulkarni, Ashwin Kumar
358a53c43b feature(sysman): enables ecc module for zesInit windows
Related-To: LOCI-4207

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-07-05 11:16:51 +02:00
Mateusz Jablonski
66c733eac7 fix: add missing zero-initialization of variable
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-05 10:39:48 +02:00
Kulkarni, Ashwin Kumar
c1371eea9f feature(sysman): supports firmware and RAS modules for zesInit
Related-To: LOCI-4197

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-07-05 10:30:48 +02:00
Zbigniew Zdanowicz
866e3c37ba performance: add implementation of cmdlist immediate flush task
Related-To: NEO-7808

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-07-05 10:23:16 +02:00
Dunajski, Bartosz
c18198ebd8 feature: change in-order allocation type to uint32_t
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-07-05 09:56:32 +02:00
Mateusz Jablonski
0f47295a23 build: add cmake flag to enable interprocedural optimization
Related-To: NEO-6904
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-05 09:43:15 +02:00
Mateusz Hoppe
0cc8330a1a refactor: Unify bindless surface state base programming
- program BSSBA in one place when sbaProperties used

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-07-04 16:34:43 +02:00
Kacper Nowak
1fba2a162e fix(zebin): Do not use NT_INTELGT_PRODUCT_CONFIG for target device validation
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-07-04 16:22:55 +02:00
Dunajski, Bartosz
5b9d45f3bc feature: handle in-order allocation overflow
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-07-04 15:58:11 +02:00
Cencelewska, Katarzyna
61f701aba5 fix: Unify logic calculating threads per work group part 3
Related-To: NEO-8087
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2023-07-04 15:27:44 +02:00
Mateusz Jablonski
d2f1cf98d7 test: fix issues with One Definition Rule in L0 ULT
Related-To: NEO-6904
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-04 15:16:03 +02:00
Compute-Runtime-Validation
7b45b205e3 Revert "fix: Add guid check while calculating Sysman memory Bandwidth"
This reverts commit c3e2e145c5.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-07-04 14:23:50 +02:00
Artur Harasimiuk
b1a3ea5a92 ci: infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-07-04 11:58:34 +02:00