Commit Graph

14636 Commits

Author SHA1 Message Date
Mateusz Hoppe 24a32b97c8 test: refactor aub tests to use AUBFixture
- AUBCommandStreamFixture derives from AUBFixture

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-22 15:25:00 +01:00
Baj, Tomasz c49a9b9787 refactor: remove ReturnSubDevicesAsApiDevices from shared code
Related-To: NEO-9437

Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2023-11-22 15:13:29 +01:00
Dunajski, Bartosz 12b4a9f71d fix: make Tag allocation type OneTimeWritable
Related-To: HSD-18035178611

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-11-22 11:24:44 +01:00
Grzegorz Choinski f7ff7981b9 ci: add ze_raytracing
Related-To: NEO-9150
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-11-22 10:26:02 +01:00
ocldev a7e7f2c775 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-11-21 17:33:25 +01:00
Mateusz Jablonski f63dd1f4f2 fix: don't fail entire initialization when at least one device is compatible
Related-To: NEO-6683

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-21 17:00:42 +01:00
Maciej Plewka 490f1d9536 test: Add missing ULT for updating residency in GA and its fragments
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-11-21 16:13:33 +01:00
Kacper Nowak 1b932bf119 fix: allow legacy device binary validation logic for Blender on DG2 and MTL
Temporarily opt-out from additional compatibility checks
on DG2 and MTL for Blender and its derivatives AOT-compiled kernels.
This prevents a long kernel recompilation.

Additionally, same behavior can be enforced for other applications
manually via NEO debug key named DoNotUseProductConfigForValidationWa.

Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
Related-To: NEO-9240
2023-11-21 16:05:17 +01:00
ocldev ee6e6cfbab build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2023-11-21 15:52:52 +01:00
Mateusz Jablonski 18c25e5aa3 build: limit symbols exported by libocloc
Related-To: NEO-9558
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-21 15:37:30 +01:00
Mateusz Hoppe 007d9c2801 test: refactor CommandEnqueueAUBFixture in aub_tests
- use AUBFixture to setup device and proper AUB csr

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-21 15:15:21 +01:00
Mateusz Jablonski 914a1f980f fix: don't return ZE_RESULT_ERROR_UNSUPPORTED_FEATURE from linking module
https://github.com/intel/compute-runtime/issues/692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-21 13:38:20 +01:00
Mateusz Hoppe 70beb8834d test: improve aub tests - do not reset csrs
- CSRs do not need to be reset to Aub/Tbx csrs, they are already created
properly
- only AUBFixture in L0 and OCL is changed

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-21 11:25:57 +01:00
Kulkarni, Ashwin Kumar 5c7875bbb9 feature(sysman): adds sysman product helper for all supported platforms
Related-To: NEO-8720

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-11-21 11:25:40 +01:00
Mateusz Jablonski 8dd80efbb1 refactor: move getting thread per eu configs to release helper
Related-To: HSD-18034098647
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-21 09:44:32 +01:00
Baj, Tomasz 97842d8eab fix: program PIPE_CONTROl with RT Flush and CS Stall prior to PIPE_SELECT
Related-To: NEO-9194

Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2023-11-20 16:43:59 +01:00
Lukasz Jobczyk 128dc4a3ad Revert "performance: disable gem close worker on non integrated devices"
This reverts commit 3cf7cbc9e9.


Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-11-20 14:49:04 +01:00
Mateusz Hoppe 3034d5834d fix: do not count samplers in numArgsStateful
- stateful samplers do not require SSH slots in bindless mode
- fixes abort when sampler used in bindless mode

Related-To: NEO-7063

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-20 13:10:35 +01:00
Mateusz Jablonski 35c1f34672 refactor: move number of threads per eu to release helper
Related-To: HSD-18034098647
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-20 12:16:33 +01:00
Brandon Yates 7f1167d5fe fix(debugger): Fix handling pf event with flat hierarchy
Related-to: GSD-6918

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-11-20 10:57:17 +01:00
Mateusz Hoppe 2b35c2374b test: refactor aub tests to create Aub/Tbx csr
- aub_tests should create AUB/TBX csr, this will prevent using empty
UltCommandStreamRecevier if CSR is not overriden in device

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-20 10:41:21 +01:00
He, Wenju 1b62e5018a test: fix re-compilation in test zello_bindless_kernel
On DG2 with usRevId = 8, zeModuleCreate re-compiled the module in
stateful mode because ocloc compiled binary's productConfig is
DG2_G10_A0, while the device's aotConfig value is DG2_G10_C0.
Provide -revision_id option to oclocInvoke to fix the issue.

Related-To: NEO-7063
Signed-off-by: He, Wenju <wenju.he@intel.com>
2023-11-20 10:27:25 +01:00
Bari, Pratik 246a143d0f feature: Xe porting of Group Engine Interface
Related-To: NEO-8629

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2023-11-20 05:24:21 +01:00
Compute-Runtime-Validation a8d404f859 Revert "refactor: linux cl_cache eviction mechanism"
This reverts commit 2aa0ae0eca.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-11-18 01:13:12 +01:00
Maciej Plewka 560b588cbe fix: Update residency fence value after ring buffer switch
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-11-17 20:46:14 +01:00
Mateusz Hoppe 32a5b955dd refactor: use cmdQ from fixture in aub test
- do not allocate more cmdQs than necessary

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-11-17 16:58:12 +01:00
Fabian Zwolinski 40fd1b0336 fix: report correct version of cl_khr_external_memory extension
Related-To: NEO-9530
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-11-17 15:49:56 +01:00
Lukasz Jobczyk 3cf7cbc9e9 performance: disable gem close worker on non integrated devices
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-11-17 15:24:03 +01:00
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