Kamil Kopryk
141483c342
feature: use heapless builtins in L0 if supported
...
Related-To: NEO-7621
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-02-13 16:14:27 +01:00
Lukasz Jobczyk
781f851519
fix: Add missing wait for init builtin thread
...
Resolves: NEO-10314
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-02-08 16:27:46 +01:00
Lukasz Jobczyk
7bd33af394
fix: use std::thread detach instead of astd::async for init builtin async
...
Resolves: GSD-7023
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-01-22 13:58:29 +01:00
Mateusz Jablonski
dd1b9d6abc
refactor: correct naming of enum class constants 8/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-19 08:18:18 +01:00
Mateusz Jablonski
cdcd834712
refactor: correct naming of builtin types
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-01 14:08:21 +01:00
Mateusz Jablonski
c9664e6bad
refactor: rename global debug manager to debugManager
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-30 13:00:59 +01:00
Kacper Nowak
04291be379
refactor: Enhance L0 builtins ULTs
...
- Removed redundant code
- Corrected naming
- Improved code coverage
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-07-12 16:52:19 +02:00
Mateusz Jablonski
0da5e6f277
refactor l0: cleanup cmake file level_zero/core/source/CMakeLists.txt
...
Related-To: NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-03-16 12:38:15 +01:00
Warchulski, Jaroslaw
b485c025d0
Cleanup includes 57
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-02-17 11:19:59 +01:00
Lukasz Jobczyk
e6181d7933
Reuse builtin module and init selected builtin on device init
...
-start async thread at device initialization which initializes selected
builtins and exits
-share module across builtins using same binary
Resolves: NEO-7644
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-02-13 10:55:57 +01:00
Compute-Runtime-Validation
526297fa8f
Revert "Reuse builtin module and init selected builtin on device init"
...
This reverts commit 3be46ef645
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-02-09 15:40:38 +01:00
Lukasz Jobczyk
3be46ef645
Reuse builtin module and init selected builtin on device init
...
-start async thread at device initialization which initializes selected
builtins and exits
-share module across builtins using same binary
Resolves: NEO-7644
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-02-08 17:04:42 +01:00
Lukasz Jobczyk
43ff955199
Revert "Reuse builtin module and init selected builtin on device init"
...
This reverts commit bdc3499585b954c674b24c5bf21aeefd68f6fee2.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-02-03 13:53:59 +01:00
Lukasz Jobczyk
b2c26dde65
Check if storage registry exists
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-02-02 11:54:27 +01:00
Lukasz Jobczyk
d4fe981fa9
Reuse builtin module and init selected builtin on device init
...
-start async thread at device initialization which initializes selected
builtins and exits
-share module across builtins using same binary
Resolves: NEO-7644
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-01-31 09:57:31 +01:00
Compute-Runtime-Validation
c726d3b3fe
Revert "Reuse builtin module and init selected builtin on device init"
...
This reverts commit 2845414845
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-01-31 05:50:36 +01:00
Lukasz Jobczyk
2845414845
Reuse builtin module and init selected builtin on device init
...
-start async thread at device initialization which initializes selected
builtins and exits
-share module across builtins using same binary
Resolves: NEO-7644
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-01-30 20:40:18 +01:00
Warchulski, Jaroslaw
3d59dce80c
Cleanup includes 27
...
Cleaned up files:
opencl/source/command_queue/command_queue.h
shared/source/built_ins/registry/built_ins_registry.h
shared/source/kernel/kernel_descriptor.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-11 16:10:28 +01:00
Compute-Runtime-Validation
429755e0f4
Revert "Check for context in appendMemoryCopy"
...
This reverts commit 32bab85f7e
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-12-21 05:38:37 +01:00
Jaime Arteaga
32bab85f7e
Check for context in appendMemoryCopy
...
Confirm the allocations used in an appendMemoryCopy operation
belong to the same context as the list.
Related-To: LOCI-1996
Resolves: NEO-6162
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-12-20 00:13:36 +01:00
Szymon Morek
403b49e987
Append additional fill kernel for left leftover
...
Related-To: NEO-7287
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-09-05 18:08:26 +02:00
Patryk Wrobel
90ba50bf52
Warn when RAII lock returned from function is discarded
...
Discarding RAII lock returned from function almost always
is a bug. This change introduces usage of [[no_discard]]
attribute from C++17 to prevent such misues.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com>
2022-09-01 16:53:03 +02:00
Szymon Morek
25f4b06258
Use uint4 type instead of char in builtin kernel
...
Related-To: NEO-7287
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-09-01 14:58:56 +02:00
Compute-Runtime-Validation
84f19a1b93
Revert "Use uint4 type instead of char in builtin kernel"
...
This reverts commit a39bc7e7b3
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-09-01 05:35:54 +02:00
Szymon Morek
a39bc7e7b3
Use uint4 type instead of char in builtin kernel
...
Related-To: NEO-7287
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-08-31 16:04:22 +02: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
John Falkowski
0666ed35ba
Make unified builtin table including stateless kernels
...
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2022-02-22 05:30:38 +01:00
Kamil Kopryk
de9112d942
Simplify code - remove not needed static cast
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-01-18 14:29:06 +01:00
Mateusz Jablonski
896e01c1cb
Require exact revision when getting binary builtin for PVC
...
this change also implements logic for recompilation of builtin from spv in L0
in case when binary resource is not available
Related-To: NEO-6170
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-22 19:56:54 +01:00
Bartosz Dunajski
1f2aa82c5b
Remove UNUSED_VARIABLE macro
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-10-22 18:56:33 +02:00
Zbigniew Zdanowicz
8fe2b269f0
Correct cross library dependencies
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-10-22 18:30:35 +02:00
Filip Hazubski
28b37aea72
Correct handling unique_ptr in functions
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-10-21 18:17:14 +02:00
Mateusz Jablonski
f5c20b924c
Revert "Dont look for builtin with default revision"
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-18 13:06:16 +02:00
Mateusz Jablonski
439b8c51d9
Dont look for builtin with default revision
...
when revision doesnt match revision in registered resources
then use source or intermediate resource
Resolves: NEO-6170
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-15 13:55:40 +02:00
John Falkowski
48f4b34dee
Mods for Level Zero Stateless Builtin Kernels
...
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2021-06-21 17:16:02 +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
315146a43d
Defer builtin initialization until first use
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-15 13:05:43 +01:00
Jaime Arteaga
5a7f844e46
Revert "Defer builtin initialization until first use"
...
This reverts commit df84232ef2
.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-04 18:21:12 +01:00
Jaime Arteaga
df84232ef2
Defer builtin initialization until first use
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-01 10:29:20 +01:00
Jaime Arteaga
479d01c118
Improve zeCommandListAppendMemoryFill Performance
...
Improve L0 fill operations by copying the pattern using
two kernels: one that copies four bytes at a time, and one
that takes care of the remainder. Additionally, a new
allocation is created to fill up at least a cacheline.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-01-08 07:24:55 +01:00
Kacper Nowak
4804eca86d
Refactoring Level Zero ULTs in order to use standalone spirv builtins
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2020-12-08 09:19:05 +01:00
Filip Hazubski
6c4b1f951c
Do not force cl_khr_3d_image_writes extension when compiling kernels
...
Update usage of SUPPORTED_IMAGES flag and do not use images when disabled.
Use SUPPORTED_2_0 only on fully OCL 2.1 conformant platforms.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-27 17:20:46 +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
Konstanty Misiak
9aa1eadd11
Recompile L0 builtins from intermediates when debug flag is enabled
...
Related-To: NEO-5020
Change-Id: I7c92ad6ff5bdbe19a25503385fe270e7d5dd330e
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-09-10 16:02:25 +02:00
Kamil Diedrich
0105960e13
Add appendQueryKernelTimestamps API
...
Change-Id: I44b1d34a822b74a5c3404da62962ec324079744b
2020-08-17 15:52:07 +02:00
Vinod Tipparaju
e459f3a33f
Lock BuiltIn to make appendMemory calls thread safe
...
Change-Id: I0a35f13cd29011ae048e7f4467856c61bf186c4f
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2020-08-11 09:50:44 +02:00
Jaime Arteaga
3471b01f05
Revert "Lock BuiltIn to make appendMemory calls thread safe"
...
This reverts commit 6a9f5d9bede690931c498a9b2db307d92dc196ab.
Change-Id: Ib1c7a66def4b16a0cf8a079497cfa34c1b2b3631
2020-08-05 16:03:50 -07:00
Vinod Tipparaju
7d9d4e743a
Lock BuiltIn to make appendMemory calls thread safe
...
Change-Id: I14441595d87ef5b0d31cfd96019d3234d4cf29dd
2020-08-05 18:48:38 +05:30
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