Commit Graph

14808 Commits

Author SHA1 Message Date
Kacper Nowak c504b497d7 refactor: Store AIL in root device environment
Instead of storing AIL configurations in global table, store it
in root device environment.
This also prevents potential scenario with accessing deleted memory due
to symbol collision when application uses both OCL/L0 libraries.
- AIL is now stored in root device environment, and gets initialized
with other helpers
- Minor: corrected naming in ULTs

Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
Related-To: NEO-9240
2023-11-17 15:18:27 +01:00
Dominik Dabek 6562828095 performance: prealloc internal heap on mtl
Preallocate 1 internal heap allocation per csr on mtl

Related-To: NEO-8152

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2023-11-17 13:36:21 +01:00
Dunajski, Bartosz 9a3fea9849 feature: disable IPC for CB Events
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-17 11:27:32 +01:00
Dunajski, Bartosz 470ab44d35 feature: add Counter Based Events to extension list
Related-To: NEO-8145

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-17 11:10:56 +01:00
Compute-Runtime-Validation a3daca1e70 Revert "fix: Fix Sysman ULT failures"
This reverts commit 4398e4297f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-17 10:52:28 +01:00
Fabian Zwolinski 2aa0ae0eca refactor: linux cl_cache eviction mechanism
Refactored eviction mechanism works as follows:
- eviction is needed only if
total size of cache binaries + size of the new binary exceed cache limit
- single evition call removes files with a summed size of 1/3 of the cache limit
- if new binary can not fit in the cache size limit
even after eviction, it will not be saved
- cache limit applies only to
files in cache directory with .cl_cache/.l0_cache extension.
Only these files are counted and only these files are removed

Minor:
- rename variables for better readability
- add `const` where possible

Related-To: NEO-4262
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-11-17 09:48:42 +01:00
Compute-Runtime-Validation 27000c06cb Revert "refactor: Store AIL in root device environment"
This reverts commit 02ef252b7d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-16 19:37:42 +01:00
Compute-Runtime-Validation c68f55e4f6 Revert "feature: enable bindless mode in L0 on dg2"
This reverts commit d1d4f9c9f3.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-16 19:13:05 +01:00
Andrzej Koska 63aaa3b63f fix: Race removal between enqueueKernel and clFinish
Related-To: NEO-8196
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2023-11-16 17:33:44 +01:00
Mateusz Hoppe d1d4f9c9f3 feature: enable bindless mode in L0 on dg2
Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-16 17:19:46 +01:00
ocldev b2d9b389a4 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-11-16 15:53:33 +01:00
Dunajski, Bartosz 3fc3223521 refactor: reduce number of memcpy to event allocation
Instead of doing multiple small copies, copy single block only once

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-16 13:13:49 +01:00
Fabian Zwolinski f91757c093 fix: enable 4KB allocation alignment through KMD on Windows
Related-To: NEO-9446
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-11-16 13:04:23 +01:00
Dunajski, Bartosz 2981c78d34 fix: check RCS support in OS agnostic path
Related-To: HSD-18035019656

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-16 12:59:42 +01:00
Mateusz Jablonski 140532f8b6 fix: fix issues with clang-tidy on Windows
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-16 12:30:11 +01:00
Aravind Gopalakrishnan 801d5fc48e feature(sysman): Report flags and type for core property struct
Related-To: LOCI-4484

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-11-16 11:33:01 +01:00
Konstanty Misiak b8571bc8dd test: check if BXML was written correctly
Related-To: NEO-9272

Signed-off-by: Konstanty Misiak <Konstanty.Misiak@intel.com>
2023-11-16 11:30:48 +01:00
Compute-Runtime-Validation 7f61217a44 Revert "performance: optimize svm allocation tracking"
This reverts commit e91ce78ec8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-16 11:03:19 +01:00
Warchulski, Jaroslaw d358ed051f fix: remove unnecessary check in patchPrivateSurface function
Related-To: GSD-3840
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-11-16 10:04:41 +01:00
Dominik Dabek 8f06f3f50a performance: add override cacheable to gmm
add attribute to override cacheable attribute to gmm constructor

enable this override for command buffers on mtl

change command buffers back to allocation by kmd

this keeps the quicker allocation which is needed to keep enqueue times
low

Related-To: NEO-8152

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2023-11-16 10:00:45 +01:00
Grzegorz Choinski bcc9c367a2 ci: infra revision update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-11-15 17:39:46 +01:00
Kulkarni, Ashwin Kumar bf92d7824e feature(sysman): enables uuid from zesDeviceGetProperties with zesInit
Related-To: NEO-9047

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-11-15 14:07:50 +01:00
Lukasz Jobczyk e91ce78ec8 performance: optimize svm allocation tracking
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-11-15 13:58:05 +01:00
Mateusz Jablonski a0f8e8accc fix: initialize max capability values for ARL
setup max values when overriding hw info with debug key

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-15 13:44:11 +01:00
Kacper Nowak 02ef252b7d refactor: Store AIL in root device environment
Instead of storing AIL configurations in global table, store it
in root device environment.
This also prevents potential scenario with accessing deleted memory due
to symbol collision when application uses both OCL/L0 libraries.
- AIL is now stored in root device environment, and gets initialized
with other helpers
- Minor: corrected naming in ULTs

Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
Related-To: NEO-9240
2023-11-15 13:17:56 +01:00
Mateusz Jablonski 78b01e25d3 fix: correct number of returned L0 drivers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-15 10:14:11 +01:00
Dominik Dabek 961a8d91d0 refactor: move gmm constructor flags to struct
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2023-11-15 09:26:13 +01:00
Mateusz Jablonski c454e0d33e fix: handle not exisiting wsl compute helper library
https://github.com/intel/compute-runtime/issues/688
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-14 16:06:14 +01:00
Lukasz Jobczyk 9a8138725a fix: Deferred SVM allocations look up by gpu address
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-11-14 15:27:01 +01:00
Mateusz Jablonski 18b43eeb6a test: prepare tests to run with clang on Windows in release config
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-14 14:29:00 +01:00
Dunajski, Bartosz 0a99d389ce feature: new API to wait on 64b memory value
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-14 13:58:27 +01:00
Bellekallu Rajkiran 4398e4297f fix: Fix Sysman ULT failures
- Merge Ras and globalOps prelim files with non-prelim
files.

Related-To: NEO-9521

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-14 11:28:56 +01:00
Dunajski, Bartosz 55ef9516f2 feature: update waitOnMemory API to accept 64b values - part 1
Related-To: NEO-7966

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-14 10:40:24 +01:00
Filip Hazubski fee423fa15 fix: Add PVC device id 0x0B6E for Intel(R) Data Center GPU Max 1100C
Resolves: NEO-9440

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2023-11-14 08:03:51 +01:00
Artur Harasimiuk cb426e8b58 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2023-11-13 21:22:50 +01:00
ocldev 40a99cdec5 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-11-13 18:14:36 +01:00
Mateusz Jablonski 5b75b1d5a9 fix: correct getting callstack in segfault handler on Windows
get context record at the very beginning of function

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-13 13:27:00 +01:00
Grzegorz Choinski ef64de3f10 ci: infra revision update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-11-13 13:19:39 +01:00
Mateusz Jablonski cec6492cd9 fix: fix issues with ubsan in shared and ocl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-13 12:40:57 +01:00
ocldev 69b01907a9 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-11-13 09:15:22 +01:00
Bellekallu Rajkiran 362cd86f7a refactor: Add assertion check for null handle in ults
Related-To: NEO-9376

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2023-11-13 07:01:18 +01:00
Kulkarni, Ashwin Kumar 8074d75e06 feature(sysman): adds boilerplate for spec 1.8 changes
Related-To: NEO-9296

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-11-13 06:23:38 +01:00
Compute-Runtime-Validation bc3ae9a805 Revert "feature(sysman): enables uuid from zesDeviceGetProperties with zesIni...
This reverts commit 5e3cc2ca3b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-12 04:23:50 +01:00
Kumar, Shubham 03a8b76e02 feature(sysman): Xe porting of Power Module
Related-To: LOCI-4851

Signed-off-by: Kumar, Shubham <shubham.kumar@intel.com>
2023-11-12 01:53:50 +01:00
Compute-Runtime-Validation b3a7f5dccb Revert "fix: support alignments in WSL2 device and shared memory allocation"
This reverts commit ae86635307.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-11 16:25:52 +01:00
Kulkarni, Ashwin Kumar 5e3cc2ca3b feature(sysman): enables uuid from zesDeviceGetProperties with zesInit flow
Supports uuid with zesDeviceGetProperties with zesInit flow in windows

Related-To: NEO-9047

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-11-10 19:10:03 +01:00
Compute-Runtime-Validation 20cef540e0 Revert "performance: re-enable map/UnmapMemObject on CPU"
This reverts commit ef7c1f3940.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-10 16:33:12 +01:00
Lu, Wenbin ae86635307 fix: support alignments in WSL2 device and shared memory allocation
Related-To: NEO-8431

Signed-off-by: Lu, Wenbin <wenbin.lu@intel.com>
2023-11-09 19:47:11 +01:00
Katarzyna Cencelewska fbe61cf547 fix: add kmd wait on cpu when wait on paging fence when needed
add storing of throttle hint value for direct submission

Related-To: NEO-9123
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2023-11-09 19:22:15 +01:00
Dominik Dabek 6c7309b45a test: enable product helper tests mtl
mtl product helper tests were not being compiled and run

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2023-11-09 17:06:43 +01:00