Commit Graph

18245 Commits

Author SHA1 Message Date
c3c2028ed6 fix: report correct EU counts for multi-slice platforms
Related-To: GSD-10625
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-17 15:01:00 +01:00
01e59c1b78 ci: L0 loader update
Signed-off-by: ocldev <ocldev@intel.com>
2025-01-17 12:24:31 +01:00
ac78c07899 refactor: unify duplicated code for staging images
Pass command type instead of maintaining
two methods for reads and writes

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-01-17 09:52:35 +01:00
c1ed0334d6 build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-01-17 06:01:40 +01:00
c8cbed8e9b Revert "feature: enable C++20"
This reverts commit 137e004767.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-17 02:48:11 +01:00
d62122a656 fix: exceptions to TBX faultable types
This commit addresses a bug in the previous implementation where almost all once
writable types, except `gpuTimestampBuffers`, were incorrectly enabled for TBX
faultable checks. The fix ensures that only the subset of once writable
types that are also lockable are considered TBX faultable, using the lockable
check to avoid manual exceptions and re-inventing the wheel.

Changes:

- Updated `isAllocTbxFaultable` method to check if the allocation type is
lockable in addition to being once writable.
- Refactored unit tests to include separate checks for lockable and non-lockable
allocation types.

Performance optimization:

- Removed unnecessary memory data erasure in `handlePageFault` to avoid constant
erase/insert operations, leveraging the O(1) search time of unordered maps.

Related-To: NEO-12319
Signed-off-by: Jack Myers <jack.myers@intel.com>
2025-01-17 00:52:49 +01:00
3d247d75ec feature: disable page fault handler on migration
Disabled RegisterPageFaultHandlerOnMigration by default

Related-To: NEO-11563
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2025-01-16 23:42:09 +01:00
78beae645c feature: Add zeKernelGetBinaryExp API as per specification V1.11
Resolves: NEO-12894

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-01-16 23:22:12 +01:00
118c5afc47 test: unify scratch pages product helper tests
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-01-16 20:19:47 +01:00
137e004767 feature: enable C++20
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 20:10:15 +01:00
0370c5afa2 fix: Use unique_ptr for managing externalSemaphoreController
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-01-16 19:47:47 +01:00
962836a07b refactor: use defaults for BaseTag attributes
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 18:24:39 +01:00
06ea5944bd fix: Retrieve tileIndex using gt_id
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2025-01-16 17:45:03 +01:00
4dd1c80362 refactor: use enum class instead of enum for DeviceHierarchyMode
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-16 15:49:44 +01:00
7d8e08f00b test: adjust code to compile with c++20 2/n
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 15:24:25 +01:00
d263fda1ad feature: patch 64bit addresses for bindless images in heapless OCL
Related-To: NEO-12741
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 15:24:02 +01:00
d4256475fb feature: enable WMTP on BMG
Related-To: NEO-12814
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-16 14:56:12 +01:00
218122c46b test: make sure scratch pages are disabled on pvc+
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-01-16 14:23:24 +01:00
310c47cad3 fix: add missing CB event cache flush
Related-To: GSD-10565

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-16 14:14:51 +01:00
fde9a0bf57 build: igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2025-01-16 13:00:51 +01:00
3e29ca9057 fix: explicitly disable scratch pages on xekmd platforms
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-01-16 12:09:27 +01:00
0278d2e652 test: adjust code to compile with c++20
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 12:04:50 +01:00
a9a2f7577f performance: enable staging write for cl buffers
Related-To: NEO-13529

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-01-16 12:04:28 +01:00
c5ba3dd575 test: remove not needed volatile
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 11:36:45 +01:00
945c4a3ccc Revert "feature: Enable page faults for xe driver with debugger"
This reverts commit 4300f0bdbe.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-16 11:16:14 +01:00
ce9866af55 test: add missing include
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 10:45:42 +01:00
0b2ac4d331 feature: Tbx faults for all once writable types
Patch #34223 introduced the TbxPageFaultManager for handling
uploads/downloads of host buffers to the Tbx server, ensuring
host memory is kept consistent between the host and device,
even after multiple alternating writes from the host and gpu.

This patch enable fault handling for all `isAubOnceWritable`
types.

Minor exception for gpuTimestampBuffers as enabling this type
seems to break things in real-world use cases outside of ULTs.

Related-To: NEO-12319
Signed-off-by: Jack Myers <jack.myers@intel.com>
2025-01-16 01:43:19 +01:00
99a7b5a4fb refactor: remove not needed volatile
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 00:43:10 +01:00
4cdd5671f7 fix: return correct subDevice in DeviceImp::getActiveDevice()
Resolves: NEO-13759
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-16 00:10:58 +01:00
a17745532c performance: Move preemption allocation init to the first submission
Related-To: NEO-12323
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-01-15 20:22:50 +01:00
92ea7ee7a3 fix: remove potential string's internal buffer overlaping if resized
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-15 19:40:56 +01:00
8257c0870d test: simplify code
adjust code to compile with c++20

Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-15 17:42:24 +01:00
2dd9940f60 Revert "fix: count active modules for enabling per-dispatch private memory"
This reverts commit a483b361f9.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-15 15:03:37 +01:00
621ceaf9ec feature: add new properties and getters for kernel slm arguments
- add new vector to read slm offset
- add getter to read new vector
- add getter to read slm argument alignment
- add getter to read slm sizes vector

Related-To: NEO-12933

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2025-01-15 14:23:04 +01:00
27dc4a2437 build: update level_zero revision to v1.20.1
Signed-off-by: ocldev <ocldev@intel.com>
2025-01-15 14:22:49 +01:00
36620a2044 ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2025-01-15 13:12:12 +01:00
0b4fe9a0df performance: add staging transfers for cl buffers
Related-To: NEO-13529

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-01-15 12:24:43 +01:00
4270e3c356 feature: Add dynamic stack management on Xe3
Related-To: NEO-13147

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2025-01-15 10:12:48 +01:00
af031ee0e3 Revert "performance: align structures for 64-bit platforms"
This reverts commit 9f07f56f7f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-15 09:02:01 +01:00
ca72dff1ab feature: Add missing pipelined EU thread arbitration on Xe3
Related-To: NEO-13682

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2025-01-15 08:24:43 +01:00
f25193c44d build: dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2025-01-15 06:03:20 +01:00
242a31a024 Revert "refactor: remove excess cast to C-string and add const reference"
This reverts commit 34ee40393f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-15 02:43:40 +01:00
6a7bee67e9 refactor: unify device hierarchy mode
Related-To: GSD-9560
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-01-14 21:08:44 +01:00
84b8622c16 refactor: Move Ext Semaphore Controller to Driver Handle
Related-To: NEO-11488

Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2025-01-14 20:58:35 +01:00
cf8551ca06 fix: Dont process vmBind if clientHandle is Invalid
Related-To: NEO-11104
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2025-01-14 20:42:41 +01:00
e95c7aac92 fix: set memoryBanks correctly for single memory bank
Resolves: HSD-18040585222

Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-01-14 20:38:10 +01:00
7903086db3 refactor: Update thread scheduling mode naming
Renames the EU_THREAD_SCHEDULING_MODE_OVERRIDE member of
STATE_COMPUTE_MODE structure to EU_THREAD_SCHEDULING_MODE.

This modification is introduced in order to align with the latest specification.

Related-To: NEO-13147

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2025-01-14 19:00:46 +01:00
910816010f fix: Unify command parse for MEM_SET
Related-To: NEO-13147

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2025-01-14 18:55:55 +01:00
e742aa065c ci: infra revision update
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2025-01-14 18:16:37 +01:00
16b0ea6897 feature: Handle page fault events for xe debugger
Related-to: NEO-10134

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2025-01-14 18:16:05 +01:00