Compute-Runtime-Validation
b11a64718a
Revert "feature usm: allocate shared USM in heap extended"
...
This reverts commit 03ed1e1e12 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-30 11:39:59 +02:00
Rafal Maziejuk
c8e900a97f
Delete 0x0BD1, 0x0BD2 and add 0x0B69 PVC config
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-7741
2023-03-30 09:56:25 +02:00
Compute-Runtime-Validation
6bb48ff809
Revert "feature: pvc, cpu copy in program init"
...
This reverts commit 4c891e80a5 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-30 07:51:25 +02:00
Bari, Pratik
b161af5886
Improve coverage in Fs Access
...
- Added ULTS to improve the code coverage in fs_access.
- Used the shared functions in the ULTs.
- Added the function for pwrite in the shared code.
Related-To: LOCI-2117
Signed-off-by: Bari, Pratik <pratik.bari@intel.com >
2023-03-30 04:21:18 +02:00
Compute-Runtime-Validation
52f21464cd
Revert "fix: check largeGrfMode in tests if supported"
...
This reverts commit 9a6bb4be10 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-29 20:16:32 +02:00
Mateusz Jablonski
03ed1e1e12
feature usm: allocate shared USM in heap extended
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-29 16:04:05 +02:00
Rafal Maziejuk
9a6bb4be10
fix: check largeGrfMode in tests if supported
...
Related-To: NEO-7357
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-03-29 13:21:16 +02:00
Milczarek, Slawomir
02a2a5e641
Extended ForceBCSForInternalCopyEngine to apply to L0 internal cmd list
...
Related-To: NEO-7252
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2023-03-29 12:02:09 +02:00
Mateusz Jablonski
7a03c78b0d
feature usm: allocate host USM in HEAP_EXTENDED
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-29 10:09:00 +02:00
Dominik Dabek
ff2e4f6066
feat: dont wait on fence in ulls switch buffers
...
Related-To: NEO-7797
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-03-28 23:45:56 +02:00
Dominik Dabek
4c891e80a5
feature: pvc, cpu copy in program init
...
Use cpu copy for globals surface when allocated through svm, allocation
not set as lockable but locking allocation succeeds.
Related-To: NEO-7796
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-03-28 23:23:40 +02:00
Rafal Maziejuk
b9828b543e
feature: adjust maxWorkGroupSize value
...
Related-To: NEO-7357
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-03-28 15:19:52 +02:00
Zbigniew Zdanowicz
6437c1a91e
Flush state caches after command list is destroyed
...
When state base address tracking is enabled and command list use private heaps
then command list at destroy time must calls all compute CSRs that were using
that heap to invalidate state caches.
This allows new command list to reuse the same heap allocation for different
surface states, so before new use cached states are invalidated.
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-28 14:52:30 +02:00
Zhenjie Pan
820a189c52
fix: only increase fence/task count when submit task success
...
Related-To: NEO-7812
Signed-off-by: Pan Zhenjie <zhenjie.pan@intel.com >
2023-03-28 14:15:36 +02:00
Mateusz Hoppe
d8f99161dd
fix: create VMs with correct flags when perContextVms used
...
Related-To: NEO-7813
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-28 13:09:46 +02:00
Mateusz Jablonski
5d482ffe87
refactor: add constexpr for tera byte
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-28 12:55:52 +02:00
Mateusz Jablonski
dd39b822d3
feature implicit args: patch rt dispatch global array in implicit args buffer
...
handle has_rtcalls in kernels and functions in zebin
Related-To: NEO-7818
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-28 12:31:38 +02:00
Mateusz Jablonski
7e5e27f0b9
feature usm: reserve heap extended in 57 bit address space
...
use mocked mmap function in unit tests
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-28 11:06:03 +02:00
Lu, Wenbin
ca02bbba4b
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-03-28 10:57:04 +02:00
Zhenjie Pan
1ce269a9dd
fix: wrong return value of zeCommandQueueExecuteCommandLists when OOM
...
zeCommandQueueExecuteCommandLists return ZE_RESULT_ERROR_UNKNOWN when OOM
in some scenario of direct submission.
Related-To: NEO-7840
Signed-off-by: Pan Zhenjie <zhenjie.pan@intel.com >
2023-03-28 09:52:17 +02:00
Kamil Kopryk
d77f2989c7
Correct dg1 host mem capabilities
...
Related-To: NEO-7470
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-03-28 09:29:05 +02:00
Daria Hinz
865154cdc4
fix: Update acronyms for MTL
...
This change adds new product config device
acronyms available for mtl and changes enum names.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2023-03-28 09:21:42 +02:00
Mateusz Hoppe
d344945625
fix: remove print from xe ioctl helper
...
- driver should not print to stdout
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2023-03-27 23:46:18 +02:00
Dominik Dabek
d7981e153e
fix(ocl): tweak resolve deps with pipecontrols
...
Keep resolving with semaphores if multiple (>2) queues are submitting to
the same CSR. In such case, semaphores allow concurrent execution while
pipecontrols would serialize it.
Related-To: NEO-7321
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2023-03-27 17:22:03 +02:00
Yates, Brandon
0f6140deb0
fix(l0debug): windows topology map should always be created
...
Topology map was only being created when ZET_ENABLE_PROGAM_DEBUGGING was
set. This was not correct. Now it is unconditionally created at init,
and debug attach will fail if it is not valid.
Related-to: LOCI-3937
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2023-03-27 16:24:57 +02:00
Kacper Nowak
f1c64adb3c
fix(ocl): Fix potential mem leak + simplify code
...
- Fix potential memleak in case ASSERT returns false and test gets
aborted
- Remove not needed function argument
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2023-03-27 13:31:42 +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
e49e245bec
Revert "Disable RelaxedOrdering if UpdateTagFromWait is disabled"
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-27 11:47:10 +02:00
Compute-Runtime-Validation
b1fba762fd
Revert "Correct dg1 host mem capabilities"
...
This reverts commit 41ac42978c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-26 13:21:41 +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
Kamil Kopryk
41ac42978c
Correct dg1 host mem capabilities
...
Related-To: NEO-7470
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2023-03-24 10:33:08 +01:00
Rafal Maziejuk
27ff1c911d
feature l0: handle additional properties in modules
...
Related-To: NEO-7357
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2023-03-24 10:27:44 +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
Spruit, Neil R
9a056318a4
fix_l0:Unbind immediately during unmap
...
- Explicitly force unbind of Buffer Objects during unmap to ensure that
Buffer Objects can be reused in the same application.
Related-To: LOCI-4162
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2023-03-23 18:47:48 +01:00
Maciej Bielski
3ec0a637ba
fix(l0): return API error on ISA allocation OOM
...
It is possible that a module has so many kernels that the 4GB limit of
GPU VA is depleted when each kernel allocates a 64 KB page for its own
ISA. In such case, propagate the ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY to
the API caller to indicate the actual problem.
Currently such scenario is not detected, the execution advances a bit
further and the following crashes do not let the user to easily
understand what happened.
Related-To: NEO-7788
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2023-03-23 17:30:15 +01:00
Zbigniew Zdanowicz
ef12312672
[perf] add selective properties update for one-time and multi-time properties
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-23 15:59:50 +01:00
Zbigniew Zdanowicz
38e50007f7
[perf] simplify memory layout of command container class
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-23 13:31:47 +01:00
Zbigniew Zdanowicz
179429b25c
Add stateless arguments checker for single kernel
...
Related-To: NEO-5055
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2023-03-23 10:55:15 +01:00
Dunajski, Bartosz
151aecc8bd
Disable RelaxedOrdering if UpdateTagFromWait is disabled
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2023-03-22 18:15:39 +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
Francois Dugast
e2a4cd0d48
xe: Add IOCTL support for GemCreate
...
This is needed to execute some workloads with iGPUs.
Signed-off-by: Francois Dugast <francois.dugast@intel.com >
2023-03-22 12:20:13 +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
Compute-Runtime-Validation
7785a27f2f
Revert "feature usm: allocate host / shared USM in HEAP_EXTENDED"
...
This reverts commit 2d0c61aa33 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2023-03-22 02:36:23 +01:00
Mateusz Jablonski
5610eae710
refactor: fix typo Barrierl -> Barrier
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-21 15:58:24 +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
Mateusz Jablonski
415d2cb121
fix xe: add missing wait on fence before unbind
...
Related-To: NEO-7306
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-21 15:37:44 +01:00
Mateusz Jablonski
2d0c61aa33
feature usm: allocate host / shared USM in HEAP_EXTENDED
...
Related-To: NEO-7665
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2023-03-21 15:31:33 +01:00
Igor Venevtsev
062abef8ef
Revert "Deferred deletion of allocations in main thread"
...
This reverts commit 2ea734491a .
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2023-03-20 18:17:15 +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
John Falkowski
a1e2eca9e8
Add zeMemGetAllocProperties extension for sub-allocations
...
Signed-off-by: John Falkowski <john.falkowski@intel.com >
2023-03-17 21:21:44 +01:00