Compute-Runtime-Validation
57851a5d29
Revert "fix: set NotLockable flag when resource does not need to be lockable"
...
This reverts commit c597b03a33 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-05-14 04:55:30 +02:00
Mateusz Jablonski
c597b03a33
fix: set NotLockable flag when resource does not need to be lockable
...
disable compression preference when resource is lockable
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-12 13:15:50 +02:00
Compute-Runtime-Validation
b2b41e613b
Revert "fix: add alignment support to host and shared UnifiedMemoryAllocation"
...
This reverts commit c3df92ac41 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-05-12 13:04:08 +02:00
Mateusz Jablonski
bfd7067c1a
fix: create global and constant surface as lockable resource
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-12 10:55:36 +02:00
Diedrich, Kamil
5a4a2ab8ab
feature: Add new environment variables for compiler cache
...
This patch add new environment variables to control compiler cache.
Works as follow: If persistent cache is set driver check if NEO_CACHE_DIR
is set. If not then driver checks XDG_CACHE_HOME - If exists
then driver create neo_compiler_cache folder, if
not then driver checks HOME directory. If each NEO_CACHE_DIR,
XDG_CACHE_HOME and HOME are not set then compiler cache is disabled.
Current support is for Linux only.
Signed-off-by: Diedrich, Kamil <kamil.diedrich@intel.com >
Related-To: NEO-4262
2023-05-12 10:21:27 +02:00
Compute-Runtime-Validation
9bf472839d
Revert "fix: set NotLockable flag when resource does not need to be lockable"
...
This reverts commit 50c67a759e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-05-11 18:23:55 +02:00
Mateusz Jablonski
50c67a759e
fix: set NotLockable flag when resource does not need to be lockable
...
disable compression preference when resource is lockable
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-11 13:47:15 +02:00
Mateusz Jablonski
f3a89bfe07
fix: add missing settings of isLockable flag in WddmMemoryManager class
...
- allocateGraphicsMemoryUsingKmdAndMapItToCpuVA in case of no compression
- allocate32BitGraphicsMemoryImpl in case of allocate by KMD
remove redundant ctor of StorageInfo class
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-11 12:14:18 +02:00
Lu, Wenbin
c3df92ac41
fix: add alignment support to host and shared UnifiedMemoryAllocation
...
Related-To: LOCI-4334
Signed-off-by: Lu, Wenbin <wenbin.lu@intel.com >
2023-05-11 11:45:12 +02:00
Filip Hazubski
c4a80e193a
Revert "fix: set NotLockable flag when resource doesn't need to be lockable"
...
This reverts commit 7b2af39fd6 .
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-05-11 09:17:34 +02:00
Mateusz Jablonski
1948781b67
fix: set isLockable flag in storage info even if no memory banks are used
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-11 07:26:28 +02:00
Dominik Dabek
1ec5ae277c
feature: enable checking indirect access on pvc
...
Enable for zebin format but not CM kernels.
Use heuristic of simdSize == 1 to detect CM kernels.
Related-To: NEO-7712
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-05-10 11:38:00 +02:00
Mateusz Jablonski
7b2af39fd6
fix: set NotLockable flag when resource doesn't need to be lockable
...
disable compression preference when resource is lockable
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-10 10:16:24 +02:00
Daria Hinz
1d64b94f30
feature: Match config based on device & rev ID
...
This change matches the appropriate aot config
for the combination of device ID and revision ID.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7905
2023-05-10 08:22:09 +02:00
Dunajski, Bartosz
cfacbbd811
refactor: Simplify OverrideBlitterMocs usage
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-05-09 19:22:57 +02:00
Mateusz Hoppe
9c17cb9bd9
fix: add CLOEXEC flag when opening gpu cards
...
- close-on-exec prevents old file descriptor to leak when exec() is
called
Resolves: NEO-7944
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-05-09 11:53:57 +02:00
Dunajski, Bartosz
feff1c35cc
feature: Experimental support of immediate cmd list in-order execution [5/n]
...
Related-To: LOCI-4332
- Signal non-timestamp Walkers with in-order CL value
- Event host synchronization based on CL signal value
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-05-09 11:46:14 +02:00
Zbigniew Zdanowicz
01c20212c3
performance: limit number of copies of dirty flags and state values
...
Related-To: NEO-7828
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-05-09 09:45:41 +02:00
Kamil Kopryk
909bb00f22
fix: populate ipVersion before release helper creation
...
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-05-08 16:14:47 +02:00
Kamil Kopryk
a5765a9d8c
fix: correct matrix multiply capability on xe lpg
...
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-05-08 14:37:28 +02:00
Kamil Kopryk
ad2acc2b99
refactor: Add isAdjustWalkOrderAvailable to releaseHelper
...
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-05-08 08:58:17 +02:00
Warchulski, Jaroslaw
7fdf4985a3
feature: add support for cl_khr_external_memory extension
...
Related-To: NEO-7069
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-05-05 15:51:39 +02:00
Mateusz Jablonski
769a9e515e
fix: setup MultiTileArchInfo in Xe path
...
when discovering engines we know which tiles are available
Related-To: NEO-7931
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-05 15:21:11 +02:00
Warchulski, Jaroslaw
9a73fa195b
feature: Add support for CL_DEVICE_HANDLE_LIST_KHR
...
Related-To: NEO-6757
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2023-05-05 15:17:20 +02:00
Dunajski, Bartosz
c1f71ea7f7
feature: new conditional bb_start mode + aub tests
...
Related-To: LOCI-4332
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-05-05 14:40:17 +02:00
Mateusz Jablonski
b7d96314a0
fix: ensure resource info is created properly
...
the handle is not validated later, this change prevents nullptr dereference
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-05 13:08:34 +02:00
Spruit, Neil R
5633418891
fix: Don't fail on VM reserve with base address on windows
...
Related-To: LOCI-4333
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-05-04 20:05:16 +02:00
Filip Hazubski
e8ac22c265
fix: Increase size of reported global memory available to 98%
...
This change applies to Linux.
Resolves: NEO-7229
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-05-04 13:56:26 +02:00
Mateusz Jablonski
87aab0bf6e
fix: don't create fake memory regions in xe ioctl helper
...
populate memory info based on mem usage and gts info
propagate error from xeWaitUserFence function
Related-To: NEO-7931
Co-authored-by: Francois Dugast <francois.dugast@intel.com >
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-04 13:51:37 +02:00
Mateusz Jablonski
26a2a2829e
fix: don't create fake distance info in xe ioctl helper
...
populate multi tile engine info based on gt_id from xe engine info
Related-To: NEO-7931
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-04 08:21:28 +02:00
Bellekallu Rajkiran
d3a31957db
feature(sysman): Add delay for HBM diagnostics
...
Add debug variable to set sleep duration for HBM
IFR to complete
Related-To: LOCI-4298
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2023-05-03 20:27:21 +02:00
Filip Hazubski
9215d41b85
Revert "feature: Don't allow to build program with stateful accesses on PVC"
...
This reverts commit 1676c32c78 .
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2023-05-02 22:12:40 +02:00
Mateusz Jablonski
88c352c580
refactor: move query engine / memory info logic to ioctl helper
...
Related-To: NEO-7931
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-02 10:05:26 +02:00
Lu, Wenbin
5d653c8536
fix: Add alignment support to createUnifiedMemoryAllocation
...
Allows the user to use alignments > 64KB in `createUnifiedMemoryAllocation`
So that the restriction in `piextUSMDeviceAlloc` of the DPC++ runtime
could be lifted
Related-To: LOCI-4168
Signed-off-by: Lu, Wenbin <wenbin.lu@intel.com >
2023-05-02 09:19:23 +02:00
Mateusz Jablonski
74205f3f37
Revert "feature: enable allocating shared usm in heap extended host by default"
...
This reverts commit 26f16f4e98 .
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-05-02 09:12:26 +02:00
Aravind Gopalakrishnan
1883161e1e
fix: Add debug key to Force Tlb flush
...
Related-To: GSD-4457
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2023-05-01 17:52:22 +02:00
Diedrich, Kamil
5149d74141
refactor: Remove globaly enabled cl_cache
...
Current behaviour will be detecd path existence
Related-To: NEO-4262
Signed-off-by: Diedrich, Kamil <kamil.diedrich@intel.com >
2023-04-28 23:28:49 +02:00
Fabian Zwolinski
cbce863dc2
refactor: Rename member variables to camelCase 3/n
...
Additionally enable clang-tidy check for member variables
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-28 16:01:14 +02:00
Mateusz Jablonski
fd1ad7c1f0
feature: setup heap extended host size based on system memory size
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-28 15:23:01 +02:00
Kamil Kopryk
1676c32c78
feature: Don't allow to build program with stateful accesses on PVC
...
Related-To: NEO-6075
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-04-28 15:02:13 +02:00
Mateusz Jablonski
26f16f4e98
feature: enable allocating shared usm in heap extended host by default
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-28 13:18:20 +02:00
Mateusz Jablonski
55f6b142cd
fix: handle dot character in kernel name when parsing zebin
...
Related-To: NEO-7934
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-28 12:07:50 +02:00
Mateusz Jablonski
5a5c20f99c
fix: create separate heap for host and shared usm in 48-56b VA
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-28 10:09:38 +02:00
Cencelewska, Katarzyna
861ec524c6
fix: check icbe version only once when patchtoken
...
- set by default flag ZebinIgnoreIcbeVersion to true
- for zebin icbe version check is only inside flag
- only when use patchtoken then check icbe version is mandatory
Resolves: NEO-7904
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2023-04-28 09:26:02 +02:00
Kamil Kopryk
171e97e71a
feature: introduce release helper
...
Related-To: NEO-7786
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-04-27 21:38:08 +02:00
Fabian Zwolinski
e351a90f81
refactor: Rename member variables to camelCase 2/n
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-27 20:39:22 +02:00
Dominik Dabek
c84c7a0c91
performance: adjust thread group dispatch size
...
adjust thread group dispatch size on pvc if chosen size does not evenly
divide dimension
this is to avoid leftover thread groups
Related-To: NEO-7927
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-04-27 18:24:53 +02:00
Mateusz Jablonski
2f9135a4e6
fix: change type of container with registered engines per root device
...
use StackVec instead of unordered map
resize container at MemoryManager's creation time
Related-To: NEO-7925
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-27 17:06:42 +02:00
Milczarek, Slawomir
3ead7f6ac9
refactor: Simplify prefetch memory logic for kmd-migrated shared allocation
...
Related-To: NEO-7641
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-04-27 12:14:16 +02:00
Mateusz Jablonski
32d8a3bc6d
fix: store registered engines per root device
...
in most cases we need to iterate over engines associated to single root device
Related-To: NEO-7925
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-04-27 10:54:07 +02:00