Commit Graph

6367 Commits

Author SHA1 Message Date
Slawomir Milczarek
b98af90896 Set kernel information about stateless accesses to host memory
Related-To: NEO-5107

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-01 16:31:40 +01:00
Mateusz Jablonski
077ae2726e Correct storing KernelInfos in multi device programs
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-01 16:15:37 +01:00
Artur Harasimiuk
2e2d5584b8 removing disabled test
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-01 16:13:52 +01:00
Bartosz Dunajski
20fb14b017 Reenable unit test
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-12-01 15:25:32 +01:00
Mateusz Jablonski
2ee1d569c5 Store KernelInfo per root device in Program
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-01 11:38:23 +01:00
Slawomir Milczarek
ff069c1171 Enable AUB memory dumps of USM allocations
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-01 11:24:41 +01:00
Maciej Dziuban
2293fc0cb5 OpenCL Queue Families extension 6/n
Add queue family and index querying from existing queue

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-12-01 09:03:21 +01:00
William Jordan
4732a4e692 Level 0 Sysman FabricPort updates.
Add fabric port routines to zello_sysman.
Add subdevice support to FabricPort routines.
Update source paths for additional FabricPort development.

Signed-off-by: William Jordan <bill.jordan@intel.com>
2020-12-01 05:38:06 +01:00
Jaime Arteaga
5f77fb9196 Add L0 sample for IPC memory
In this example, two processes are launched on the same device,
and an IPC memory handle is exchanged from server to client.

Then, the client process running copies data from its buffer
to the buffer exported by the server.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-01 05:28:29 +01:00
William Jordan
660ad6a1f3 Add netlink and gen netlink library loader.
Netlink and generic netlink are standard linux
interfaces to allow management traffic between
user space and kernel subsystems over sockets.
This patch adds a loader for the generic netlink
library to allow Level 0 Sysman to manage
linux hardware that implements the generic
netlink interface.

Signed-off-by: William Jordan <bill.jordan@intel.com>
2020-11-30 20:18:25 +01:00
Bartosz Dunajski
64bba71abb Improve UnitTestHelper
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-30 20:18:07 +01:00
Adam Cetnerowski
9686bd2636 ULT renaming: Execution Environment tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-30 19:44:06 +01:00
Adam Cetnerowski
b9a185df76 ULT renaming: HW Info Setup tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-30 19:37:44 +01:00
Adam Cetnerowski
bcf946357d ULT renaming: GTPin tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-30 19:31:11 +01:00
ocldev
212c951571 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2020-11-30 18:14:15 +01:00
Maciej Dziuban
41a90e67d7 OpenCL Queue Families extension 5/n
Check queue capabilities in enqueue calls for kernels, barriers and markers

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-11-30 17:35:38 +01:00
Maciej Dziuban
12ebe55679 OpenCL Queue Families extension 4/n
Check queue capabilities in enqueue calls for images

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-11-30 17:16:36 +01:00
Kamil Kopryk
0d94f289b4 Add adjustAddressWidthFor Canonize helper
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-5285
2020-11-30 16:02:23 +01:00
Zbigniew Zdanowicz
4602220e62 Add manager of imported host pointers
Related-To: NEO-5126

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-11-30 13:28:25 +01:00
Slawomir Milczarek
42b6dff2b4 Move unit test for VA sharing to separate module built with libva
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-30 10:38:27 +01:00
Krzysztof Gibala
84f3d44968 Enable memory transfer between buffers rect
Unlock flow for multi device setup in:
- enqueueCopyBufferRect
- enqueueReadBufferRect
- enqueueWriteBufferRect

Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-11-30 10:35:34 +01:00
Adam Cetnerowski
9f96552007 ULT renaming: Event tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-30 10:24:23 +01:00
Mateusz Jablonski
11592d1cb5 Add support for nullptr device input in clGetWorkGroupInfo/SubGroupInfo
Nullptr input is valid if kernel is associated with a single device

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-27 17:35:24 +01:00
Filip Hazubski
6c4b1f951c Do not force cl_khr_3d_image_writes extension when compiling kernels
Update usage of SUPPORTED_IMAGES flag and do not use images when disabled.
Use SUPPORTED_2_0 only on fully OCL 2.1 conformant platforms.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-27 17:20:46 +01:00
Mateusz Hoppe
1792516043 Fix parsing ocloc options file
Resolves: NEO-5330

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-27 17:16:55 +01:00
Bartosz Dunajski
93ba4e646b Improve EncodeDispatchKernel
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-27 16:39:34 +01:00
Krzysztof Gibala
baea633bdd Correct logic in MultiRootDeviceFixture
Related-To: NEO-4589

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-11-27 16:22:39 +01:00
ocldev
4989cf308d dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2020-11-27 16:05:09 +01:00
Adam Cetnerowski
cc4ed61396 ULT renaming: Built In tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-27 15:59:20 +01:00
Lukasz Jobczyk
0829e4484e Lock exec path if default memory operations handler is used
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-11-27 14:49:03 +01:00
Mateusz Hoppe
6e805b4fde Enable DISABLED tests
- cleanup ocloc test
- cleanup cmakelists

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-27 14:34:14 +01:00
Maciej Plewka
ded70b803d Use common compile bindless flag
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-27 14:28:55 +01:00
Maciej Plewka
d4c5ee63f2 Dont return value from dispatchBlitCommands
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-11-27 14:10:32 +01:00
Sebastian Luzynski
ddbaf82f04 Add appendProgramVFEState function
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-11-27 13:35:50 +01:00
Bartosz Dunajski
53b4cee150 Debug flag to force device id.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-27 09:10:48 +01:00
Mateusz Hoppe
8cac8d4b51 Fix possible device nullptr dereference
- abort will be called if device is nullptr

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-11-26 22:51:44 +01:00
Jaime Arteaga
ba89a47aea Add L0 extension for extended module descriptor
Add ZE_experimental_module_program extension to L0 driver to support
multiple input modules being passed to zeModuleCreate().

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-26 22:44:22 +01:00
Bartosz Dunajski
60d0d4d67f Move remaining SBA files to shared
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-26 17:11:57 +01:00
Slawomir Milczarek
e6a18aac73 Add query system info implementation stub on Linux
Related-To: NEO-4998

Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-11-26 16:31:00 +01:00
Maciej Dziuban
496bdd77ae Add missing cast
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-11-26 14:38:23 +01:00
Mateusz Jablonski
a7e1db9886 Reduce usage of getDevice method of Kernel
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-26 14:26:58 +01:00
Maciej Plewka
c0853b95ec WA Passing function pointers to gtpin
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
20.48.18558
2020-11-26 14:04:42 +01:00
Bartosz Dunajski
beb04bd2f8 Improve HostMemCapabilities helper method.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-26 13:54:35 +01:00
Igor Venevtsev
cff80e38b8 Do not program MiFlushDw command as a timestamp operation for blitter
Resolves: NEO-4906

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-11-26 13:26:13 +01:00
Bartosz Dunajski
e8178ae493 Add appendExtraMemoryProperties method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-26 09:53:55 +01:00
Adam Cetnerowski
7da82986a2 ULT renaming: Context tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-25 16:16:22 +01:00
Bartosz Dunajski
2ee8bad91f Add appendExtraCacheSettings method
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-11-25 14:08:35 +01:00
Maciej Dziuban
ef170607c8 OpenCL Queue Families extension 3/n
Check queue capabilities in enqueue calls for buffers

Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-11-25 14:02:10 +01:00
Mateusz Jablonski
b85a8ace68 Pass root device index to Kernel's methods
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-11-25 12:49:15 +01:00
ocldev
cbde74650a igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2020-11-25 12:39:11 +01:00