Kamil Diedrich
1044a8aeee
Add support for USM shared in WSL for dGPU
...
This patch force KMD allocation path for USM host allocation
and also for host part of USM shared allocation
Related-To: NEO-6913
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-10-20 11:26:24 +02:00
Warchulski, Jaroslaw
90bc1a69d2
L0Debug - wait for the thread to start
...
Related-To: NEO-7322
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-10-20 10:44:16 +02:00
Joshua Santosh Ranjan
a93edd8620
Support for FabricEdge APIs
...
Related-To: LOCI-3377
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-10-20 10:43:25 +02:00
Kacper Nowak
553e194379
Ocloc: Enhance ocloc ULTs - ensure compatibility with zebin
...
This commit fixes ocloc ULT failure with zebin enabled by default.
Remove depencendy on precompiled binaries, instead use mock CTNI binary.
Related-To: NEO-7383
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-10-20 07:50:18 +02:00
Compute-Runtime-Validation
4a3862b514
Revert "Add ze_eu_count_t to get total number of EUs"
...
This reverts commit 2b963c7359 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-20 06:53:14 +02:00
Yates, Brandon
789a53e8f8
L0 Debug - Don't pollute debug log with event timeouts
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-10-19 17:26:31 +02:00
Krystian Chmielewski
510ba12cbc
Use DSS when calculating max wgs on TGLLP and DG1
...
Use DualSubSlice count instead of SubSlice count when calculating wgs on
TigerLake LP and DashG1.
Related-To: NEO-5719
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-19 12:23:51 +02:00
Mateusz Hoppe
5bd4b9eb48
Do not call DebuggerOpen ioctl again on EBUSY
...
Resolves: NEO-7429
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-19 10:26:35 +02:00
Dominik Dabek
abe4e0cb91
Fix case style
...
Test fixture classes will use correct camel case
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-10-19 09:41:45 +02:00
Dominik Dabek
d1a6054af9
enable create subBuffer from pooled buffer
...
Allow creating subBuffer from buffer from buffer pool allocator
by redirecting the call to the pool buffer and adjusting offset
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-10-19 09:33:10 +02:00
Kacper Nowak
f06df021b5
feat(zebin): Add support for indirect stateless count
...
Add support for newly added indirect statelss count check;
populate related field in kernelInfo.
- Move hasIndirectStatelessAccess check from KernelInfo to
KernelDescriptor.
Related-To: NEO-7428
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-10-19 07:58:02 +02:00
Jaime Arteaga
2b963c7359
Add ze_eu_count_t to get total number of EUs
...
Related-To: LOCI-2667
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-10-19 07:17:25 +02:00
Compute-Runtime-Validation
e744116bbb
Revert "Add support for USM shared in WSL for dGPU"
...
This reverts commit 68d0523ccf .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-19 05:05:55 +02:00
Compute-Runtime-Validation
fb453f5190
Revert "Enable flush task for immediate command lists"
...
This reverts commit a4eb78d524 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-19 03:32:53 +02:00
John Falkowski
0b2491f9e6
createSampler returns error for PVC
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2022-10-18 18:13:34 +02:00
Aravind Gopalakrishnan
a4eb78d524
Enable flush task for immediate command lists
...
Enabling for all platforms
Related-To: LOCI-3379
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-10-18 17:17:05 +02:00
Zbigniew Zdanowicz
565d820933
Replace virtual method call for DC flush with stored bool value 3/n
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-10-18 15:04:02 +02:00
Kamil Diedrich
68d0523ccf
Add support for USM shared in WSL for dGPU
...
This patch force KMD allocation path for USM host allocation
and also for host part of USM shared allocation
Related-To: NEO-6913
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-10-18 14:00:14 +02:00
Jitendra Sharma
6a73001a3f
Implement zesSchedulerComputeUnitDebugMode sysman Api
...
Related-To: LOCI-866
Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com >
2022-10-18 13:43:29 +02:00
Krystian Chmielewski
c224fd0666
Require LWS to be in ascending format X >= Y >= Z
...
This change fixes problem with memory locality.
When calculating work group size do not take into account
work group sizes where there's bigger number of elements in
higher dimensions namely: Y>X or Z>Y.
Related-To: NEO-5719
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-18 13:23:57 +02:00
Mateusz Hoppe
0fdb308207
Use correct context for validateHostPtr
...
- with per context VMs, context with subdeviceBitfield must
be selected
Resolves: NEO-7426
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-18 13:10:28 +02:00
Yates, Brandon
3fced92766
L0 debugger - decanonize SDI address before adding to buffer
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
22.43.24558
2022-10-17 20:22:17 +02:00
Artur Harasimiuk
6bcb2ea063
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-10-17 18:28:41 +02:00
Matias Cabral
4affe9907c
Update SLM access offset behavior
...
Related-To: NEO-5998
Signed-off-by: Matias Cabral <matias.a.cabral@intel.com >
2022-10-17 18:07:27 +02:00
Zbigniew Zdanowicz
3d1dba3d10
Update test cmake file
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-10-17 18:00:18 +02:00
Rafal Maziejuk
fc1a1b975a
Remove check for symmetrical SKU on XE_HPC_CORE
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-6989
2022-10-17 17:47:35 +02:00
Rafal Maziejuk
7865975aca
Correct check for symmetrical SKU on XE_HPC_CORE
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-6989
2022-10-17 16:03:58 +02:00
Patryk Wrobel
2dd3c11248
Do not copy ze_ipc_mem_handle_t in internal functions of NEO
...
The size of this type is at least 64 bytes due to
ZE_MAX_IPC_HANDLE_SIZE. This change introduces usage
of const reference instead of copying.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-10-17 13:51:03 +02:00
Patryk Wrobel
90597995d2
Do not copy ze_ipc_event_pool_handle_t in internal functions of NEO
...
The size of this type is at least 64 bytes due to
ZE_MAX_IPC_HANDLE_SIZE. This change introduces usage
of const reference instead of copying.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-10-17 13:17:24 +02:00
Compute-Runtime-Validation
5e36b1fcbf
Revert "Calculate CS timestamp based on OA timestamp and frequencies ratio"
...
This reverts commit 03c528382f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-16 11:14:46 +02:00
Joshua Santosh Ranjan
b2c80be6f9
Fix typo and error check when retrieving pci information
...
Fix
1. typo PhysialDevicePciSpeedInfo to PhysicalDevicePciSpeedInfo
2. error check to verify open() call
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
22.42.24548
2022-10-14 14:57:07 +02:00
Mateusz Hoppe
95505d87a5
L0Debug - fix interrupt
...
- pass deviceIndex based on deviceBitfield
- do not call ioctl again on EBUSY error
Resolves: NEO-7414
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-14 13:56:57 +02:00
Szymon Morek
647321af6f
Remove O(n) lookup in command container destructor
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-10-14 13:24:07 +02:00
Lukasz Jobczyk
f4c40c74cb
Flush tag update if any heap was allocated
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-10-14 13:12:43 +02:00
Joshua Santosh Ranjan
42e58fd301
Fix pNext usage for ZE_STRUCTURE_TYPE_DEVICE_MEMORY_EXT_PROPERTIES
...
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-10-14 12:41:18 +02:00
Dominik Dabek
e151bc6e2d
[OCL] Flag for allocating small buffers from pool
...
Improves performance in workloads that create small opencl buffers.
To enable, set env var ExperimentalSmallBufferPoolAllocator=1
Known issues (will be addressed in further commits):
- cannot create subBuffer from such buffer
- pool buffer allocation should be reused
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-10-14 12:18:42 +02:00
Lukasz Jobczyk
4faf1eeb52
Flush tag update while enqueue mem fill
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-10-14 11:46:39 +02:00
Aravind Gopalakrishnan
f9fab3ff49
Update SBA in hybrid immediate and regular commandlist usages
...
Fix to check and update heap states.
Related-To: LOCI-3379
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-10-14 11:42:06 +02:00
Zbigniew Zdanowicz
d944efabc9
Add diagnostic modes to implicit scaling dispatcher
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-10-14 11:08:24 +02:00
Lukasz Jobczyk
8b640ca00d
Obtain thread count only if needed
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-10-14 10:52:44 +02:00
Milczarek, Slawomir
9bc7c48206
Enable kmd-migrated shared allocation with multiple BOs by default
...
Related-To: NEO-7395
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-10-14 09:51:14 +02:00
Mayank Raghuwanshi
d3ebf4677b
Add ults for windows sysman firmware
...
Related-To: LOCI-3436
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2022-10-14 07:29:08 +02:00
Spruit, Neil R
33a587c704
L0 to read Device LUID from the WDDM driver given Debug Variable
...
- Added Support for reading the Device LUID of the given device used in
Windows WDDM given EnableL0ReadLUIDExtension=1.
- Added inital support for passing back the NodeMask of 1.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2022-10-14 02:46:40 +02:00
Krystian Chmielewski
a8c9458936
Unpack 32bit zebin correctly
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-13 21:10:03 +02:00
Szymon Morek
06e5b1cd42
Early preallocate command buffer to reuse for csr
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-10-13 19:43:38 +02:00
Mateusz Hoppe
502a9443f1
Set ENGINE_NODE_DIR from aubstream property
...
- do not use generator expression to print path
in MESSAGE()
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-10-13 19:09:21 +02:00
Katarzyna Cencelewska
03c528382f
Calculate CS timestamp based on OA timestamp and frequencies ratio
...
Resolves: NEO-7346
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-10-13 17:41:49 +02:00
Mateusz Jablonski
20bb97ece3
Correct printf formatting for %%
...
https://github.com/intel/compute-runtime/issues/536
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-10-13 17:31:17 +02:00
Kacper Nowak
2285772c7e
Disable zebin on pre-Gen12 platforms when debugger is active
...
On pre-Gen12 platform we use igfxdcd kernel module for debugging, which
does not support zebinary format.
- When platform is pre-Gen12 an and debugger is
attached, if binary format is zebin and it's not a builtin:
- If SPIR-V is available - force rebuild with zebin disabled
- Otherwise, return an error.
- Minor refactor: extend check for ir presence for each case of
rebuilt in OCL.
Related-To: NEO-7328
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-10-13 17:27:48 +02:00
Lukasz Jobczyk
4eeef388e2
Remove double free from bcs split L0
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-10-13 15:53:41 +02:00