Commit Graph

6407 Commits

Author SHA1 Message Date
Mateusz Hoppe
eb97c48844 Fix simulated CSR
- add localMemory to getAddressSpace()
- redirect writeMemoryWithAubManager to aubManager

Related-To: NEO-5357

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-07 12:10:43 +01:00
Adam Cetnerowski
e26eb3ebdd ULT renaming: Helpers tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-07 12:08:09 +01:00
Adam Cetnerowski
d6907858b6 ULT renaming: Kernel tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-07 11:46:11 +01:00
Mateusz Hoppe
6d873d9e4b Update infra
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-07 11:27:44 +01:00
Mateusz Hoppe
2997834d84 Cleanup code
- remove unneeded extern declarations

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-07 11:20:33 +01:00
Kamil Diedrich
0ecb1b804f combine timestamps implementation
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2020-12-06 17:19:36 +01:00
ocldev
be1f6faeb2 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2020-12-05 08:44:31 +01:00
Pawel Cieslak
684ed9f6c4 Update infra
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-12-04 16:47:49 +01:00
Pawel Cieslak
83c8d0984d Allow tsan for gcc
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-12-04 16:38:59 +01:00
Pawel Cieslak
068ee712d2 Update infra
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-12-04 12:40:48 +01:00
Artur Harasimiuk
ded49c5914 remove DISABLED_ tests
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-04 12:17:42 +01:00
ocldev
9d8e390730 igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2020-12-04 09:26:34 +01:00
Artur Harasimiuk
c31396bfef infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-03 22:12:04 +01:00
Filip Hazubski
2859023642 Add -ocl-version option when compiling without device
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 21:02:18 +01:00
Brandon Yates
69382998ac Updating Level Zero Loader to 1.0.22 in manifest
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2020-12-03 20:23:35 +01:00
Filip Hazubski
c83087ea72 Correct generating extensions list for compiler in Program
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 18:58:19 +01:00
Filip Hazubski
ce4b6dbcd8 Update builtins hash
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 16:41:45 +01:00
Filip Hazubski
23d4967f79 Correct generating extensions list for compiler
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-03 15:15:49 +01:00
Kamil Diedrich
79d4af28de Switch to c++17
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2020-12-03 15:15:32 +01:00
Zbigniew Zdanowicz
19bea962d0 Use imported host pointers in the driver when available
Related-To: NEO-5126

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-12-03 13:52:14 +01:00
Mateusz Jablonski
ff027615c9 Refactor ULT, dont create parameterized tests for single config tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-03 13:51:57 +01:00
Bartosz Dunajski
cb14f0969d Reenable unit test
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-12-03 11:02:50 +01:00
Mateusz Hoppe
8198a739c8 Refactor Sip Kernel usage
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-03 10:43:53 +01:00
Young Jin Yoon
da779d067f Support the AND operation in EncodeMathMMIO
Related-to: LOCI-1161
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2020-12-03 01:56:22 +01:00
Jaime Arteaga
b668feaf0d Minor fixes to L0 blackbox tests
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-03 01:28:08 +01:00
Adam Cetnerowski
176154b9e6 ULT renaming: GMM Helper tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
20.49.18626
2020-12-02 20:12:37 +01:00
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