Commit Graph

1576 Commits

Author SHA1 Message Date
Kacper Nowak
c9cb58ec8e Wrap L0 exported functions to prevent symbol collision
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-05-31 21:52:16 +02:00
Mateusz Hoppe
8d50aaeac0 Cleanup cmake files
remove unnecessary string(CONCAT ...)
remove unused function

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-31 15:37:16 +02:00
Zbigniew Zdanowicz
afceaa6e19 Use system fence only when using system allocations or system scope event
Related-To: NEO-6959

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-31 12:55:30 +02:00
Mateusz Jablonski
16fd791a7c Fix L0: reuse partially linked segments when performing dynamic linking
When module is created but not fully linked we don't copy ISA to GPU
however we need to store patched segments for dynamic linking

Related-To HSD-18022114161

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-30 17:12:30 +02:00
Zbigniew Zdanowicz
9e575532b3 Extend command list kernel interface
Related-To: NEO-6959

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-30 11:56:24 +02:00
Mateusz Hoppe
4f7f3830d7 Canonize SBA addresses before tracking
- STATE_BASE_ADDRESS is not always using canonical addresses
- make sure SBA addresses are canonized before tracking

Related-To: NEO-6997

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-30 08:31:19 +02:00
Igor Venevtsev
8c165a6f41 L0 Debugger Windows - implement debugger attach/detach
Related-To: NEO-6718

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-05-27 16:25:56 +02:00
Nagrodzki, Kacper
0bf3af37d3 Add zello_host_pointer black-box test
Signed-off-by: Nagrodzki, Kacper <kacper.nagrodzki@intel.com>
2022-05-27 13:10:41 +02:00
Filip Hazubski
35d1f2e341 Add debug flag to control programming of thread arbitration policy with SCM
Related-To: NEO-6801

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-05-27 11:35:41 +02:00
Daniel Chabrowski
6fd7ae7142 Cleanup headers
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-26 17:55:44 +02:00
Daniel Chabrowski
b5495169ca Enable implicit scaling via platform config
Related-To: NEO-6819
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-26 13:57:19 +02:00
Neil R Spruit
8c894fad5e Change Packed binary Returned in L0 GetNative to be the Target Device binary
- Packed Binary Returned to a customer in L0 GetNative is now
the target device's native binary.

Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2022-05-25 21:27:45 +02:00
Jaime Arteaga
359e848dbe Revert "Fix for task count hang issue"
This reverts commit 340ba8bf56.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-05-25 20:34:00 +02:00
Zbigniew Zdanowicz
2fd8540174 Add complete support for append memory ranges barrier in immediate command list
Related-To: NEO-6242

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-24 21:03:53 +02:00
Yates, Brandon
adc51c1b47 Set context debuggable when debugging is enabled
Related-to: NEO-6896
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-05-24 16:45:32 +02:00
Katarzyna Cencelewska
8ff34fea29 Fix typo
-engineGroupTyp to engineGroupType
-remove gap between commits to use same desc.ordinal in createCommandQueue

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-24 12:15:12 +02:00
Katarzyna Cencelewska
637767500d Add implementation for flag NodeOrdinal to l0
create method adjustCommandQueueDesc

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-24 11:10:59 +02:00
Zbigniew Zdanowicz
a7acec9a04 Block event signal until cache flush is completed
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-23 17:51:16 +02:00
Zbigniew Zdanowicz
7ca20ceb4b Change event algorithm to limit cache flush operation to single kernel packet
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-23 13:58:16 +02:00
Mateusz Hoppe
66c1727398 Program SIP end WA for non-copyOnly cmd queues
Resolves: NEO-6949

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-23 13:51:26 +02:00
Artur Harasimiuk
8f5467d3c6 test: create working dir for tests
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-23 12:02:01 +02:00
Zbigniew Zdanowicz
9b39a21fff Add new module tests and test kernels
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-20 22:30:50 +02:00
Mateusz Hoppe
fb40e8d1a6 Do not decanonize SBA addresses when tracking
- use cannonized addresses for debugger

Resolves: NEO-6997

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-20 11:58:42 +02:00
Kamil Diedrich
ddd8a08fac Add mechanism to avoid calling gdi calls while process exit
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-05-20 11:11:52 +02:00
Yates, Brandon
db6562c092 Add windows debugger feature check
Related-To: NEO-6717
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-05-20 08:42:59 +02:00
Zbigniew Zdanowicz
4be1ca618d Add command list tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-19 15:35:23 +02:00
Pawel Wilma
d9858bf206 Add debug variable to override device name
This commit introduces debug variable to override device name reported
by CL_DEVICE_NAME property in OpenCL and ze_device_properties_t.name in
level_zero

Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2022-05-19 15:16:13 +02:00
Compute-Runtime-Validation
9cf1fbd627 Revert "Add windows debugger feature check"
This reverts commit 65214e2e4c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-19 12:57:04 +02:00
Katarzyna Cencelewska
65e70c7a0f Refactor tests with magic numbers on xe_hpc
-Steppings not baseDieA0 is available only on pvc xt
-Convert to use proper configuration in specific tests scenarios

Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-19 12:00:43 +02:00
Zbigniew Zdanowicz
c25d2a1769 Moving tracing tests to core target
Related-To: NEO-4522

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-19 11:48:08 +02:00
Zbigniew Zdanowicz
b3bbbea1aa Add function tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-19 11:47:53 +02:00
Zbigniew Zdanowicz
6dc1e2d8c4 Adding command list memory extension unit tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-19 11:22:39 +02:00
Zbigniew Zdanowicz
955ef84306 Optimize number of dc flush to single after all dispatched builtin kernels
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-18 22:43:52 +02:00
John Falkowski
340ba8bf56 Fix for task count hang issue
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2022-05-18 19:35:12 +02:00
Mateusz Hoppe
1a04628393 L0 Debugger - disable compression in debugging mode
Resolves: NEO-6942

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-18 17:54:20 +02:00
Krystian Chmielewski
c59abbe495 Add option for extending cmdlist
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-05-18 14:49:50 +02:00
Yates, Brandon
65214e2e4c Add windows debugger feature check
Related-To: NEO-6717
Signed-off-by: Yates, Brandon <brandon.yates@intel.com>
2022-05-18 00:37:39 +02:00
Artur Harasimiuk
3f04769f07 style: configure readability-identifier-naming.FunctionCase
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-17 20:55:56 +02:00
Compute-Runtime-Validation
daf7829fa2 Revert "L0 Debugger Windows - implement debugger attach/detach"
This reverts commit f45431c173.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-05-17 19:02:11 +02:00
Igor Venevtsev
f45431c173 L0 Debugger Windows - implement debugger attach/detach
Related-To: NEO-6718

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-05-17 14:07:29 +02:00
Katarzyna Cencelewska
96e1eb7467 Move variables baseDieRev and baseDieA0Masked from xe_hpc to pvc
Pvc specific variables should be located in pvc struct

Related-To: NEO-6738
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-05-17 12:19:16 +02:00
Kamil Kopryk
99db73c034 Add debug flag to fail build program with stateful access
I've added debug flag FailBuildProgramWithStatefulAccess which makes
possible to fail build program/module creation
with stateful access(except builtins) on
pvc and later platforms.

Related-To: NEO-6075
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-05-17 11:01:05 +02:00
Zbigniew Zdanowicz
15733fc262 Add image and fence tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-16 18:51:25 +02:00
Artur Harasimiuk
7eafb1e877 remove unused code
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 18:15:03 +02:00
Mateusz Hoppe
c3f1b07183 L0Debugger - add ULT for immediate cmdlist notification
Resolves: NEO-6963

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-05-16 17:50:39 +02:00
Artur Harasimiuk
d643c587b9 style: correct variable naming
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 15:02:15 +02:00
Artur Harasimiuk
819e0f5515 style: configure readability-identifier-naming.LocalVariableCase
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-05-16 12:39:44 +02:00
Zbigniew Zdanowicz
24669e0219 Optimize number of dispatched pipe control commands
Related-To: NEO-6871

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-05-16 12:17:33 +02:00
Krystian Chmielewski
a5d8a22bac Add option for extending kernel
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-05-16 12:08:41 +02:00
Mateusz Jablonski
7db7d58851 test: zero-initialize properties in test body
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-05-16 11:48:46 +02:00