Commit Graph

103 Commits

Author SHA1 Message Date
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
Jitendra Sharma 6cce17e9a0 Add boiler plate support for sysman event API
Change-Id: I046620abb9943b2283215a5d2d85d71dcb8b98be
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-10-21 10:20:00 +05:30
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
Daniel Enriquez f0907361ff Adding Frequency Support for Windows in Level 0 Sysman
Change-Id: I8dbf67b0a6f88379a3da304e01a8f102e2027dd1
2020-09-19 08:30:13 +02:00
Vilvaraj, T J Vivek 933bb45dcc Boilerplate Code for Sysman Firmware API
Change-Id: I8299bdf4b388bb05de7640240d033ba680e5ca14
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2020-09-08 10:47:17 +02:00
Daniel Enriquez f891708e3f Adding support for Fan component to Sysman.
Change-Id: I0b99bcd542396471b6eab3f9b0b215bedcde7640
2020-08-28 23:55:23 +02:00
Pawel Cieslak fb821f21f5 Cmake format script
Related-To: NEO-1157

Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-08-19 16:36:30 +02:00
Kamil Diedrich 0105960e13 Add appendQueryKernelTimestamps API
Change-Id: I44b1d34a822b74a5c3404da62962ec324079744b
2020-08-17 15:52:07 +02:00
Daniel Enriquez 2fa30d7d6c Update memory component to latest spec.
Change-Id: I766a3b87d240d26118cf72ea0717bc504784e764
2020-08-12 11:47:04 +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
davidoli 39c8fe6762 Update tracing to complete 1.0 API
Change-Id: Ib033df168cd6620b8e910eeb9d4661fef83560f6
Signed-off-by: davidoli <david.olien@intel.com>
2020-08-07 15:11:46 -07:00
Vilvaraj, T J Vivek d49a7293e2 update Device APIs to lastest Spec.
Change-Id: Icda7d3315e0ce51afe4f3642d368197c78fc097f
2020-08-07 16:12:27 +02:00
Maciej Dziuban b2b90c3daf level-zero v1.0 (3/N)
Implement residency functions

Change-Id: I69179899f2a5fd627d10b976477a6736c600b430
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-08-07 13:49:02 +02:00
davidoli 4ef49cacde Fix spelling of zeDriverGetIPCProperties tracing wrapper
Change-Id: I30ba8736979466aaf5bd32a97f26c2fb1423fee2
Signed-off-by: davidoli <david.olien@intel.com>
2020-08-06 19:45:11 -07:00
mraghuwa 220c575850 Update Ras Api's as per latest spec
Change-Id: I29b77eee0832fcca6d989f9ef41b01b17232a91e
Signed-off-by: mraghuwa <mayank.raghuwanshi@intel.com>
2020-08-06 08:31:03 +02:00