Commit Graph

6381 Commits

Author SHA1 Message Date
Maciej Plewka
7a5c9d39b5 Encode dispatch kernel with global bindless heaps
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-12-02 17:30:15 +01:00
Jaime Arteaga
be90b9ff93 Add support for ZE_DEVICE_MEM_ALLOC_FLAG_BIAS_UNCACHED
Add support for device and shared allocations that use the
ZE_DEVICE_MEM_ALLOC_FLAG_BIAS_UNCACHED flag, whether the
kernel using the memory is stateless or statefull.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-02 10:43:45 +01:00
Bartosz Dunajski
ce53035ebc Unit tests fixes
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-12-02 09:40:20 +01:00
Igor Venevtsev
c19f4fd1d0 Re-enable decanonize gpu address on releaseGpuRange() call drm ULT
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-12-02 09:14:37 +01:00
Jitendra Sharma
7883fa331a Add zello_copy black_box test
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>
2020-12-02 07:57:45 +01:00
Artur Harasimiuk
6b2cae1909 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-01 22:58:53 +01:00
Jobczyk, Lukasz
343fd602fa Add method to submit kernel on single subdevice
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-12-01 22:15:05 +01:00
Jaime Arteaga
00c92c8c14 Add L0 sample for IPC memory access between two different devices
In this example, two processes are launched on different devices
if more than one device is detected. Then, P2P capabilities are
queried through zeDeviceCanAccessPeer().

If P2P capabilities are available, then an IPC memory handle is
exchanged from server to client, and the client process running on
device 1 copies data from its buffer (allocated on device 1) to
the buffer exported by the server (allocated on device 0).

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-01 18:31:44 +01:00
Mateusz Hoppe
f284bb9711 Enable level_zero Driver unit test
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-01 18:30:43 +01:00
Maciej Dziuban
94be510c18 Add initial placement hints for USM in OpenCL
Related-To: NEO-5059
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-12-01 18:30:26 +01:00
Adam Cetnerowski
e0ec9875c3 Remove disabled test
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-01 18:08:44 +01:00
Artur Harasimiuk
294624e03b Revert "Add netlink and gen netlink library loader."
This reverts commit 660ad6a1f3.
2020-12-01 17:52:52 +01:00
Maciej Dziuban
b5c899cd18 Fix disabled unit test
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-12-01 17:52:34 +01:00
macabral
720ba46548 Register kernel Elf for debugging purpose
Signed-off-by: macabral <matias.a.cabral@intel.com>
2020-12-01 17:16:14 +01:00
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