Commit Graph

201 Commits

Author SHA1 Message Date
Bartosz Dunajski
76678964d6 fix: disable external CB event completion caching
Related-To: NEO-14557

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-06-26 16:33:02 +02:00
Dominik Dabek
c23a52c0c7 fix: pass timestamp flag for event pool IPC
Add passing non mapped timestamps flag when sharing event pool via IPC.

Related-To: NEO-15335, HSD-18042662217

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-06-24 15:55:16 +02:00
Aravind Gopalakrishnan
953639411a fix: Return additional nodes correctly to tag allocator
Related-To: NEO-13003

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-06-04 10:57:06 +02:00
Bartosz Dunajski
6cb07b9d1c refactor: remove not needed code
Related-To: NEO-7067

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-05-23 15:58:06 +02:00
Aravind Gopalakrishnan
4f77a581b9 refactor: Remove not necessary code
Related-To: NEO-13003

- remove additionalPacketsInUse as getPacketsUsed is sufficient
- simplify clearTimestampTagData to pass node to clear

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-05-16 02:52:26 +02:00
Aravind Gopalakrishnan
fd2a073fc6 fix: Fix additional timestamp node logic
Related-To: NEO-13003

- assign additional node only if needed
- ensure kernelEventCompletionData packet count is correct
- add ult for multi tile timestamp event
- remove unneeded function

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2025-05-14 00:09:24 +02:00
Young Jin Yoon
4763d7268f fix: Reset additional properties usage after profiling
Related-To: NEO-13003

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2025-05-10 02:04:11 +02:00
Young Jin Yoon
f844dbc88f feature: Add timestamp node to encode post sync args
Added a timestamp node to EncodePostSyncArgs to use
additional timestamp information if required,
Modified event object to use the timestamp added in
EncodePostSyncArgs.

Related-To: NEO-13003

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2025-05-02 20:55:15 +02:00
Bartosz Dunajski
c2266fc69e refactor: remove not used CB event TS logic
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-04-28 14:31:34 +02:00
Mateusz Jablonski
0dd2535674 refactor: change type of stype member in L0 Core driver extensions
use uint32_t-alias type to avoid casting out of ze_structure_type_t enum range
Related-To: NEO-12901

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-04-18 15:02:31 +02:00
Fabian Zwoliński
7ef3880793 feature: implement pool allocator for gpuTimestampDeviceBuffer
The patch applies to Level Zero.
Only allocations < 2MB will be fetched from the pool.
Allocations are shared and reused within a given device.

Additionally, I added a new debug flag to control the allocator:
EnableTimestampPoolAllocator

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-04-02 14:28:56 +02:00
Fabian Zwoliński
ecc96a9ab4 refactor: Switch EventDescriptor initialization to designated initializers
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-03-28 18:53:06 +01:00
Bartosz Dunajski
546e8fa230 feature: dont reset combined TS packets
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-21 14:52:01 +01:00
Bartosz Dunajski
85b0d1f84d fix: clear all TS packets for combined CB event
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-20 19:24:15 +01:00
Bartosz Dunajski
c637431157 feature: signal correct TS node for combined CB Event
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-20 19:24:00 +01:00
Bartosz Dunajski
20191f4ccf feature: handle combined CB event TS residency and reset
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-20 11:11:14 +01:00
Bartosz Dunajski
ee6dbfc011 feature: combined CB event profiling support
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-18 16:44:07 +01:00
Bartosz Dunajski
09298d3e6c fix: pass USM alloc to external CB event if possible
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-10 13:24:31 +01:00
Bartosz Dunajski
f887e25a79 feature: dont reset aggregated CB Event in-order state on append
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-07 16:55:18 +01:00
Bartosz Dunajski
56b1468b58 feature: increment value for aggregated CB Event support [1/n]
Related-To: NEO-13971

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-07 09:11:48 +01:00
Lukasz Jobczyk
09e23804dc refactor: Use timestamp types for events and in order nodes
Switching tagAllocation into UC causes regressions in non event
scenarios. It is no longer used as dependant type for semaphores.
Restoring previous GMM_USAGE settings for tag.
Marking events and in order nodes using only timestamp types as they
have proper GMM_USAGE settings already and can be both in smem and lmem.

Resolves: NEO-13847

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-30 12:20:38 +01:00
Compute-Runtime-Validation
ad99c8d818 Revert "feature: Submission for GlobalTimestamp as default"
This reverts commit 3d3c5ddf9f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-28 11:22:20 +01:00
Lukasz Jobczyk
82569f6a0f refactor: Switch host events and in order nodes to tagAllocation type
Motivation is to distinguish between host USM resources and internal
driver resources allocated in host memory.

Related-To: NEO-13847

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-28 09:42:19 +01:00
Compute-Runtime-Validation
676334807f Revert "refactor: Switch host events and in order nodes to tagAllocation type"
This reverts commit 8bbba3fe5c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-27 06:44:12 +01:00
Lukasz Jobczyk
8bbba3fe5c refactor: Switch host events and in order nodes to tagAllocation type
Motivation is to distinguish between host USM resources and internal
driver resources allocated in host memory.

Related-To: NEO-13847

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-01-24 20:38:56 +01:00
Bartosz Dunajski
6c6cc26b19 feature: ensure double space for timestamp event allocation
Related-To: NEO-13003

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-22 16:10:33 +01:00
Bellekallu Rajkiran
ad3110ff67 fix: Mapped time stamp retrieval with IPC
Create shared allocations to maintain reference timestamps.
Add flag to IPC pool data to check whether mapped time stamp
flag is set.

Related-To: NEO-12313

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-01-20 19:27:35 +01:00
Chandio, Bibrak Qamar
3d3c5ddf9f feature: Submission for GlobalTimestamp as default
Related-To: NEO-11908

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-01-18 01:27:24 +01:00
Compute-Runtime-Validation
e1d1decf90 Revert "fix: Mapped time stamp retrieval with IPC"
This reverts commit 118cb62b7f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-18 01:11:28 +01:00
Bellekallu Rajkiran
118cb62b7f fix: Mapped time stamp retrieval with IPC
Create shared allocations to maintain reference timestamps.
Add flag to IPC pool data to check whether mapped time stamp
flag is set.

Related-To: NEO-12313

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2025-01-17 19:00:29 +01:00
Bartosz Dunajski
7c209e1ff0 fix: typo
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-01-09 18:06:26 +01:00
Bartosz Dunajski
fea50b1b94 feature: adjust CB Event creation in BB tests
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-14 16:51:15 +01:00
Bartosz Dunajski
efc31fbe06 refactor: unify event creation functions
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-11-06 12:17:54 +01:00
Bartosz Dunajski
52e9a6e07f feature: Initial CB events IPC support
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-16 13:33:59 +02:00
Bartosz Dunajski
be3fe79bae feature: enable standalone profiling allocation for CB events 3
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-07 10:07:42 +02:00
Bartosz Dunajski
5bd012b71c fix: more sync points to clean temp timestamp nodes
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-10-02 12:45:08 +02:00
Compute-Runtime-Validation
d8fbd57847 Revert "feature: enable standalone profiling allocation for CB events 2"
This reverts commit 2b48599c38.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-01 04:16:36 +02:00
Bartosz Dunajski
2b48599c38 feature: enable standalone profiling allocation for CB events 2
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-30 14:57:44 +02:00
Compute-Runtime-Validation
a58e42ef8c Revert "feature: enable standalone profiling allocation for CB events"
This reverts commit f3b266f7b8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-09-28 07:51:22 +02:00
Bartosz Dunajski
f3b266f7b8 feature: enable standalone profiling allocation for CB events
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-27 12:59:09 +02:00
Mateusz Jablonski
340a4906a1 fix: fix compilation issues with clang18
- pass aligned memory to std::map::find and std::map::erase functions
- use EXPECT_EQ_VAL when comparing potentially misaligned memory

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-27 09:54:54 +02:00
Bartosz Dunajski
17a2b36a87 fix: allocation information from standalone profiling CB event
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-26 18:35:06 +02:00
Bartosz Dunajski
65cc393638 feature: allow for dispatching work without event pool allocation
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-23 16:34:03 +02:00
Bartosz Dunajski
08f57c0fd4 refactor: get correct profiling allocation from event
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-09-20 15:07:58 +02:00
Filip Hazubski
f4f6bc799e fix: Move Event resource cleanup do destroy function
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-06 11:39:53 +02:00
Bartosz Dunajski
3758e99cbf feature: initial support for standalone CB Events Timestamps allocator
Related-To: NEO-11925

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-07-22 10:13:55 +02:00
Jaroslaw Warchulski
0ac1be7669 refactor: pass arrayIndex to Wddm::openSharedHandle function
Related-To: NEO-11498
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2024-06-07 09:51:26 +02:00
Szymon Morek
83e8ae4a20 performance: Reuse GPU timestamp instead of KMD escape
This can be enabled only if related
debug flag will be set.

Related-To: NEO-10615

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-05-06 14:46:30 +02:00
Mateusz Jablonski
78a4a92b44 refactor: reorder members to reduce internal padding in structs
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-03-25 15:50:00 +01:00
Dunajski, Bartosz
bbe1043f08 feature: initial support for pooling in-order counter allocations
Related-To: NEO-10507

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2024-03-01 12:08:02 +01:00