Mateusz Hoppe
7d808bd560
Optimize preemption programming
...
- limit number of LRI cmds
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-03-05 13:37:14 +01:00
Aravind Gopalakrishnan
db892eaa95
Revert "Use device allocation for events if host visibility not set"
...
This reverts commit b204a4f135 .
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-03-05 03:31:17 +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
Zbigniew Zdanowicz
24b928303b
Rename fields in AllocationProperties
...
Related-To: NEO-5498
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-03-02 18:32:37 +01:00
Maciej Plewka
c1cabb505a
Fix Get ConstSpecSize based on correlated ConstSpecID
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-03-02 12:11:08 +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
Compute-Runtime-Validation
c0268abc26
Revert "Take spec const value sizes from compiler"
...
This reverts commit da3805880b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-02-26 16:22:10 +01:00
Zbigniew Zdanowicz
3e4be8d78e
Add new allocation type
...
Related-To: NEO-5244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-02-26 12:57:12 +01:00
Jaime Arteaga
722a80079b
Add experimental_properties for indirect access (2)
...
Add support to OpenCL to also make use of indirect access properties
provided by IGC and to make use of DisableIndirectAccess debug key.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-02-25 11:41:24 +01:00
Maciej Plewka
da3805880b
Take spec const value sizes from compiler
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-02-25 10:42:21 +01:00
Daria Hinz
13fe8ed7f1
Revert "Correct POST_SYNC for L0 Events"
...
This reverts commit 04d1a3255357a7778a530f054700e211d94f3b6d.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-02-24 10:16:22 +01:00
Kamil Diedrich
c686fb250e
Allow to import image FD
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-02-23 18:49:35 +01:00
Daria Hinz
64d772d366
Fix for adding MI_SEMAPHORE_WAIT & reset L0 Event
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-02-18 18:33:21 +01:00
Mateusz Hoppe
6dd0f0c728
Relocate debug data
...
Related-To: NEO-4769
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-02-16 14:59:30 +01:00
Mateusz Hoppe
f6aafdb274
DebuggerL0: Track all addresses from SBA
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-02-15 14:22:02 +01:00
Zbigniew Zdanowicz
c35f560971
Refactor internal interface
...
Related-To: NEO-5244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-02-15 13:24:00 +01: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
1aca16a7ac
Add experimental_properties for indirect access
...
Read zebin experimental properties indicating whether a kernel has
indirect access and if so, ignore calls to zeKernelSetIndirectAccess.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-02-10 14:23:43 +01:00
Aravind Gopalakrishnan
b204a4f135
Use device allocation for events if host visibility not set
...
Related-To: LOCI-1684
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-02-09 16:12:24 +01:00
Mateusz Hoppe
718e4149a8
Add enable-kernel-debug option when debugger is used in L0
...
- correctly verify debug capabilites in Module
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-02-08 17:12:02 +01:00
Vinod Tipparaju
bb138e87c1
Fix to optimize SBA dispatch during submissions.
...
Move the SBA dirty flag inside csr so it is common across command queues.
Related-To: LOCI-1982
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2021-02-08 12:13:09 +01:00
Vinod Tipparaju
248e955bad
Fix to optimize PC dispatched during appendMemory*() calls.
...
Includes fix to optimize PC post walker in case of timestamp events.
Related-To: LOCI-1995
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2021-02-05 13:05:46 +01:00
Igor Venevtsev
3df6110a17
Add extra parameters to setArgStateful()
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-02-05 12:24:27 +01:00
Jaime Arteaga
2fa27ebe73
Move ISA at kernel creation time (2)
...
For internal kernels, move ISA only at creation time. For user
kernels, do it a module creation time.
Related-To: LOCI-2009
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-02-04 21:03:41 +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
Zbigniew Zdanowicz
eac124f7b2
Add cmake file
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-02-04 16:49:53 +01:00
Mateusz Hoppe
c7767de7e9
Revert "Fix version-script for ze_intel_gpu"
...
This reverts commit 7e27ebe70b .
2021-02-04 15:44:01 +01:00
Zbigniew Zdanowicz
e4eb6d4c64
Reorganize files
...
Related-To: NEO-5244
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-02-04 10:22:08 +01:00
Mateusz Hoppe
f7613a5827
Program surface state when debugging is enabled
...
- surface state for debugSurface should be set when
kernel is compiled for debug
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-02-02 17:53:12 +01:00
Bartosz Dunajski
580fdd757c
Improve buffer surface state programming
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-02-02 14:42:18 +01:00
Mateusz Hoppe
0ca1cdc565
Add State Sip end WA
...
Related-To: NEO-5479
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-02-01 19:15:57 +01:00
Mateusz Hoppe
7e27ebe70b
Fix version-script for ze_intel_gpu
...
- export only ze* functions
Related-To: NEO-5509
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-02-01 18:00:27 +01:00
Jaime Arteaga
afffedebb2
Move ISA at kernel creation time
...
Instead of moving the ISAs for all kernel in a module when the module
is created, move the ISA when the kernel is created, to avoid
unnecessary memory transfers.
Related-To: LOCI-2009
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-02-01 13:28:38 +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
Daria Hinz
c55886e9ff
Disable adding an event for each split kernel
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-01-29 15:14:54 +01:00
Bartosz Dunajski
c2e333fe38
Update compression encoding interface + test traits
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-01-29 13:57:15 +01:00
Lukasz Jobczyk
8ed14d0c9f
Use ZE_AFFINITY_MASK for neo devices
...
Resolves: NEO-5438
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-01-29 11:13:29 +01:00
Vinod Tipparaju
7e9461ffa0
Fix to optimize PC dispatched during appendMemoryCopy() call.
...
Eliminate reduandant PC in case event signal scope is either device or host.
The optimization is applicable to timestamp events as well.
Related-To: LOCI-1995
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2021-01-29 01:26:40 +01:00
Aravind Gopalakrishnan
8f36ca5736
Flip order of instructions in appendWaitOnEvents
...
It might be beneficial to flush the caches in parallel with
the wait instruction
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-01-29 01:26:24 +01:00
Mateusz Hoppe
aa79af46ac
Fix state sip programming
...
- STATE_SIP should be added once for MidThread preemption
or when debugger is used for non internal cmdQs
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-01-28 16:59:35 +01:00
Igor Venevtsev
bb72beac6b
Add extra parameters to programStateBaseAddress()
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-01-28 16:03:17 +01:00
Aravind Gopalakrishnan
72e002a3ca
Optimize appendBarrier to remove any redundant Pipe Controls
...
If we know a signal event is provided, we can remove need to use
a separate pipe control for a barrier action.
Related-To: LOCI-1954
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-01-27 07:27:41 +01:00
Young Jin Yoon
4168ee8120
Print output from Kernel dtor to avoid segfault
...
Related-to: LOCI-1912
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2021-01-21 23:00:15 +01:00
Vinod Tipparaju
494a59c7df
Fix to dispatch MEDIA_VFE_STATE with updated scratchSpacePointer & Size
...
Minor fix to reset scratch space size and indirect params during cmdList reset
Signed-off-by: Vinod Tipparaju <vinod.tipparaju@intel.com >
2021-01-21 14:29:34 +01:00
Mateusz Hoppe
5d2ea72db6
Handle relocations from zeBin
...
Related-To: NEO-5323
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-01-21 13:16:38 +01:00
Lukasz Jobczyk
18bfc3be8b
Revert "Extend ZE_AFFINITY_MASK to OCL"
...
This reverts commit 452b53fb4d02ebf4205018b9fd982422e2d85f30.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-01-21 10:31:40 +01:00
Daria Hinz
5a05d7643c
Correct event reset
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2021-01-20 19:22:07 +01:00