Daniel Chabrowski
c303c218be
Add missing pragma once in header files
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-06-07 16:19:11 +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
Zbigniew Zdanowicz
9e575532b3
Extend command list kernel interface
...
Related-To: NEO-6959
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-30 11:56:24 +02:00
Neil R Spruit
8c894fad5e
Change Packed binary Returned in L0 GetNative to be the Target Device binary
...
- Packed Binary Returned to a customer in L0 GetNative is now
the target device's native binary.
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2022-05-25 21:27:45 +02:00
Artur Harasimiuk
3f04769f07
style: configure readability-identifier-naming.FunctionCase
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 20:55:56 +02:00
Jim Snow
0a926c7d12
Add Windows image memory export functionality
...
Adds zeImageGetAllocPropertiesExt function, implementation code shared
shared with zeMemGetAllocProperties moved into common helper function.
Related-To: LOCI-2665
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2022-03-26 05:11:35 +01:00
Zbigniew Zdanowicz
e4d8dfcdd9
Implement fence creation flag
...
Related-To: NEO-6242
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-03-25 12:04:43 +01:00
Young Jin Yoon
32ccf30c61
Add support for pci_ext_properties_t
...
Added API definition in ze_device.cpp, and added function declaration of
getPciProperties() in device.h and device_imp.cpp
Initially returns -1 for all values of ze_pci_speed_ext_t for now, simply
because we do not have function to retrieve the information of the PCI
speed.
Related-To: LOCI-2669
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2022-01-05 10:43:54 +01:00
Jaime Arteaga
3b497270c8
Add support for memory free policies
...
Add support for ZE_DRIVER_MEMORY_FREE_POLICY_EXT_FLAG_BLOCKING_FREE
added in v1.3.
Related-To: LOCI-2672
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-12-28 08:27:50 +01:00
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
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
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
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
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
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
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
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
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
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
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
Jaime Arteaga
d97db3d7dc
Correct getCacheProperties interface
...
Change-Id: I6e3cec56e78e7fad73f3afe5921ef156c308dd1d
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-06 01:36:05 +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
d0d587e20a
Add missing DDI entries
...
Change-Id: I46f970e6f007dc490a1bb1e4d3eac1f91c5bd3e8
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-04 16:38:01 -07:00
Jaime Arteaga
5baba5e1ca
Rename zeDeviceGetModuleProperties
...
Change-Id: I526038b6484b41ab69d2aeb9a26623fc5c65f5b8
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-04 21:01:21 +02:00