Commit Graph

6444 Commits

Author SHA1 Message Date
Maciej Plewka
830bcd6987 Scratch using bindless heaps
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-12-11 09:38:44 +01:00
Mateusz Jablonski
714d4c61f9 Remove gmock from mock driver handle
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-11 09:25:28 +01:00
Jaime Arteaga
d46bb59508 Migrate shared-allocations made resident with makeMemoryResident
Shared-allocations are currently migrated to GPU by the page-fault
manager when calling executeCommandLists. Allocations to migrate are
taken from the lists container. However, if a shared-allocation
has been made resident with zeContextMakeMemoryResident(), it is not
added to the list container, and hence it is not migrated to device.

So, add a container of resident allocations to the driver and migrate
them along with the other allocations.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-11 03:27:42 +01:00
Jaroslaw Chodor
d9eb19e6c4 ocloc - adding support for includes
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2020-12-10 22:59:15 +01:00
Filip Hazubski
070828cb2f Correct reporting __opencl_c_atomic_order_acq_rel
Related-To: NEO-5331

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-10 18:06:31 +01:00
Mateusz Jablonski
aa1fc85257 Store device specific kernel members per root device
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-10 17:57:39 +01:00
Krzysztof Gibala
8d2cfd87ae Create graphicsAllocation for all devices in image
Unlock flow for multi device setup in:
- enqueueReadImage
- enqueueWriteImage

Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-12-10 17:40:03 +01:00
Filip Hazubski
e9b7222136 Correct CL_DEVICE_NON_UNIFORM_WORK_GROUP_SUPPORT value
Related-To: NEO-5331

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-10 17:31:21 +01:00
Jaroslaw Chodor
993ea27e25 Adding platform info for FCL
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2020-12-10 16:31:46 +01:00
Artur Harasimiuk
6e2d81a7da infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-10 10:58:31 +01:00
Pawel Cieslak
7589cec9a8 Update infra
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-12-09 19:28:11 +01:00
Filip Hazubski
f4c495cfff Enable zero size enqueues for all devices
Related-To: NEO-5331

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-09 19:12:00 +01:00
Mateusz Jablonski
350ec9f16b Pass root device index to get proper kernel info
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-09 19:11:43 +01:00
Mateusz Hoppe
d3f3730989 Refactor L0 core tests
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-12-09 17:51:15 +01:00
ocldev
f518dd60dc igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2020-12-09 17:50:17 +01:00
Adam Cetnerowski
91a938a449 ULT renaming: Memory Manager tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-09 17:49:59 +01:00
Adam Cetnerowski
d746be0c4e ULT renaming: Memory Object tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-09 17:20:20 +01:00
Slawomir Milczarek
e7772143a2 Add fixture with a simple stateless copy kernel
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-12-09 17:03:05 +01:00
ocldev
408373412d dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2020-12-09 15:04:45 +01:00
Mateusz Jablonski
b6a20f9b23 Move mock_gmm and mock_gdi to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-09 13:45:57 +01:00
Jaime Arteaga
86e25638d3 Set SysMan DDI to null if SysMan is not enabled
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-09 12:41:22 +01:00
Jaime Arteaga
beb3c5ed05 Add support for global work offset extension in L0
Add experimental extension to set global work offest in L0.
Current L0 specification does not have interface to export
experimental function symbols, so for now, applications need
to find the symbol like with dlsym on Linux.

A blackbox test showing functionality is also added.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-12-09 07:33:40 +01:00
wpjordan
ab14df5aa6 Revert "Add netlink and gen netlink library loader."
This reverts commit 864f069b8f.
2020-12-08 20:41:09 +01:00
Mayank Raghuwanshi
29254cb683 update <pid> case for zetSysmanProcessesGetState
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2020-12-08 19:55:03 +01:00
Mateusz Jablonski
9183a9b638 Correct shared tests
create mock_gmm target if not exists

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-08 19:31:57 +01:00
Adam Cetnerowski
988e8667ce ULT renaming: Linux DRM tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-12-08 17:44:05 +01:00
Bartosz Dunajski
4fb4d99a06 Remove aub test
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-12-08 16:59:40 +01:00
Artur Harasimiuk
ddca863c48 infra update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-08 11:19:06 +01:00
Kacper Nowak
4804eca86d Refactoring Level Zero ULTs in order to use standalone spirv builtins
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2020-12-08 09:19:05 +01:00
Mateusz Jablonski
c8d1e082dd Update getKernelInfo method
add root device index parameter to return proper kernel info

Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-08 09:14:44 +01:00
William Jordan
864f069b8f 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. ULTs updated.

Signed-off-by: William Jordan <bill.jordan@intel.com>
2020-12-08 01:40:25 +01:00
Filip Hazubski
edbda8e8b2 Pass HwInfo to computeSlmValues function
Resolves: NEO-5215, NEO-5216

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-07 20:23:28 +01:00
Filip Hazubski
0609a0915e Enable ULT
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-07 19:09:05 +01:00
Piotr Zdunowski
9a9bd6a805 Fix issue with creating image from buffer in local memory.
Resolves: NEO-4605

Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-12-07 16:39:29 +01:00
Zbigniew Zdanowicz
b4a901ac1c Fix aligned address for USM pointers
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-12-07 15:25:04 +01:00
Filip Hazubski
3770048532 Update parsing of -internal_options in ocloc
Add internal options provided by the user after
the generated internal options.

Related-To: NEO-5152

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-12-07 15:15:16 +01:00
Mateusz Jablonski
0d943e95c4 Store KernelInfo per root device in Kernel
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-07 12:22:28 +01:00
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