Commit Graph

12365 Commits

Author SHA1 Message Date
Krzysztof Gibala
8fb7967e8f fix(l0): adjust getCacheProperties
Use L3CacheSizeInKb value for cacheSize calculation

Resolves: NEO-7655
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2023-01-23 15:50:51 +01:00
Kamil Kopryk
e9990dd124 refactor: don't use global ProductHelper getter 6/n
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-23 14:03:51 +01:00
Lukasz Jobczyk
8ba950176d Flush tag update at device init
Resolves: NEO-7642

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-01-23 12:18:58 +01:00
Warchulski, Jaroslaw
49837b7bb5 Cleanup includes 39
Cleaned up files:
shared/source/command_container/command_encoder.h

Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-23 11:56:42 +01:00
ocldev
8d66517c79 igsc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-01-23 11:01:04 +01:00
Grzegorz Choinski
4b4ea9b9bf ci: infra update
Related-To: NEO-7624
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-01-23 10:29:34 +01:00
Maciej Plewka
fa4830036a feature(ocl) use tags to synchronize multi root device events
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2023-01-23 10:28:01 +01:00
ocldev
a27834ff7d igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-01-23 08:10:33 +01:00
Kacper Nowak
23fc5db736 Add missing ULTs for generating default arg metadata for images/samplers
Add missing ULTs for arg with type image* and sampler - check if proper
type (typename) has been set.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2023-01-23 08:03:01 +01:00
Kamil Kopryk
64eb024ba2 refactor: don't use global ProductHelper getter 5/n
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-23 07:55:39 +01:00
Kamil Kopryk
97d1de3c1e refactor: don't use global ProductHelper getter 2/n
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-23 07:50:39 +01:00
shubham kumar
01eb8daea9 Fix to use enum CurrentTotalAllocableMem for size in zesmemoryGetState.
Related-To: LOCI-3532

Signed-off-by: shubham kumar <shubham.kumar@intel.com>
2023-01-23 02:20:29 +01:00
Compute-Runtime-Validation
74cf4189ca Revert "igc revision update"
This reverts commit 649a50c6b1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-01-21 12:21:11 +01:00
Compute-Runtime-Validation
c262ee94c0 Revert "feature: Refactor IPC memory data"
This reverts commit 9c93af7462.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-01-21 12:14:34 +01:00
Brandon Yates
dce17d319f Update L0 loader to 1.9.4
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2023-01-20 20:01:11 +01:00
Jaime Arteaga
c728b727fc feature: Add host IPC blackbox tests
Related-To: LOCI-3771

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2023-01-20 19:40:44 +01:00
Kamil Kopryk
235385abc9 refactor: Remove global CompilerProductHelper gettter 1/n
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-20 17:17:50 +01:00
Zbigniew Zdanowicz
7925e12392 Add improvements and tweaks to event pool runtime and tests
1. Reposition event pool code
- Implementation of event pool methods should be placed in event pool file
2. Change event pool and event classes
- move all class variables to base classes as protected
- add needed setters and getters for runtime
- add extended mocks and whiteboxes for unit tests
- tests using base or mock class when needed
3. Correct event creation in unit tests
- use HW specific timestamp type
- HW unit tests are using template timestamp type for event creation
- other tests are using helper to create event

Related-To: NEO-7636

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-01-20 16:47:08 +01:00
Mateusz Hoppe
f30e66d950 fix: add SLM support for tile attach
Resolves: NEO-7650

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-01-20 16:11:36 +01:00
Kamil Kopryk
adb3e126b4 refactor: Correct typo
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-20 16:07:13 +01:00
Mateusz Hoppe
fca74731fb test: enable imm cmd list mode in zello_printf
Related-To: NEO-7625

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-01-20 15:52:38 +01:00
Warchulski, Jaroslaw
8cc4cc1612 Cleanup includes 38
Cleaned up files:
opencl/source/cl_device/cl_device.h
opencl/source/command_queue/command_queue.h

Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-20 14:55:17 +01:00
Mateusz Hoppe
53971a2d28 fix: Print printf output on append to imm synchronous cmd lists
Related-To: NEO-7625

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-01-20 14:42:44 +01:00
Mateusz Hoppe
28bf57959e tests: improve zello_printf to allow commandQ or cmdList execution
- destroy kernel and module after synchronizing and validating printf
output

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2023-01-20 14:34:11 +01:00
Grzegorz Choinski
4c0e71b6e4 ci: infra update
Related-To: NEO-7624
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2023-01-20 14:23:19 +01:00
Zbigniew Zdanowicz
fe3f32eb68 Fix relax ordering check for event remaining packets
Related-To: NEO-7490

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-01-20 14:23:02 +01:00
Dunajski, Bartosz
5a5596957a Capability to create multiple Regular BCS contexts per engine.
Related-To: NEO-7618

Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-01-20 13:43:48 +01:00
Warchulski, Jaroslaw
286c672ef4 Cleanup includes 37
Cleaned up files:
level_zero/core/source/event/event.h

Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-20 12:34:39 +01:00
Daria Hinz
4d359b5eef fix: Support multiple option settings in ocloc
If ocloc is given -options several times, the variable is overwritten.
This change allows the user to add additional options multiple times.

Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2023-01-20 12:10:21 +01:00
Zbigniew Zdanowicz
2aacc04ffd Fix two issues in ipc event pool creation
- remove double and triple free in open ipc event pool cleanup section
- correctly initialize device vector

Related-To: NEO-7636

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-01-20 12:03:53 +01:00
Mateusz Jablonski
b4375dde25 test: move windows specific tests from opencl to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-20 11:35:50 +01:00
Zbigniew Zdanowicz
71cf32b1e6 add missing includes
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-01-20 11:31:26 +01:00
Lukasz Jobczyk
0bd3964773 [PVC] Remove tlb flush
Related-To: NEO-7116

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-01-20 10:49:13 +01:00
Kamil Kopryk
a4eba996f7 refactor: don't use global ProductHelper getter 4/n
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-20 10:27:27 +01:00
Warchulski, Jaroslaw
76faad3398 Cleanup includes 36
Cleaned up files:
shared/source/helpers/blit_commands_helper.h

Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-20 10:10:40 +01:00
Konstanty Misiak
3175530318 Extend AIL for a new Wondershare Filmora version
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2023-01-20 10:01:31 +01:00
ocldev
649a50c6b1 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2023-01-20 09:54:27 +01:00
Kamil Kopryk
bd6b7d75f0 refactor: don't use global ProductHelper getter 3/n
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-20 09:42:09 +01:00
Kamil Kopryk
eb63f36108 Move GfxCoreHelper ownership to RootDeviceEnvironment
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-20 09:28:27 +01:00
Lukasz Jobczyk
d32a7ee7d0 Revert "Always init device with first submission"
This reverts commit 08f17761b4ee49d98df0b71041ba956faff3b960.

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2023-01-20 08:02:07 +01:00
Jaime Arteaga
9026c5912e test: Fix zello_ipc_event
Correct offset at which the number of events is extracted
from IPC event pool handle.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2023-01-20 06:56:55 +01:00
Mateusz Jablonski
ce059e7fe3 fix: align up surface size in surface state
don't abort when surface size is not aligned
underlying memory size is always aligned

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-20 05:55:47 +01:00
Spruit, Neil R
f928d695e7 Support for Mapping Physical with Virtual Memory
Related-To: LOCI-3422, LOCI-3421

Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2023-01-20 05:17:10 +01:00
Mateusz Jablonski
47be5d04b3 test: move linux specific tests from opencl to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-20 04:59:29 +01:00
Kulkarni, Ashwin Kumar
c232b8311b Support zello_sysman tool for windows
Add support for windows
Add common command parsing support for windows and linux

Related-To: LOCI-3259

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2023-01-20 04:44:42 +01:00
Kamil Kopryk
726d4e19ad Reenable bufferL3CacheTest ult
Related-To: NEO-6075
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2023-01-20 04:12:15 +01:00
Jaime Arteaga
9c93af7462 feature: Refactor IPC memory data
Refactor structure and add field to pass USM memory type.

Related-To: LOCI-3771

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2023-01-20 03:50:48 +01:00
Compute-Runtime-Validation
9bf2edcfbf Revert "Flush tag update on device init"
This reverts commit 5f7541084d.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2023-01-20 03:06:44 +01:00
Zbigniew Zdanowicz
b9b9155ee0 Fail ipc event pool creation for max event packet misconfiguration
Remote event pool is created with device list that configure max event packet
IPC context can have different device list and configure different
max event packet.
When these two numbers are different driver should not allow creation of
IPC event pool.

Related-To: NEO-7636

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2023-01-20 00:45:29 +01:00
Filip Hazubski
2ed2ac73d1 refactor: correct ioctl and related functions to return signed int
Change IoctlHelper::ioctl function to return int.
Change IoctlHelper::createGemExt function to return int.
Change IoctlHelper::queryDistances function to return int.
Change UuidRegisterResult::retVal type to int32_t.
Rename res to ret in debug_session.cpp for consistency.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2023-01-19 22:04:27 +01:00