Mateusz Jablonski
06bd405e88
feature: add debug flag to control usage of heap extended for USM Host
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-25 15:39:49 +02:00
Fabian Zwolinski
2022592f3d
Apply CamelCase for class and struct names 2/2
...
Additionally change .clang-tidy not to ignore struct names.
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-25 13:10:23 +02:00
Dunajski, Bartosz
6e9257c623
Debug flag to force early exit
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-04-25 09:44:44 +02:00
Lukasz Jobczyk
853a65aae9
Add PCI barrier implementation
...
Resolves: NEO-7850
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-04-24 10:33:03 +02:00
Kacper Nowak
c7adbc2140
Add debug key for dumping ELF to file
...
Add "DumpZEBin" debug flag. When this flag is enabled, Zebin will be
dumped to a .elf file (with appropiate suffix, in case such file has
been dumped before).
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
Related-To: NEO-7895
2023-04-18 20:40:25 +02:00
Dominik Dabek
411ed1c643
feat: direct submission variable timeout
...
Add mechanism to increase direct submission timeout up to a maximum
value when no new submissions were made since last sleep.
This should help in workloads that have delays between iterations larger
than current direct submission controller timeout.
Related-To: NEO-7878
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-04-18 17:33:55 +02:00
Fabian Zwolinski
b909b03b02
Rename OpenCL Platform Name
...
- Rename "Intel(R) OpenCL HD Graphics" -> "Intel(R) OpenCL Graphics"
- Add and implement new DebugVariable - OverridePlatformName - for
overriding Platform Name in OpenCL
Related-To: NEO-7826
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-17 11:09:32 +02:00
Kacper Nowak
e19e006370
feat(zebin): Add debug flag for logging ZE Info
...
Add debug key LogZEInfo for logging ZE Info from zebin elf.
ZE Info will be dumped to a file (default igdrcl.log)
Related-To: NEO-7895
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-04-14 17:14:07 +02:00
Mateusz Jablonski
e4a446df58
feature usm: add debug flag to allocate shared USM in heap extended
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-13 11:30:09 +02:00
Konstanty Misiak
1f37e69fd2
Refactor of IO functions
...
Related-To: NEO-4562
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2023-04-13 10:46:47 +02:00
Milczarek, Slawomir
8e04a7a83f
Access counters mode to not rely on KMD cross-tile migrations (by default)
...
Add new regkey KMDSupportForCrossTileMigrationPolicy
(disabled by default, in absence of KMD suppport for cross-tile migrations)
to control placement of shared allocation and memory prefetch behavior.
Related-To: NEO-7885
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-04-11 15:56:14 +02:00
Zbigniew Zdanowicz
1fcf564cc1
Enable state base address tracking
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-04-07 11:22:24 +02:00
Compute-Runtime-Validation
e1af516c25
Revert "Enable state base address tracking"
...
This reverts commit 6a08d29869 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-04-04 11:37:19 +02:00
Zbigniew Zdanowicz
a5179aae0b
[perf] add debug key and control variable to command list primary buffer
...
Related-To: NEO-7807
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-04-04 10:58:11 +02:00
Zbigniew Zdanowicz
6a08d29869
Enable state base address tracking
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-04-03 15:26:09 +02:00
Dunajski, Bartosz
78cad1e3c0
Fix debug variable data type
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-04-03 11:34:38 +02:00
Milczarek, Slawomir
50da94dc56
Add regkey to force prefetch of shared memory in cmd list execute
...
Add the regkey ForceMemoryPrefetchForKmdMigratedSharedAllocations
to force meory prefetch of kmd-migrated shared allocation
in zeCommandQueueExecuteCommandLists().
Related-To: NEO-7841
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-04-03 11:14:18 +02:00
Milczarek, Slawomir
4e6995bc4c
Set VM advise with preferred location to device by default
...
Apply the KMD advise with preferred device location for KMD-migrated
shared allocation to migrate to lmem on every GPU page fault
(default KMD migration policy).
Related-To: NEO-7851
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-03-30 17:04:23 +02:00
Milczarek, Slawomir
5936734550
Add regkey to set preferred location for kmd-migrated shared allocation
...
The regkey SetVmAdvisePreferredLocation sets the KMD VM advise
with preferred location for KMD-migrated shared allocation
(default - none, 1 - system, 2 - device memory).
Related-To: NEO-7252
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-03-27 12:48:46 +02:00
Dunajski, Bartosz
b3c2fa41c5
OCL: Optimize IOQ barriers handling
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-24 12:52:47 +01:00
Zbigniew Zdanowicz
b4cce380c8
Revert "Enable state base address tracking"
...
This reverts commit 6fb905acb2 .
Resolves: HSD-18028477709
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-24 10:20:36 +01:00
Cencelewska, Katarzyna
1624ad911b
wa: set flag ForceDummyBlitWa to -1 to apply wa properly on mtl
...
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-03-22 13:32:15 +01:00
Compute-Runtime-Validation
7b5897d585
Revert "wa: set flag ForceDummyBlitWa to -1 to apply wa properly"
...
This reverts commit 095f5a773a .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-22 10:42:46 +01:00
Zbigniew Zdanowicz
6fb905acb2
Enable state base address tracking
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-21 15:53:24 +01:00
Cencelewska, Katarzyna
095f5a773a
wa: set flag ForceDummyBlitWa to -1 to apply wa properly
...
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-03-20 09:41:31 +01:00
Fabian Zwolinski
1e4c91fb08
Do not disable scratch pages when dbgr is enabled
...
Related-To: NEO-7990
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-03-14 15:03:18 +01:00
Compute-Runtime-Validation
e3a80f0bc1
Revert "Enable state base address tracking"
...
This reverts commit 8b9078127f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-12 07:38:57 +01:00
Zbigniew Zdanowicz
8b9078127f
Enable state base address tracking
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-10 17:32:40 +01:00
Dominik Dabek
69a16fd3ed
feature: check indirect access for kernel
...
Do not make indirect allocations resident if kernel does not use
indirect access.
For both level zero and opencl.
Currently disabled by default, enable with debug flag
DetectIndirectAccessInKernel
Related-To: NEO-7712
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-03-08 16:58:26 +01:00
Spruit, Neil R
9aa4275fda
Check for valid stype before reading Device Properties pNext
...
Related-To: LOCI-3884
- Added check for valid device properties stype to remove the feature
specific debug vars that enabled/disabled reading of the pNext.
- Requires applications to properly set the device properties stype
in order for the pNext to be read for extensions.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-03-07 18:20:10 +01:00
Jaime Arteaga
55952d33df
feature: Enable use KMD calls in prefetch APIs
...
If applications call Prefetch APIs, like
zeCommandListAppendMemoryPrefetch and
clEnqueueMigrateMemINTEL, then enable the use of KMD calls
by default.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-03-07 16:31:50 +01:00
Cencelewska, Katarzyna
50da32ffb1
wa: add dummy blits before command MI_ARB_CHECK
...
to guarantee that all subblt got complete for previous copy
affect xe hpg
Related-To: NEO-7450
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-03-07 10:21:05 +01:00
Michal Mrozek
5dda2dba61
Remove not needed debug variables.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2023-03-07 10:05:28 +01:00
Jaime Arteaga
a87fd77fd4
feature: Add debug key to enable cross-shared concurrent p2p access
...
Current support in the stack does not allow for concurrent access to
shared-allocations from host and peer devices when using page-faults.
So disable caps for now and introduce debug key for experimentation.
Access will be added by default as support in the stack becomes
available.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-03-02 18:29:28 +01:00
Dunajski, Bartosz
6b7c4564d5
Optimize CPU copy path during appendMemoryCopy call
...
Instead of sending appendBarrier, wait for Events on host.
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-02 08:13:37 +01:00
Zbigniew Zdanowicz
d3c99f6414
Add level zero heap addressing enum, property and debug key
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-01 18:28:00 +01:00
Lukasz Jobczyk
3ebcb30244
Enable copy command buffer into ring buffer
...
Resolves: NEO-7422
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-28 08:17:44 +01:00
Compute-Runtime-Validation
859a80114b
Revert "Enable LUID Extension by Default"
...
This reverts commit e1dbc98531 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-02-27 03:06:11 +01:00
Compute-Runtime-Validation
8fb6206b7b
Revert "Enable copy command buffer into ring buffer"
...
This reverts commit eb73d86784 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-02-26 03:42:44 +01:00
Spruit, Neil R
e1dbc98531
Enable LUID Extension by Default
...
Related-To: LOCI-3884
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-02-24 22:49:16 +01:00
Lukasz Jobczyk
eb73d86784
Enable copy command buffer into ring buffer
...
Resolves: NEO-7422
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-23 13:24:39 +01:00
Daria Hinz
acececc214
feat: Add device IP version extension
...
This change introduces an extension to query the device IP version for L0,
which corresponds to the PRODUCT_CONFIG value.
For OCL, the old mechanism is maintained with a debug flag,
and the default behavior has been unified with L0.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7735
2023-02-23 10:20:42 +01:00
Lukasz Jobczyk
2f5be7a48d
Copy command buffer into ring buffer
...
Resolves: NEO-7422
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-22 16:37:34 +01:00
Mateusz Jablonski
51887af219
refactor OCL: cleanup after moving multi root device buffers to local mem
...
remove debug flag AllocateBuffersInLocalMemoryForMultiRootDeviceContexts
Related-To: NEO-5735
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-15 09:41:20 +01:00
Mateusz Jablonski
272427bb1c
Feature OCL: allocate multi root device buffers in local memory
...
Related-To: NEO-5735
Resolves: NEO-7092
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-02-13 14:30:25 +01:00
Lukasz Jobczyk
7eb91e3b04
Split the L0 BCS split into D2H and H2D
...
-use separate pair of engines for D2H and H2D transfers
Related-To: NEO-7716
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-02-13 14:17:39 +01:00
Warchulski, Jaroslaw
5ec9de90ee
Cleanup includes 52
...
Cleaned up files:
level_zero/core/source/driver/driver.h
level_zero/tools/source/sysman/fabric_port/windows/os_fabric_port_imp.h
level_zero/tools/source/sysman/pci/os_pci.h
shared/source/debug_settings/debug_settings_manager.h
shared/source/gmm_helper/page_table_mngr.h
shared/source/gmm_helper/windows/gmm_memory_base.h
shared/source/kernel/kernel_arg_metadata.h
shared/test/common/libult/linux/drm_mock.h
shared/test/unit_test/fixtures/command_container_fixture.h
shared/test/unit_test/fixtures/product_config_fixture.h
shared/test/unit_test/helpers/simd_helper_tests_pvc_and_later.inl
shared/test/unit_test/os_interface/hw_info_config_tests.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-02-13 11:39:34 +01:00
Jaime Arteaga
f3a8944027
Revert "Enable LUID Extension by Default"
...
This reverts commit 8b4fe7093d .
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2023-02-09 23:58:28 +01:00
Aravind Gopalakrishnan
d7a78db328
debug: Add debug key for custom event timeout
...
- This helps to investigate tests using debug key
Related-To: LOCI-3673
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2023-01-31 21:58:39 +01:00
Dunajski, Bartosz
1b488224fb
Enable RelaxedOrdering mode only if there are more than 2 clients
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-01-31 14:23:53 +01:00