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
Spruit, Neil R
364c2da9fb
feature: Add Support for zeMemPutIpcHandle & zeMemGet IPC Handle converters
...
Related-To: LOCI-4172, LOCI-4305, LOCI-4306
- Create a new IPC Memory handle upon call to getIpcMemHandle if the
previous handle has been freed.
- Release the Ipc Memory Handle when zeMemPutIpcHandle is called.
- Create a new IPC Handle for tracking thru zeMemGetAllocProperties
when ze_external_memory_export_fd_t is used.
- Convert FD to opaque IPC handle and IPC Handle to FD.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-04-27 03:53:52 +02:00
Fabian Zwolinski
c441e9e971
refactor: Rename member variables to camelCase
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-26 16:05:07 +02:00
Dunajski, Bartosz
14c3777409
feature: Experimental support of immediate cmd list in-order execution [1/n]
...
Related-To: LOCI-4332
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-04-26 13:15:59 +02:00
Lukasz Jobczyk
e35a7746a4
fix: Restore sfence in PCI barrier
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-04-26 11:43:44 +02:00
Compute-Runtime-Validation
79800d235c
Revert "feature: enable checking indirect access"
...
This reverts commit 6ec044563f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-04-26 04:28:13 +02:00
Diedrich, Kamil
26ca64bb28
Add process safety to cl_cache on Linux
...
Current flow will be to have one synchronization point
config.file. Read remains unblocking, only write(caching)
operation will be blocking (lock on config.file)
Related-To: NEO-4262
Signed-off-by: Diedrich, Kamil <kamil.diedrich@intel.com >
2023-04-25 17:35:40 +02:00
Milczarek, Slawomir
c9fdeb200c
[perf] Prefetch of kmd-migrated shared allocation with initial placement on GPU
...
Related-To: NEO-7646
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-04-25 17:27:33 +02:00
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
Lukasz Jobczyk
f509ac3fce
Remove UseDrmVirtualEnginesForBcs from CAL config
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2023-04-25 14:27:31 +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
Krzysztof Gibala
16db7cc890
fix: Add missing checks in multi gpu scenario
...
- Check allocation root device index during eviction
- Wait for and marked allocation only from the current root device index
Related-To: NEO-7920
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2023-04-24 23:26:28 +02:00
Maciej Bielski
d4de925711
refactor: add isKernelIsaAllocationType helper
...
Preparatory step, the helper will be also used by following changes.
Related-To: NEO-7788
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2023-04-24 17:16:11 +02:00
Fabian Zwolinski
e2e00413a8
Apply CamelCase for class and struct names
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2023-04-24 15:36:27 +02:00
Dominik Dabek
6ec044563f
feature: enable checking indirect access
...
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-04-24 14:57:50 +02:00