Commit Graph

66 Commits

Author SHA1 Message Date
Joshua Santosh Ranjan 9d404fab50 fix: support MetricCreateFromProgrammableExp2
Related-To: NEO-14211

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2025-03-03 10:50:57 +01:00
Mateusz Jablonski b10c6b4703 feature: add global driver dispatch as prework for DDI handles extension support
As per DDI handles extension, global ddi table pointers will be included
in every L0 handle.

This change is focused on initialization of the global objects and reuse
of them within zeGet...ProcAddrTable functions to avoid duplication
of per component ddi table definitions

Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-24 15:46:51 +01:00
Compute-Runtime-Validation 9d249580fa Revert "feature: add global driver dispatch as prework for DDI handles extens...
This reverts commit dce4ca8ce7.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-21 01:52:55 +01:00
Mateusz Jablonski dce4ca8ce7 feature: add global driver dispatch as prework for DDI handles extension support
As per DDI handles extension, global ddi table pointers will be included
in every L0 handle.

This change is focused on initialization of the global objects and reuse
of them within zeGet...ProcAddrTable functions to avoid duplication
of per component ddi table definitions

Related-To: NEO-13121, NEO-13917
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-20 17:44:36 +01:00
Joshua Santosh Ranjan f589408848 feature: update metrics for v1.11
Related-To: NEO-12597

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-11-19 02:02:46 +01:00
Mateusz Jablonski a91e438749 fix: fill ddi entries based on required version
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-10 14:04:37 +02:00
Joshua Santosh Ranjan a3e60acc8f refactor: refactor metric programmable to use open source
Related-To: NEO-10451

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2024-03-01 06:36:25 +01:00
Aravind Gopalakrishnan 99abb40a45 feature: Add extensions to expose dot product capabilities
- Add new extension property for user to query platform DP support.
- Add new blackbox and ULTs for extension.

Related-To: NEO-8786

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-10-31 21:54:39 +01:00
Compute-Runtime-Validation c9d6615231 Revert "feature: Add extensions to expose dot product capabilities"
This reverts commit e988fe66e3.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-10-31 05:06:06 +01:00
Aravind Gopalakrishnan e988fe66e3 feature: Add extensions to expose dot product capabilities
- Add new extension property for user to query platform DP support.
- Add new blackbox and ULTs for extension.

Related-To: NEO-8786

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2023-10-30 15:15:51 +01:00
Joshua Santosh Ranjan 0853cb71b7 feature: initial support for MetricGroupGetExportData
Related-To: LOCI-4356, LOCI-4357

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2023-06-27 00:09:45 +02:00
Matias Cabral 96517a08aa feature: Implement zetMetricGroupGetGlobalTimestampsExp()
Resolves: LOCI-3072

Signed-off-by: Matias Cabral <matias.a.cabral@intel.com>
2023-06-21 09:48:41 +02:00
Brandon Yates 713f166d17 feature(debugger): Implement zetDebugGetThreadRegisterSetProperties (1/n)
Current SIP implementation has constant reg descs for all threads.
Initial implementation of this API always returns same reg descs as the
non-thread version of API. When SIP exposes per-thread reg descs,
this API will be updated to expose them.

Related-to: NEO-7370
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-05-08 14:46:48 +02:00
Fabian Zwolinski e351a90f81 refactor: Rename member variables to camelCase 2/n
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-04-27 20:39:22 +02:00
Mateusz Jablonski a7830eb478 refactor l0 cmake: add CMakeLists.txt files to solution
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-17 12:09:03 +01:00
Mateusz Jablonski 2a60522e6e refactor l0 api: cleanup cmake files
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-17 09:58:52 +01:00
Mateusz Jablonski 5bf1c84ed3 Cleanup includes in sampler, image, builtin and event
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-03 10:21:59 +02:00
Mateusz Jablonski 747c2d3d83 Cleanup includes in cmdlist, cmdqueue, context, device, driver and module
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-03 02:54:41 +02:00
Kacper Nowak c9cb58ec8e Wrap L0 exported functions to prevent symbol collision
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-05-31 21:52:16 +02:00
Joshua Santosh Ranjan 82ad3d61be Metrics Refactor MetricQuery and Metric Query Pool
This patch is to refactor MetricQuery and MetricQueryPool
so that Stall sampling metric could be integrated seamlessly

Related-To: LOCI-2904

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-02-07 19:34:22 +01:00
Joshua Santosh Ranjan 93e117fa9e Metrics Refactor Metric Group
Refactor Metric Group Implementation to move OA specific
implementation to OA specific classes.
This is so that stall sampling specific Metric Group
implementation could be done seamlessly.

Related-To: LOCI-2753

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-02-04 18:28:39 +01:00
davidoli 3c5a81d27a Add ProcAddrTable for metrics exp api.
Related-To: LOCI-2607
Signed-off-by: davidoli <david.olien@intel.com>
2021-10-05 11:07:18 +02:00
Brandon Yates 52ad8b0977 Update L0 Loader to 1.4.1 (v1.2 spec)
Also make changes to debug API to mitigate API break

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2021-06-23 19:27:50 +02:00
lgotszal 3bd4bca911 Copyright header update
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).

Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Mateusz Hoppe 6356de6511 Add debug api handlers 2
Related-To: NEO-4554

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-04 12:45:40 +01:00
Mateusz Hoppe 8f87dfaf0c Add Debug API handlers
Related-To: NEO-4554


Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-01 15:26:43 +01:00
davidoli 8fdd1931a9 improve stub for zetKernelGetProfileInfo with ULT
Signed-off-by: davidoli <david.olien@intel.com>
2021-03-01 00:17:58 +01:00
Jaime Arteaga d69ffd3641 Revert "Revert e94c942ecb90cd9fa21aa5729c0c0a7ec22ba768"
This reverts commit 71805fd61a.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-25 19:16:48 +01:00
Compute-Runtime-Validation 71805fd61a Revert e94c942ecb
Have Tools and Sysman Process Address Tables fail on mismatched versions

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-02-25 10:55:56 +01:00
Mateusz Hoppe 0b2022cf85 Setup dispatch table with debug tools functions
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-18 17:11:38 +01:00
Jaime Arteaga e94c942ecb Have Tools and Sysman Process Address Tables fail on mismatched versions
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-16 20:50:44 +01:00
Mateusz Jablonski 044695f3e4 Stop self-opening ze_intel_gpu library
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-09 14:15:00 +01:00
Mateusz Jablonski 633cb3a243 Restore self-open ze_intel_gpu library on Linux
Change-Id: I3110c9b36d3cca660e87f3eae969d621dd6fe230
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-12 14:20:33 +02:00
Mateusz Jablonski e48c056b9f Simplify exporting functions in level zero
Don't self-open library

Change-Id: I94f69498b089746f0902953735321d69fdba563f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-09 16:41:42 +02:00
Matias A. Cabral 1dadf55416 Specific file for debug APIs calls
Change-Id: Ib95ee94007d414684850fa9947d22b863cbc087f
Signed-off-by: Matias A. Cabral <matias.a.cabral@intel.com>
2020-08-08 04:13:30 +02:00
Jaime Arteaga 958640c1ab Add missing definitions
Change-Id: Iff32b03e5de03241645737e21161fe8dbd324988
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-04 18:57:16 -07:00
Jaime Arteaga 902fc2f6c4 level-zero v1.0 (2/N)
Change-Id: I1419231a721fab210e166d26a264cae04d661dcd
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
Signed-off-by: macabral <matias.a.cabral@intel.com>
Signed-off-by: davidoli <david.olien@intel.com>
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
Signed-off-by: Latif, Raiyan <raiyan.latif@intel.com>
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-08-03 13:11:13 +02:00
Jaime Arteaga fd45e8e5a4 level-zero v1.0 (1/N)
Change-Id: Id3133bb1e89a4e8fe41cbdaad152dd8129f35c5d
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-07-31 18:04:42 -07:00
Jitendra Sharma b6e98c4eb4 Update Sysman engine APIs as per latest spec
Change-Id: I477435714a20f7a9c8fd4bb1ef6b852eeaabd5e2
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-31 10:37:57 +02:00
Piotr Maciejewski 403594fce0 Metric Api 1.0: context for zetMetricStreamerOpen.
Change-Id: Ib121d45cad6d84891eabe49273ea42a017c50be3
2020-07-31 10:04:46 +02:00
Piotr Maciejewski e72246a74d Metric Api 1.0 : Max value for zetMetricGroupCalculateMetricValues.
Change-Id: Ie9022630e71a4c2e6dadb76ca4ec87b38fd8dfa5
2020-07-31 08:53:27 +02:00
Vilvaraj, T J Vivek 7bc405a9b3 Update sysman standby APIs to support latest spec.
Change-Id: I7a605c538432b2117ba968f155e4665078abc94f
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-07-30 20:33:15 +02:00
Robert Krzemien 92ce66bee8 Metric Api: zetMetricQueryPoolCreateExt update
Change-Id: I0f8f804c492bccea79bfa36fd04ef87b08026703
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-07-30 20:30:04 +02:00
Jitendra Sharma 0931801830 Update sysman temperature APIs as per latest spec
Change-Id: I171c5afe33fa216097b175e335d90692abfefa24
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-30 11:20:28 +02:00
macabral 823bd1e51c Add entry point for zetKernelGetProfileInfo
Add entry point for zetKernelGetProfileInfo.
Functionality not implemented

Change-Id: I02a22ce562feae2d930f04f086649898efd645d3
Signed-off-by: macabral <matias.a.cabral@intel.com>
2020-07-29 17:24:49 -07:00
Piotr Maciejewski 51e08dd07c Metric Api 1.0: metric group properties
Change-Id: Ief58ef4cb13b2d3d2d6516c668e77bc78089ab17
2020-07-29 08:36:42 +02:00
Bill Jordan 396fcbb941 Move FabricPort implementation to L0 Spec version 1.0.
Change-Id: I7b123c2813beab1175965eb8272c96cdb7f7be27
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-07-28 22:39:59 +02:00
Robert Krzemien 7dc8bbc160 Metric Api: Wait events for zetCommandListAppendMetricQueryEnd
Change-Id: I6fdf470035c1fc1f44d66778ec35ec47d0521e4d
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-07-28 19:14:05 +02:00
Jitendra Sharma 5b6b1e7dd0 Adding dummy entries for all latest sysman APIs
Create dummy entry for all Sysman APIs so that the L0 Loader
does not fail during init.

Change-Id: I27254272a7e9297aa8df01cb785f8f91f822fa33
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-07-28 17:00:31 +02:00
Robert Krzemien 46c7fac0cc Metric Api: zetContextActivateMetricGroups update
Change-Id: Ia3f38e8bfc6176063de36685e16e7a4a21f940c7
Signed-off-by: Robert Krzemien <robert.krzemien@intel.com>
2020-07-28 16:59:53 +02:00