Commit Graph

12041 Commits

Author SHA1 Message Date
Jaime Arteaga
afd0784c16 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-15 23:42:10 +01:00
Spruit, Neil R
1360ec9179 Fix Device Allocated IPC Events
- Given Device Allocated IPC Event Pool, the open IPC event pool process
  must allocate the event pool as a device buffer or usage of the memory
will fail.
- Pass deviceAlloc flag thru the IPC Event Pool Handle to enable the
  child processes to allocate the correct memory type.

Related-To: LOCI-3764

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-12-15 23:35:39 +01:00
Kacper Nowak
7b8d1925a9 feat(zebin): Use AOT config for validating target device
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-12-15 22:25:56 +01:00
Kamil Kopryk
5ae75f0234 Remove not needed using
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-15 17:41:12 +01:00
Mateusz Jablonski
4a246534ca Reduce usage of global gfx core helper getter [4/n]
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-15 16:58:12 +01:00
Filip Hazubski
c124bfbc6c Limit cooperative dispatch support to platforms supporting cooperative engine
By default, cooperative dispatch is not supported
for platforms not supporting cooperative engine.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-12-15 15:12:23 +01:00
Mateusz Jablonski
6c7ca96f28 Reduce usage of global product helper getter [1/n]
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-15 15:01:41 +01:00
ocldev
5b1c9ac584 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-12-15 13:38:56 +01:00
Mateusz Jablonski
b9be4e7d3d Add product helper getter to device and command stream receiver
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-15 13:24:24 +01:00
Fabian Zwolinski
7ec94c6aaa Use cached group sizes in zeKernelSetGroupSize
Optimize zeKernelSetGroupSize by early returning success if group size
values have not changed since last function call.

Related-To: NEO-7394
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-12-15 10:00:59 +01:00
Katarzyna Cencelewska
cf6d706d4b Add missing check during ocl buffer create on Windows
resolves problem with debug break
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-12-15 09:53:12 +01:00
Mateusz Jablonski
f629b403c8 CMake: Define OpenCL specific include directories in opencl dir
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-15 09:35:47 +01:00
Mateusz Jablonski
0e093eb7c0 Correct class naming glFunctionHelper->GlFunctionHelper
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-15 09:15:58 +01:00
Dunajski, Bartosz
1783f5b740 Add missing makeResident call
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-12-14 18:02:31 +01:00
Zbigniew Zdanowicz
a734921113 Fix issues in signal all event packets 5/n
This commit is fixing signal event after append operation.
1st fix is to add signal all packets to timestamp event on copy only lists.
2nd fix is to change order of dispatched commands for compute lists to move
light signal event commands before stalling command.

Related-To: NEO-7490

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-12-14 17:32:38 +01:00
Kamil Kopryk
e63ce337a4 Disable Zebin on gen12lp platforms with debugger active and spirv
Related-To: NEO-7328
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-14 17:03:11 +01:00
Krystian Chmielewski
b2a51146a5 feat(zebin): support data const/global buffer arg
Add support for kernel payload arguments describing data const and
data global buffers in zeInfo.

Argument contains:
* Offset in cross thread data where buffer's address should be written to.
To be removed later. Relocations should be used instead.
* Index in binding table where corresponding Surface State should be present.
Required for bindful access to data buffers.

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-12-14 16:52:35 +01:00
Kamil Diedrich
46136cd2f6 Add wddm ult for wsl build [5/n]
Related-To: NEO-6066
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-12-14 16:32:37 +01:00
Kamil Kopryk
232b886056 Rename HwInfoConfig to ProductHelper
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-14 14:39:52 +01:00
Rafal Maziejuk
a1cf7fb938 Correct expected ioctl count in DrmMemoryManagerFixture
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-12-14 14:28:23 +01:00
Mateusz Jablonski
de2a4211c3 Infra update
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-14 14:03:18 +01:00
Joshua Santosh Ranjan
294d065f05 Update Zello Metrics
1. Added support to know if test parameter was set or
has a default value
2. Added feature to display all metric groups and
metrics supported by the platform
3. Added a test to verify query mode on an immediate
command list
4. Added an utility to continuously listen/collect
metrics on a device
5. Added support to display only specified list of
metrics during collection

Related-To: LOCI-3722

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-12-14 06:15:23 +01:00
Dunajski, Bartosz
4c325d2706 Add new entry to zebin decoder
Related-To: NEO-7085

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-12-13 13:32:51 +01:00
Zbigniew Zdanowicz
ff252d8706 Fix issue in signal all event packets 4/n
This commit fixes two issues for signal event API call
Fix one is for signal event call to reposition signaling commands before
stalling post sync command.
Second fix is to make sure copy command lists also support signal all packets.

Related-To: NEO-7490

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-12-13 13:20:00 +01:00
Kamil Kopryk
924eb23c90 Split hwInfoConfig and CompilerProductHelper enablers
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-13 13:14:37 +01:00
Bari, Pratik
5fd8275c68 Added Memory ULTs
Related-To: LOCI-3730

Signed-off-by: Bari, Pratik <pratik.bari@intel.com>
2022-12-13 11:18:17 +01:00
Mateusz Jablonski
10dbfc0d19 Reduce usage of global gfx core helper getter [3/n]
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-13 11:13:11 +01:00
nyanmisaka
ac802931b3 Brand string update for Arc platforms
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
2022-12-13 09:20:25 +01:00
Dunajski, Bartosz
bcecd069b4 Add additional kernel flag + capability to pull extra patch tokens
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-12-13 09:04:39 +01:00
Mateusz Jablonski
470c6d4660 Extend compiler interface,
add mocks for Platform version 2
create wrapper to populate IGC platform depending on interface version

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-13 07:53:59 +01:00
Yates, Brandon
66581a0a1d L0 Debug - Avoid SSAH lookup when no threads are stopped
During async thread event processing, it was possible to
read SSAH before any threads stopped and before it was
resident resulting in an assert. This is both a fix for
assertion and minor optimization.

Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-12-13 03:07:22 +01:00
ocldev
cc61e2d997 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-12-13 00:29:02 +01:00
Mateusz Jablonski
2cb1a908a0 Add missing includes
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-12 23:18:30 +01:00
Spruit, Neil R
a93b3a321b Update Level Zero to v1.8.12 for multi driver support
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-12-12 21:09:47 +01:00
Artur Harasimiuk
55177cbb2a infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-12-12 20:01:26 +01:00
Baj, Tomasz
122338c290 Return 0 from fp64 queries when fp64 is unsupported
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
Related-To: NEO-7542
2022-12-12 19:47:09 +01:00
Jitendra Sharma
391941c447 Sysman: Enhance Scheduler compute unit debug mode implementation
This change helps in achieving the following:
- Moves the OS specific code from scheduler_imp.cpp to os specific
files.
- Frees any drm resource, including level zero's before enabling/dis
-abling Debug mode. And once Debug mode is toggled, reinitialize of
level zero occurs.
- If current mode is Debug mode and any other mode is requested by user,
then new mode will be made effective by unsetting debug mode.

Related-To: LOCI-866

Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2022-12-12 17:58:28 +01:00
Zbigniew Zdanowicz
6a6e17d48a Use shared event pools as default in immediate command list black box test
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-12-12 15:40:15 +01:00
Mateusz Jablonski
ecea487cf0 Reduce usage of global gfx core helper getter [2/n]
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-12 13:43:21 +01:00
Szymon Morek
ca14e411e4 Disable CPU memcpy for DG2
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-12-12 13:32:25 +01:00
ocldev
ef0923272b dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-12-12 13:04:41 +01:00
Mateusz Jablonski
faeb0c878b ULT clang-tidy fix: correct class naming
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-12 09:46:45 +01:00
Compute-Runtime-Validation
c54c3d796c Revert "Set isLockable if size small enough for cpu memcpy"
This reverts commit 41a80072b9.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-12-12 09:24:14 +01:00
Dominik Dabek
8468d6c4b0 Prepare for pool buffer enabling 2/n
Use correct offset for subBuffer created with clCreateSubBuffer

Make calls to clGetMemObjectInfo for CL_MEM_OFFSET and
CL_MEM_ASSOCIATED_MEMOBJECT return values like with pool buffer disabled

Related-To: NEO-7332

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-12-09 21:58:05 +01:00
Zbigniew Zdanowicz
4fbd2fcc51 Fix issue in signal all event packets 3/n
Fix in copy only command lists for reset event call.
First fix is to perform reset on all active events.
Second is to add signal all packets call for copy only branch

Related-To: NEO-7490

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-12-09 21:01:19 +01:00
Mateusz Jablonski
8f308f24e5 Reduce usage of global gfx core helper getter [1/n]
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-09 17:27:37 +01:00
Szymon Morek
637c4e5621 Disable state caching if used on regular cmd list
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-12-09 16:47:39 +01:00
Szymon Morek
41a80072b9 Set isLockable if size small enough for cpu memcpy
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-12-09 16:33:32 +01:00
Rafal Maziejuk
336c8c10d5 Add adjustHwInfoForIgc support
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-12-09 15:58:54 +01:00
Mateusz Jablonski
fba5e99c48 Add gfx core helper getters to device and command stream receiver
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-12-09 15:47:02 +01:00