Commit Graph

3146 Commits

Author SHA1 Message Date
Filip Hazubski
ebc19b4a70 feature: Add logic to disable bindless addressing via AIL
Add mockable Device functions to get ReleaseHelper and AILConfiguration.

Resolves: NEO-12699

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-09-18 13:49:51 +02:00
Mateusz Hoppe
9a44ac6779 test: add case to zello_global_bindless_kernel
- run test with global allocator disabled

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-18 13:35:09 +02:00
Fabian Zwoliński
a6ddb61a5f fix: consider only misaligned buffers in getSurfaceStateHeapDataSize
Adding checking for the presence of implicit args
was only a workaround for the time of implementing
support for bindless `const_base`, `global_base` in IGC.

Related-To: NEO-9855, NEO-7063
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-09-18 13:13:02 +02:00
Bartosz Dunajski
b8fb16c603 fix: initialize kernel members at the beginning
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-18 11:13:35 +02:00
Mateusz Jablonski
7e218a5f70 test: simplify IsAtLeastGen12lp and IsAtMostGen12lp matchers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-17 13:42:19 +02:00
Mateusz Jablonski
5912b43841 refactor: remove dead code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-17 13:41:50 +02:00
Dominik Dabek
731cebd721 fix: trim device usm pools when alloc fails
When normal allocation fails trim pools before deferred frees.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-09-17 10:30:18 +02:00
Mateusz Jablonski
3cc50f6861 test: remove deprecated matchers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-17 09:54:12 +02:00
Artur Harasimiuk
73382b9b6c refactor: remove legacy code
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-16 19:04:13 +02:00
Mateusz Jablonski
4f715c9b6a test: remove not needed tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-16 18:45:46 +02:00
Mateusz Hoppe
07499f626d test: remove restriction for discrete gpus in zello_bindless_kernel
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-16 14:39:06 +02:00
Mateusz Hoppe
ea71736f21 ci: disable zello_bindless tests on tgllp and skl
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-16 10:47:34 +02:00
Zbigniew Zdanowicz
7e00590994 performance: get work group count per tile value when setting new group size
- change interface to function to accept external group size

Related-To: NEO-12639

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-09-16 10:45:01 +02:00
Zbigniew Zdanowicz
fd4a744650 refactor: add command list engine group type and local dispatch getters
Related-To: NEO-12639

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-09-16 10:08:16 +02:00
Andrzej Koska
6263b9599f feature: Enabling Blitter offset for Remap
Related-To: NEO-11934

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-09-16 09:04:28 +02:00
Aravind Gopalakrishnan
f5b88f085a feature: Update L0 Core release version to v1.6
Related-To: NEO-12628

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-09-13 19:09:26 +02:00
Mateusz Hoppe
9739dadabf test: improve zello_bindless_kernel
- set stateful mode in ocloc while compiling binary
- add option for forcing scratch
- print passing cases


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-13 11:07:46 +02:00
Compute-Runtime-Validation
e6079cdf24 Revert "feature: Update L0 Core release version to v1.6"
This reverts commit 4eefd9eef7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-13 02:33:53 +02:00
Compute-Runtime-Validation
f58b5b6ac3 Revert "feature: Enabling Blitter Remapping for REGISTER_MEM"
This reverts commit d4f59c1b09.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-12 23:50:59 +02:00
Aravind Gopalakrishnan
4eefd9eef7 feature: Update L0 Core release version to v1.6
Related-To: NEO-12628

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-09-12 18:58:22 +02:00
Bartosz Dunajski
487b02a2ac feature: debug flag to disable walker split during copy operations
Related-To: NEO-12607

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-11 16:44:16 +02:00
Kamil Kopryk
8d3ddbac31 test: correct sip kernel type in ults if heapless enabled
Related-To: NEO-10641

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-11 16:12:24 +02:00
Kamil Kopryk
9d73927c24 test: correct expectations if heaples enabled in l0 ults
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-11 16:00:53 +02:00
Kamil Kopryk
334d5e43a7 test: correct L0DebuggerLinuxFixture
Releated-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-11 10:27:55 +02:00
Kamil Kopryk
8ddeaf4962 test: correct l0 debugger expectations if heapless enabled in l0 tests
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-11 09:34:17 +02:00
Kamil Kopryk
bf92d2c926 test: correct used matcher in xe2hpg tests
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-11 09:34:03 +02:00
Andrzej Koska
d4f59c1b09 feature: Enabling Blitter Remapping for REGISTER_MEM
Related-To: NEO-11934

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-09-11 09:14:44 +02:00
Aravind Gopalakrishnan
2a6faa64de feature: Append recorded commandlist into immediate (6/N)
- fix premature call to make non resident

Related-To: NEO-10356

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2024-09-11 07:41:15 +02:00
Bartosz Dunajski
9bdd7b784a fix: remove not needed cooperative kernel checks
Related-To: HSD-18039871488

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-10 18:32:20 +02:00
Dominik Dabek
b2fc7345cf performance: redesign usm alloc reuse mechanism
Dedicated pools for different allocations size ranges.
Additional reused allocations will create their own pools.
Do not reuse allocations >256MB.

Related-To: NEO-6893, NEO-12299, NEO-12349

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-09-10 18:12:14 +02:00
Bartosz Dunajski
4f1262645b refactor: pass extra walker params
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-10 15:30:03 +02:00
Mateusz Jablonski
554ffb91c6 test: ensure driver teardown function is not called if driver not initialized
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-10 14:53:10 +02:00
Damian Tomczak
41e24635e3 fix: correct maxMemAllocSize
Resolves: NEO-11857

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2024-09-10 09:15:18 +02:00
Wenbin Lu
bfaeeb01d6 feature: support SVM heap in reserveVirtualMem
Related-To: NEO-11981

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-09-09 23:22:04 +02:00
Zbigniew Zdanowicz
0628d97ee1 feature: update processing kernel residency
- save position of kernel internal container when allocation can change
- reuse the same position when new allocation arrives
- add index container for additional allocation of image argument
- save position of additional allocation of image argument
- reuse position when for new image argument

Related-To: NEO-11719

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2024-09-09 14:10:02 +02:00
Fabian Zwoliński
38e1614f4a fix: create and use new allocation type for syncBuffer
Related-To: NEO-11533
Related-To: HSD-18039788811
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-09-06 14:11:33 +02:00
Kamil Kopryk
b73d956285 test: correct expectations in level zero tests if heapless enabled 4/4
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-06 11:45:54 +02:00
Mateusz Jablonski
14fd9f3f24 fix: correct using L0 loader functions
use zelLoaderTranslateHandle for translating handle to internal handle
get pointer to zelSetDriverTeardown during global ctor
don't load loader library by name
get loader function pointers directly from current process

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-04 17:30:25 +02:00
Tomasz Biernacik
c5e174da00 refactor: remove queue extended methods and files
Related-To: NEO-12103

Signed-off-by: Tomasz Biernacik <tomasz.biernacik@intel.com>
2024-09-04 11:11:33 +02:00
Jitendra Sharma
1b54c8958f fix: allow debug when heapless mode without per context VMs
Related-To: NEO-11791
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2024-09-04 08:56:29 +02:00
Compute-Runtime-Validation
99f62ac866 Revert "feature: support SVM heap in reserveVirtualMem"
This reverts commit 93cde3ee12.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-03 20:20:25 +02:00
Mateusz Hoppe
37b7caa137 fix: correct program header generation for shared isa allocation
- when kernels share single allocation, LOAD address in program headers
should point to correct virtual address including kernel offset

Related-To: NEO-7788, GSD-9836

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-03 17:50:29 +02:00
Mateusz Jablonski
43e3957e66 fix: add nullptr check in cache reservation API
in case of AUB/TBX mode there is no os interface

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-03 15:43:35 +02:00
Kamil Kopryk
6d7e2760dc refactor: correct expectations in level zero tests if heapless enabled 3/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-09-03 15:11:59 +02:00
Mateusz Jablonski
7adfa344c0 performance: get reference from getBindlessInfo
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-03 12:50:52 +02:00
Wenbin Lu
93cde3ee12 feature: support SVM heap in reserveVirtualMem
Related-To: NEO-11981

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-09-03 11:38:51 +02:00
Mateusz Jablonski
c0cec096a5 fix: don't return gtpin init error from L0 API call
gtpin should be transparent for application

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-02 17:41:08 +02:00
Mateusz Hoppe
d5e275cb49 performance: optimize surface state programming
- eliminate read-modify-write on gfx memory when global bindless mode
enabled

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-09-02 15:31:30 +02:00
Mateusz Hoppe
ae3edba369 feature: limit contexts in group based on number of CCS engines
Related-To: NEO-12258, HSD-14023076222

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-08-30 19:55:31 +02:00
Kamil Kopryk
8a80673ca7 test: correct expectations in level zero tests if heapless enabled 2/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-30 19:55:01 +02:00