Commit Graph

590 Commits

Author SHA1 Message Date
Daria Hinz
bd35d2b3bd Use only first event packet when PC
If PIPE_CONTROL is used to collect timestamps, only the first event packet is
used and overwritten

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
Related-To: NEO-5611
2021-03-16 13:13:49 +01:00
Bartosz Dunajski
43d5397de6 Set correct L0 CommandQueue type
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-03-16 12:09:47 +01:00
Maciej Dziuban
264f20ea00 Pass EngineTypeUsage to OsContext creation
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5610
2021-03-16 10:21:18 +01:00
Igor Venevtsev
52e118fe49 Add extra parameters to Buffer::setSurfaceState() method
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2021-03-16 10:17:59 +01:00
Jaime Arteaga
6a81edfbe1 Add support for ZE_RELAXED_ALLOCATION_LIMITS_EXP_FLAG_MAX_SIZE
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-15 16:20:10 +01:00
Konstanty Misiak
88a1593913 Add software tags
Related-To: NEO-344

Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2021-03-15 15:51:08 +01:00
Jaime Arteaga
71940061b8 Make sure IPC handles are correctly copied
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-13 18:22:56 +01:00
Filip Hazubski
6a4ed40a16 Correct Host Mem Capabilities values
Related-To: NEO-5054

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-11 08:54:59 +01:00
Jitendra Sharma
4fd3ac6399 Add device memory name
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2021-03-10 18:44:10 +01:00
Krzysztof Gibala
4abe4a96b8 Add multiGraphicsAllocation to CSR
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2021-03-10 12:42:01 +01:00
Zbigniew Zdanowicz
779253c49c Add new flag to USM memory manager
Related-To: NEO-5498

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-03-10 11:47:34 +01:00
Krystian Chmielewski
41f3bd00ff Remove PatchTokens from KernelInfo
Use KernelDescriptor instead of patchTokens stored in KernelInfo's
patchInfo.
Removed: SPatchMediaInterfaceDescriptorLoad, SPatchAllocateLocalSurface,
SPatchMediaVFEState(slot 0), SPatchMediaVFEState(slot 1),
SPatchInterfaceDescriptorData, SPatchSamplerStateArray,
SPatchBindingTableState, SPatchDataParameterBuffer,
SPatchDataParameterStream, SPatchThreadPayload,
SPatchKernelAttributesInfo, SPatchAllocateStatelessPrivateSurface,
SPatchAllocateSyncBuffer,
SPatchAllocateStatelessConstantMemorySurfaceWithInitialization,
SPatchAllocateStatelessGlobalMemorySurfaceWithInitialization,
SPatchAllocateSystemThreadSurface.

Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2021-03-09 17:09:13 +01:00
Jim Snow
142fe1efdb Add sampler ULT to increase branch coverage, remove a sampler branch
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2021-03-09 00:31:18 +01:00
Adam Cetnerowski
07eb59d400 ULT renaming: Level Zero Misc tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-03-08 19:14:22 +01:00
Mateusz Hoppe
9f3218775d Fix version-script for ze_intel_gpu
Related-To: NEO-5509
-make only ze* functions globally exported

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-03-08 09:55:38 +01:00
Maciej Plewka
72b13e9bbd Use copy only command queue in zello_copy_only
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2021-03-07 12:38:23 +01:00
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
Maciej Dziuban
1350aa52fb Pass DispatchInfo to estimation functions
Related-To: NEO-5546

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-03-05 12:47:55 +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
Jaime Arteaga
76db4ce59a Add ULT for openIpcMemHandle
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-04 22:30:53 +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
Jaime Arteaga
5adfe0704b Add ULTs for checkMemoryAccessFromDevice
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-03 02:26:39 +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
Jaime Arteaga
102de8ffd5 Add option to zello_ipc_copy_dma_buf_p2p to select copy engine
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-03-02 09:36:43 +01:00
vinod krishna
22f40d9a8e Adding zello_fence blackbox testcase
Signed-off-by: vinod krishna <vinod.krishna@intel.com>
2021-03-02 08:22:22 +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
Jaime Arteaga
0417f5ba12 Add ULT for getIpcMemHandle
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-25 08:32:32 +01:00
vinod krishna
b38642ab6b Adding zello_copy_only, zello_copy_fence & zello_copy_image blackbox testcases
Signed-off-by: vinod krishna <vinod.krishna@intel.com>
2021-02-24 17:15:32 +01:00
Mateusz Hoppe
c44fff1379 Enable device discovery from test_files in L0 ults
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-02-24 10:18:20 +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
Jaime Arteaga
ce9158ea1a Complement ULTs for getMemAddressRange
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-20 00:51:02 +01:00
Jaime Arteaga
fd7421ed37 Add some event ULTs
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-19 17:19:29 +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
Jaime Arteaga
9dd5ae7ef6 Add ULT for getMemoryProperties
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2021-02-16 19:05:13 +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
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
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
Adam Cetnerowski
f6a0b3c6ce ULT renaming: Module tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-02-11 16:03:39 +01:00
Pawel Cieslak
8a700c5187 Move non-ult shared files to single directory
Add SKIP_SHARED_UNIT_TESTS flag

Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-02-10 21:03:13 +01:00