Commit Graph

11001 Commits

Author SHA1 Message Date
Jim Snow
6b4375efcd Re-enable use case where application allocates own RTDispatchGlobals.
Implementation was assuming that if HasRTCalls is true then the
RTDispatchGlobals patch token is also valid, but that isn't the case
when the application is using its own RTDispatchGlobals instead of the
one provided by the L0 UMD.

Related-To: LOCI-3323

Signed-off-by: Jim Snow <jim.m.snow@intel.com>
2022-08-04 23:19:43 +02:00
Cencelewska, Katarzyna
61510e9a92 Revert optimization of gpgpu csr's mutex lock in the enqueue blit
optimization available under flag
ForceCsrLockInBcsEnqueueOnlyForGpgpuSubmission

Related-To: NEO-7011
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com>
2022-08-04 16:42:50 +02:00
Compute-Runtime-Validation
19cac22760 Revert "Add prelim ULTs for performance"
This reverts commit 4967e053b8.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-04 12:27:20 +02:00
Zbigniew Zdanowicz
020239102b Add immediate command list execution to scratch black box test
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-04 11:56:10 +02:00
Zbigniew Zdanowicz
77103bf724 Add improvements to level zero black box tests
destroy event and event pool resources
destroy kernel and module resources
pass context handle as reference
change function variable's name and comments to kernel
change variable names to more appropriate
drop driver from function argument in image test

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-04 11:35:42 +02:00
Milczarek, Slawomir
601ace6a25 Add unit test for append memory prefetch for regular command list
Related-To: NEO-6740

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-08-04 10:32:08 +02:00
Zbigniew Zdanowicz
3de620af15 create library with shared functions between black box tests
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-04 10:27:07 +02:00
Compute-Runtime-Validation
3a31caf44a Revert "Add member for handling additional adapterInfo fields"
This reverts commit aafbbf54db.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-04 09:36:36 +02:00
Wrobel, Patryk
140e744f4b Improve safety of pattern reading in appendMemoryFill()
Related-To: NEO-7233
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com>
2022-08-04 00:30:05 +02:00
Kulkarni, Ashwin Kumar
1898a82317 Defer Sysman Scheduler and Memory Initialization
With this change, init for sysman Scheduler/Memory API would
not be done during zeInit.
init and thereby Scheduler/Memory API handle creation would be done
only when user explicitly requests to enumerate handles
using zesDeviceEnumSchedulers/zesDeviceEnumMemory.

Related-To: LOCI-3127

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2022-08-03 23:35:54 +02:00
Bellekallu Rajkiran
4967e053b8 Add prelim ULTs for performance
Remove gmock usage from performance UTLs.

Related-To: LOCI-3218

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-08-03 21:06:46 +02:00
Choinski, Grzegorz
2a902cb646 infra update
Related-To: NEO-5615

Signed-off-by: Choinski, Grzegorz <grzegorz.choinski@intel.com>
2022-08-03 20:59:08 +02:00
Dunajski, Bartosz
98d776867f Add initial support for KernelArgsBuffer allocation
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-08-03 20:28:21 +02:00
ocldev
d3796b2b2d igc revision update
Signed-off-by: ocldev <ocldev@intel.com>
2022-08-03 16:18:36 +02:00
Kamil Diedrich
aafbbf54db Add member for handling additional adapterInfo fields
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-08-03 16:14:46 +02:00
Igor Venevtsev
9743e37fde Debugger L0 Win: fix broken ULT
givenNonZebinaryFormatWhenGettingDebugInfoThenDebugZebinIsNotCreated

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-08-03 12:53:55 +02:00
Filip Hazubski
64babcf22c Rename cl_intel_subgroup_matrix_multiply_accumulate extension
Use cl_intel_subgroup_matrix_multiply_accumulate in place
of previous cl_intel_subgroup_matrix_multiply_accumulate_for_PVC

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-08-03 11:46:29 +02:00
Mayank Raghuwanshi
94177389f9 Update memory transaction size for sysman memory module
Related-To: LOCI-3142

Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com>
2022-08-03 11:46:14 +02:00
Bellekallu Rajkiran
6fe263d0a3 Update zello_sysman bb test for power module
Add support for getPowerLimitsExt and setPowerLimitsExt.

Related-To: LOCI-3195

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-08-03 09:09:19 +02:00
Milczarek, Slawomir
046f9d95fc zeCommandListAppendMemoryPrefetch with memory prefetch manager
Related-To: NEO-6740

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-08-02 20:07:31 +02:00
Compute-Runtime-Validation
f4c8a146eb Revert "Remove Support for reading a function pointer of a kernel"
This reverts commit 299dcb8bd2.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-02 11:58:31 +02:00
Compute-Runtime-Validation
00ff0dc337 Revert "Destroy resource handle when created"
This reverts commit 5a6a90aa0e.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-08-02 11:04:10 +02:00
Kulkarni, Ashwin Kumar
cf55a92b79 Defer Sysman PCI, Global operations and Events Module Initialization
With this change, init for sysman PCI, Global operations and Events
API would not be done during zeInit.
init and thereby PCI, Global operations and Events API handle creation
would be done implicitly only when user explicitly calls any APIs.

Related-To: LOCI-3127

Signed-off-by: Kulkarni, Ashwin Kumar <ashwin.kumar.kulkarni@intel.com>
2022-08-02 08:56:04 +02:00
Milczarek, Slawomir
9f36b20423 Bind buffer object before calling vm prefetch
Related-To: NEO-6740

Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2022-08-01 15:03:21 +02:00
Zbigniew Zdanowicz
5a9292b3bc Add multiple level zero black box improvements
add aub mode where it is missing
add missing result checks
unify printing device properties
add printing kernel properties
use unified test result print when applicable
add module creation error handling
make OS agnostic global work offset test
use correct API to retrieve extension in global work offset test

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-01 14:07:49 +02:00
Bellekallu Rajkiran
f23f78e2cc Add support for extended power properties
Related-To: LOCI-3242

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-08-01 13:02:49 +02:00
Kamil Kopryk
582ed0565b Use memcpy_s instead of memcpy
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-08-01 12:43:29 +02:00
Mateusz Jablonski
97b5555d61 Remove test which depends on IGC output
Related-To: NEO-5449
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-08-01 12:36:34 +02:00
Zbigniew Zdanowicz
76ce5bc235 add option to immediate black box to share command list between test cases
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-08-01 12:30:27 +02:00
Neil R Spruit
299dcb8bd2 Remove Support for reading a function pointer of a kernel
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>
2022-08-01 12:28:39 +02:00
Aravind Gopalakrishnan
110adb50a9 Modify ZEX_HOST_MEM_ALLOC_FLAG_USE_HOST_PTR for shared allocs
If flag present, re-route to creating host allocs and honor the user pointer

Related-To: NEO-7004

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-07-29 07:45:16 +02:00
Dunajski, Bartosz
53a3cd2cdd Add method to merge LSH pipelined state during cmd list execution
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-07-28 17:32:53 +02:00
Bellekallu Rajkiran
599553d86c Add ECC test support to zello_sysman
Related-To: LOCI-3195

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-07-28 16:42:56 +02:00
Bellekallu Rajkiran
d02b45c9b9 Add support for power limit ext functions
Add support for getPowerLimitsExt and
setPowerLimitsExt functions.

Related-To: LOCI-3125, LOCI-3193

Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com>
2022-07-28 16:40:33 +02:00
Igor Venevtsev
4cb9ad5d55 Debugger L0 Win: implement module destroy event
Related-To: NEO-6723

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-07-28 15:55:40 +02:00
Zbigniew Zdanowicz
f17b46bc22 Reposition members of wddm classes
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-28 14:31:12 +02:00
Zbigniew Zdanowicz
c52a200087 Reorder debug flag definitions
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-28 14:30:57 +02:00
Mateusz Jablonski
50c0e07bec Move drm wrappers checks to separated cpp
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-28 13:23:06 +02:00
Kamil Diedrich
5a6a90aa0e Destroy resource handle when created
When allocation is created and createResource is set we need to
remove resourceHandle instead of allocation handle list otherwise
in long running application (a lot of allocations) we will observe
memory leak.

Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-07-28 13:22:52 +02:00
Andrey Alekseenko
cb18657cb8 Slightly improve "ocloc ids" output
- Add trailing newline, so the output looks nice in the terminal.
- "Uknown" -> "Unknown".

Signed-off-by: Andrey Alekseenko <al42and@gmail.com>
2022-07-28 11:48:58 +02:00
Rafal Maziejuk
af91f94098 Improve calculateAvailableThreadCount implementation
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
2022-07-28 11:43:14 +02:00
Kamil Kopryk
fe0c857f1a Cleanup includes 5/n
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-28 11:33:01 +02:00
Zbigniew Zdanowicz
0c301e5e99 Limit preemption programming in level zero command queues
When multiple command queues use the same context and retain the same state
No preemption programming for copy command queues
Program preemption preamble only for mid thread preemption

Related-To: NEO-7187

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-28 10:05:10 +02:00
Kamil Kopryk
17f22990e6 Cleanup includes 4/n
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-28 09:44:48 +02:00
Compute-Runtime-Validation
b3078cfbae Revert "Change DG2 l1 cache policy to WB"
This reverts commit 9a5e619c42.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-07-28 07:27:13 +02:00
Lukasz Jobczyk
fd99ea7259 Describe ZEX_HOST_MEM_ALLOC_FLAG_USE_HOST_PTR flag
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-07-27 18:06:30 +02:00
Mateusz Jablonski
6bdc920d21 Add wrappers for I915 macros for struct definition
Related-To: NEO-6999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-07-27 17:04:04 +02:00
Kamil Kopryk
0603819b68 Cleanup includes 3/n
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-27 15:28:13 +02:00
Zbigniew Zdanowicz
469ab367b1 Limit number of pipeline select commands when using multiple command queues
Related-To: NEO-7187

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-07-27 12:44:03 +02:00
Kamil Kopryk
5a3746df76 Cleanup includes 2/n
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-07-27 12:01:36 +02:00