Commit Graph

118 Commits

Author SHA1 Message Date
Filip Hazubski
de1e4e0074 Add adjustMaxWorkGroupCount helper
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-08-27 15:39:48 +02:00
Jaime Arteaga
2fab8ccf05 Add support for zeKernelSchedulingHintExp (2)
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-08-20 04:35:08 +02:00
Vinod Tipparaju
37670aeb91 Add support for new thread arbitration policies via zeKernelSchedulingHintExp
Related-To: LOCI-2319

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-08-09 21:07:08 +02:00
Aravind Gopalakrishnan
fa2ddedf42 Add implementation for zeEventQueryTimestampExp
Related-To: LOCI-2318

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-08-06 11:43:25 +02:00
Kamil Diedrich
a3930168d6 Extend image functionality
- add imageView extension
- add import win32 NT handle
- add black box test with imageView usage example


Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-07-05 11:40:57 +02:00
Milczarek, Slawomir
55374d419f Cache reservation amendements
Related-To: NEO-4969

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-07-02 16:16:39 +02:00
Kamil Diedrich
18b06eb345 Revert "Extend image functionality"
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-06-29 23:16:19 +02:00
Milczarek, Slawomir
e4eb7538fa L0 extension for cache reservation
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2021-06-29 13:35:23 +02:00
Kamil Diedrich
af55117fa0 Extend image functionality
- add imageView extension
- add import win32 NT handle
- add black box test with imageView usage example


Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-06-28 15:34:06 +02:00
Compute-Runtime-Validation
081b780270 Revert "Extend image functionality"
This reverts commit 6035607718.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-06-27 08:29:12 +02:00
Kamil Diedrich
6035607718 Extend image functionality
- add imageView extension
- add import win32 NT handle
- add black box test with imageView usage example


Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-06-25 14:20:16 +02:00
Kamil Diedrich
6aa40191e2 Add zeImageGetMemoryPropertiesExp implementation
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-06-24 13:36:40 +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
Igor Venevtsev
3f068eeca2 L0: rename EXTENSIONS to PUBLIC_EXTENTIONS in CmakeLists.txt
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-06-07 21:49:22 +02:00
Kanhaiya Singh
ad9aaa260a Updated pDdiTable for EventListenEx
Signed-off-by: Kanhaiya Singh <kanhaiya.singh@intel.com>
2021-05-27 11:48:30 +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
Vilvaraj, T J Vivek
24a745f4bd sysman:add support for Diagnostis API.
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2021-05-04 20:37:38 +02:00
Mayank Raghuwanshi
61c08c052f Implement zesDriverEventListenEx
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-04-17 04:25:35 +02:00
Jaime Arteaga
521cc56096 Add support for zeContextCreateEx
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-19 06:14:53 +01:00
Vilvaraj, T J Vivek
457d05420d sysman: add diagnostics boilerplate code
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2021-03-19 05:33:20 +01:00
Mateusz Hoppe
0897f997d6 Fix zeModuleGetGlobalPointer()
- return size correctly
- check if pSize and pPtr is != nullptr

Resolves: NEO-5641

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-18 17:29:41 +01:00
Aravind Gopalakrishnan
7764ac44ae Implement support for zeDeviceGetGlobalTimestamps
Related-To: LOCI-1933

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-03-17 20:29:07 +01:00
Jaime Arteaga
c8631f5bff Add zeDriverGetExtensionFunctionAddress to core API
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-15 11:49:22 +01:00
Jaime Arteaga
65acd98937 Add zeKernelSetGlobalOffsetExp to ze_core_loader
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-13 01:45:16 +01:00
Brandon Yates
4d5166b945 Update manifest to use L0 loader 1.2.3
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2021-03-09 20:30:58 +01:00
Compute-Runtime-Validation
cac1b5465b Revert "Updating L0 loader to 1.2.3 in manifest"
This reverts commit 76666662c4.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-03-04 14:16:39 +01: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
Brandon Yates
76666662c4 Updating L0 loader to 1.2.3 in manifest
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2021-03-03 02:13:41 +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
Jaime Arteaga
62c61c67b4 Have Process Address Tables in the driver fail on mismatched versions
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-15 16:39:19 +01:00
Vilvaraj, T J Vivek
b41a8d29dd Sysman: add firmware flash API (#1368)
* Sysman: add firmware flash API

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>

* Sysman: fixed windows implementation of firmware flash API.

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>

* add unit tests to test flashing.

Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>

* sysman: add firmware flashing support to zello sysman

Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>

* sysman: added progress update function to firmware flash API

Signed-off-by: T J Vivek Vilvaraj <t.j.vivek.vilvaraj@intel.com>
2021-01-22 19:55:40 +01:00
Mayank Raghuwanshi
5cd5705239 Implement clear option for zesRasGetState
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2021-01-21 15:00:13 +01:00
Jitendra Sharma
73c7ebdfb8 Add support for performance factor Sysman API
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-01-06 12:03:36 +01:00
Vinod Tipparaju
bbb0e9d095 Fix to Append signal/ wait events for appendMemoryFill & appendMemoryCopyRegion
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-12-29 07:28:50 +01:00
Jim Snow
37cd49330c Implement ZE_CACHE_CONFIG_FLAG_LARGE_DATA for zeKernelSetCacheConfig
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2020-12-16 07:00:13 +01:00
Jaime Arteaga
86e25638d3 Set SysMan DDI to null if SysMan is not enabled
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-09 12:41:22 +01:00
Jaime Arteaga
beb3c5ed05 Add support for global work offset extension in L0
Add experimental extension to set global work offest in L0.
Current L0 specification does not have interface to export
experimental function symbols, so for now, applications need
to find the symbol like with dlsym on Linux.

A blackbox test showing functionality is also added.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-09 07:33:40 +01:00
Young Jin Yoon
3e69b2084c Add support for zeModuleGetProperties
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2020-11-21 23:14:30 +01:00
Mateusz Hoppe
0f42ef1ed7 Differentiate between users ISA and internal ISA allocation
Related-To: NEO-5240

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-16 13:16:30 +01:00
Jaime Arteaga
b3700370a6 Remove dead-code functions for cache intermediate/last-level config
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-14 04:23:36 +01:00
Jaime Arteaga
3f6d1f5ee9 Correctly pass descriptors to L0 shared alloc function
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-11 07:04:54 +01:00
Jaime Arteaga
9473abc86a Correctly pass descriptors to L0 device and host alloc functions
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-10 21:31:07 +01:00
Jaime Arteaga
4c5ff75371 Add wait events to appendMemoryCopy
appendMemoryCopy has wait events since v1.0, so add the corresponding
support. Other copy operations were missing passing this
in the entry points, but already had support internally.

Also, rename some variables for consistency.

Also, remove signal event from appendMemoryCopyBlit since it is not
used.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-09 21:28:26 +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
Jaime Arteaga
6ab9e9f1e0 Initial support for getExternalMemoryProperties and getExtensionProperties
Change-Id: Ib7c75dcae10bfb34dd2f703e481ecdd768370772
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-03 16:05:25 -08:00