Commit Graph

552 Commits

Author SHA1 Message Date
Bartosz Dunajski
424b2143da L0::Event to support dynamic size
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-18 13:59:58 +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
Maciej Dziuban
f5b253207d Fix osContext initialization for L0 immediate command lists
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-05-17 15:05:05 +02:00
Kamil Kopryk
14bc9fb0bf Ignore media block 2d patch token when media block support is disabled
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-5820
2021-05-17 11:38:46 +02:00
Mateusz Hoppe
1414247ed4 Register ELF before transferring ISA to Allocation
Related-To: NEO-5857

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-05-14 13:04:54 +02:00
Young Jin Yoon
bb53de1e4e Fix errors for incorrect work group size
Related-To: LOCI-2084
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2021-05-14 12:05:48 +02:00
Zbigniew Zdanowicz
129f4c6045 Enable manager of imported host pointers
Related-To: NEO-5126

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-05-13 18:45:07 +02:00
Zbigniew Zdanowicz
fa683b5e81 Refactor manager of imported host pointers
Related-To: NEO-5126

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-05-13 12:56:06 +02:00
Bartosz Dunajski
015595a3f8 Remove root device index duplicates from Event pool allocation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-12 10:33:58 +02:00
Bartosz Dunajski
cffac84a3b Simplify creating EventPool allocation
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-11 18:26:54 +02:00
Dominik Dabek
5cbb822c3c Fix ADLS on windowsx86_64
Related-To: NEO-5807

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-11 15:57:13 +02:00
Mateusz Hoppe
8fd65cc6bf Do not append debugKernelEnable internal option
- module compilation does not need it when L0 debugger used

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-05-11 08:20:22 +02:00
Compute-Runtime-Validation
dd6653892e Revert "Move SVM allocs memory manager to L0::Context (1/N)"
This reverts commit 9080e2ee5b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-05-09 12:37:44 +02:00
Jaime Arteaga
9080e2ee5b Move SVM allocs memory manager to L0::Context (1/N)
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-05-07 22:17:10 +02:00
Dominik Dabek
47256642c3 Enable Level Zero on ADLS, RKL
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-05-07 22:08:50 +02:00
Jaime Arteaga
5f0e4f8e2a Revert "Move memory managers to L0::Context (1/N)"
This reverts commit 9ce887b8b53a787a7e0a0d808c96e295655ae57b.


Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-05-06 04:56:09 +02:00
Jaime Arteaga
1f1fbb193b Move memory managers to L0::Context (1/N)
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-05-05 23:01:42 +02:00
Bartosz Dunajski
9458638718 Affinity mask helper
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-05-05 13:59:12 +02:00
Jaime Arteaga
d66f855e22 Correctly report ZE_DEVICE_FP_FLAG_ROUNDED_DIVIDE_SQRT if available
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-05-05 00:28:51 +02:00
Young Jin Yoon
6f555d6258 Use L3_CONTROL only for DG1
Related-To: LOCI-1877
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2021-05-04 10:42:06 +02:00
Mateusz Hoppe
a79f67958e Report max subslices count in L0 device properties
Related-To: LOCI-2080

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-05-04 10:17:21 +02:00
Mateusz Hoppe
352254416f Use all registered engines when initializing SBA tracking buffers
Related-To: NEO-5803

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-29 17:29:59 +02:00
Filip Hazubski
785be7ffd9 Update programFrontEnd function
Use properties required by command list when VFE_STATE is programmed by
command queue.

Related-To: NEO-4940, NEO-4574

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-04-29 16:37:23 +02:00
Filip Hazubski
3a2281bf77 Program additional VFE_STATE instructions when needed
Additonal VFE_STATEs may be programmed when appending kernels to a
command list and when the command list is executed.

Related-To: NEO-4940, NEO-4574

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-04-28 16:07:55 +02:00
Zbigniew Zdanowicz
edc0a93927 Add preemption synchronization flag to command queue
Related-To: NEO-5778

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-28 13:14:18 +02:00
Zbigniew Zdanowicz
c0b0013bfc Fix offset calculations for imported host pointer allocations
Related-To: NEO-5126

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-28 10:08:05 +02:00
Jaime Arteaga
b48192bcfe Use uint64_t for sizes to support large sizes
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-27 20:41:41 +02:00
Krystian Chmielewski
ef71915c71 Remove KernelArgInfo and use KernelDescriptor's args instead
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-04-23 15:12:09 +02:00
Zbigniew Zdanowicz
902cce597a Add new functionality to load SIP from file
Related-To: NEO-5718

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-23 13:48:26 +02:00
Daria Hinz
53104e0830 Add a parameter to the encode function
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-04-22 12:07:16 +02:00
Jaime Arteaga
ef5174f3fc Eliminate wrappers in L0::Context class for driverHandle calls
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-20 23:50:23 +02:00
Jaime Arteaga
5259428647 Add UNRECOVERABLE_IF to getPeerAllocation()
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-20 15:18:49 +02:00
Jaime Arteaga
128cd8a31c Add support for non-IPC P2P access to L0
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-20 01:05:40 +02:00
Jaime Arteaga
b95198bac5 Add relaxed memory support to L0 host allocations
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-20 00:15:38 +02:00
Jitendra Sharma
8a6247d82d Implement ze_device_memory_properties_t.maxClockRate
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-19 22:36:26 +02:00
Vinod Tipparaju
b5d2d7fc52 Use flushTask() for non-kernel opertaions. Enabled for following APIs
appendSignalEvent, appendWaitOnEvent, appendResetEvent and appendBarrier
except for TimeStamp events.

Related-To: LOCI-1987

Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com>
2021-04-19 22:24:47 +02:00
Mateusz Hoppe
ffc310858a Add DebugVariable to control opt-disable when debugger is used
Resolves: NEO-5760

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-19 16:41:14 +02:00
Maciej Dziuban
5318ff1872 Defer OsContext initialization
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-04-19 11:54:34 +02:00
Daria Hinz
b18b4e8ad7 Event: Extending the number of timestamp packets
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2021-04-17 20:13:15 +02:00
Compute-Runtime-Validation
b5545c2a50 Revert "Implement ze_device_memory_properties_t.maxClockRate"
This reverts commit c3b63bd8a2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-04-17 10:21:25 +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
ebb1474210 Isolate shared allocations with respect to context
Related-To: LOCI-1996

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-17 03:38:46 +02:00
Jitendra Sharma
c3b63bd8a2 Implement ze_device_memory_properties_t.maxClockRate
Current implementation of ze_device_memory_properties_t.maxClockRate
is providing max dynamic frequency of GPU not the max memory frequency.
This change fixes that issue.

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-04-16 09:12:29 +02:00
Jaime Arteaga
c540af8e5f Fix multidevice support for events
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-15 22:12:07 +02:00
Maciej Plewka
a51ee31500 Add method for unknown kernel arg
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-04-15 16:39:39 +02:00
Filip Hazubski
77b39ea3df Introduce StreamProperties
Split programVfeState function.

Related-To: NEO-4940, NEO-4574


Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-04-15 16:00:44 +02:00
Zbigniew Zdanowicz
3909bd0fea Add setter function to event class
Related-To: NEO-5244

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-04-12 10:44:24 +02:00
Jaime Arteaga
a56b413392 Improve support for L0 uncached device allocations (2)
Make sure UNCACHED flags are used in stateful paths.

Related-To: NEO-5500

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-12 09:47:30 +02:00
Young Jin Yoon
d4823a463a Add programL3 ULTs for Gen9
Related-To: LOCI-2076
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2021-04-10 03:44:10 +02:00
Jaime Arteaga
b05be25349 Add sub-devices to the list of devices in a context
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-04-10 03:36:03 +02:00