Commit Graph

55 Commits

Author SHA1 Message Date
Mateusz Jablonski
ad184642a6 Use full path to include test.h 3/n
fix files in level_zero

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-15 13:42:33 +01:00
Grzegorz Choinski
2e68f0abbd lint revision update
Related-To: NEO-6441
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2021-11-23 12:50:25 +01:00
Zbigniew Zdanowicz
df6829f361 Use event pool init code for result of event pool api creation function
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-09 16:29:49 +01:00
Zbigniew Zdanowicz
3d3881e7ad Remove not needed virtual function from tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2021-11-05 12:04:14 +01:00
Mateusz Jablonski
ae610ea602 Remove compute_runtime_mockable_extra lib
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-27 17:41:17 +02:00
Mateusz Jablonski
260997ccd1 Cleanup cross component dependencies
dont link opencl lib to non-opencl targets
link compute_runtime_mockable_extra only to l0 targets
reuse include paths and definitions from neo_shared lib

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-25 11:05:18 +02:00
Mateusz Jablonski
ef3f93a178 Create neo_libult target
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-22 16:55:07 +02:00
Mateusz Jablonski
391e691cc1 Rename igdrcl_libult_common to neo_libult_common
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-22 14:46:16 +02:00
Mateusz Jablonski
802a272c5f Move mock_gmm_memory to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-22 13:46:46 +02:00
Mateusz Jablonski
271e0ee7fe Move ult dxgi/dxcore factories to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-19 20:17:02 +02:00
Mateusz Jablonski
76b1574618 Remove redundant test_mode.h files
cleanup include directories

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-13 15:44:30 +02:00
Mateusz Jablonski
5f97ff1513 Move common test files to shared libult
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-07 19:44:34 +02:00
Mateusz Jablonski
7187769744 Move kernel binary helpers to shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-06 13:41:34 +02:00
Artur Harasimiuk
9bea74a780 move mock_memory_manager to shared
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-05 16:22:38 +02:00
Aravind Gopalakrishnan
c4d6802684 Fix ult coverage gap for memory extensions
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2021-09-28 21:57:10 +02:00
Jaroslaw Chodor
996dd18b76 WSL - partition layout for 48-bit limited addressing
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-09-28 18:09:46 +02:00
Artur Harasimiuk
1ec3035cb1 rename igdrcl_libult_cs to neo_libult_cs
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-09-22 10:56:29 +02:00
Artur Harasimiuk
b505bcdf79 move custom event listener to shared
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-09-20 16:46:50 +02:00
Artur Harasimiuk
7b71471d4b fix Level Zero ULT compilation issue on gcc11
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-08-19 14:38:22 +02:00
davidoli
700aecb384 Fix tracer disable re_enable bug
Related-To: LOCI-2395

Signed-off-by: davidoli <david.olien@intel.com>
2021-08-14 20:23:47 +02:00
Artur Harasimiuk
c3eb876943 disable compiler optimizations for ULT
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-08-14 13:32:46 +02:00
Kamil Diedrich
2afb785bba Add AIL functionality
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2021-08-02 15:31:58 +02:00
Brandon Yates
52ad8b0977 Update L0 Loader to 1.4.1 (v1.2 spec)
Also make changes to debug API to mitigate API break

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2021-06-23 19:27:50 +02:00
Kacper Nowak
ca4068aafc Create shared libult_common object library
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-06-12 09:46:42 +02:00
Jaroslaw Chodor
b80a51e5bf Adding wsl_compute_helper
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-06-07 14:36:21 +02:00
Artur Harasimiuk
a4b2543b38 cmake cleanup
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-06-01 10:24:51 +02:00
Kacper Nowak
f883376e61 Move test configuration files to shared/common directory
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2021-05-25 16:12:31 +02:00
lgotszal
3bd4bca911 Copyright header update
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).

Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Pawel Cieslak
5eae946fe3 Do not override LD_LIBRARY_PATH when running tests
Related-To: NEO-5632
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-05-14 11:57:26 +02:00
Jaroslaw Chodor
3ae75b39fb Changing win dev discovery to DXCoreAdapterFactory
Second try - keeping legacy path as fallback

Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-05-13 22:31:48 +02:00
Compute-Runtime-Validation
5d90594d9d Revert "Changing win dev discovery to DXCoreAdapterFactory"
This reverts commit 83143c4318.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-05-11 12:40:03 +02:00
Jaroslaw Chodor
83143c4318 Changing win dev discovery to DXCoreAdapterFactory
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2021-04-30 15:57:35 +02:00
Mateusz Hoppe
223a42c3c7 Refactor DebugSession creation
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2021-04-07 14:40:02 +02:00
Filip Hazubski
9a8125cdb0 Correct formatting
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-16 10:29:41 +01:00
Pawel Cieslak
8a700c5187 Move non-ult shared files to single directory
Add SKIP_SHARED_UNIT_TESTS flag

Related-To: NEO-5201
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2021-02-10 21:03:13 +01:00
Adam Cetnerowski
13961eea3f ULT renaming: Miscellaneous Level Zero and Sysman tests
Related-To: NEO-2236

Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2021-02-02 11:54:59 +01:00
Konstanty Misiak
e665111013 Verify debug manager state in UltConfigListener
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-12-18 14:18:36 +01:00
Artur Harasimiuk
05ab806126 cmake: refactor unit tests targets dependencies
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-12-14 14:57:42 +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
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
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
Jaime Arteaga
438ad860ab Zero-initialize memory allocation descriptors in L0 tests
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-11-25 07:58:36 +01:00
davidoli
2fe425dc22 Improve thread private data destructor to be more robust
These changes make the at-exit processing of destructors
less sensitive to the order in which destructors are
called.

Without this change, if the destructor for the
list of thread private data pointers is called first,
then the thread private data destructor will segfault.

Change-Id: I4767de682eacf32bba874555532d043415bbea61
Signed-off-by: davidoli <david.olien@intel.com>
2020-10-29 12:22:14 +01:00
Mateusz Hoppe
a5c556fe11 Create TestEnvironment in ze_intel_gpu_core_tests
Change-Id: I85306b59e220c34ee6b43790b59f5ad96ea51eca
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-09-11 09:53:58 +02:00
Mateusz Hoppe
5a3a4537f9 Fix tracing tests
Related-To: NEO-5009

Change-Id: Ib825b5bafeaffbb77a97de58311fe5883dc0878c
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-08-24 16:08:48 +02:00
davidoli
e729995f2c Tracing wrapper ULTs added to master branch
Change-Id: Ib502bcf4c21408b75703e87b7377f09b4dae3677
Signed-off-by: davidoli <david.olien@intel.com>
2020-08-22 19:57:04 +02:00
Pawel Cieslak
fb821f21f5 Cmake format script
Related-To: NEO-1157

Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-08-19 16:36:30 +02:00
davidoli
39c8fe6762 Update tracing to complete 1.0 API
Change-Id: Ib033df168cd6620b8e910eeb9d4661fef83560f6
Signed-off-by: davidoli <david.olien@intel.com>
2020-08-07 15:11:46 -07:00
davidoli
766011ba87 Fix prototype declarations in tracing header files.
Change-Id: I5df75f26e6ad92176df6accddebd5d1d81c5b790
Signed-off-by: davidoli <david.olien@intel.com>
2020-08-05 17:45:06 -07:00
davidoli
62b0efd122 fix prototype declaration for zeCommandQueueSynchronize_Tracing()
Change-Id: Id118a0437bedd75ce06cd6a3a208ae66fc204d4a
2020-08-05 11:58:24 -07:00