Lukasz Jobczyk
7c572b4090
Do not free SVM alloc under SVM manager lock
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-12-02 12:36:10 +01:00
Lukasz Jobczyk
dbc6ac2743
Set alignment for SVM_CPU properties on xe_hpc and later
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-12-02 12:35:54 +01:00
Milczarek, Slawomir
7d202c7871
Update i915 prelim headers to v2.0-rc16
...
Related-To: NEO-5838
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-12-02 11:37:16 +01:00
Compute-Runtime-Validation
083471a158
Revert "Set alignment for SVM_CPU properties"
...
This reverts commit db89d2ce6b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-12-02 08:17:13 +01:00
Dunajski, Bartosz
85da0ee184
Enable flushTask path for BCS
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-12-01 20:10:21 +01:00
Jaime Arteaga
99655d34f9
Return a unique pointer for multiple calls to openIpcHandle
...
This to follow specification, which says:
zeMemOpenIpcHandle:
- Multiple calls to this function with the same IPC handle will return
unique pointers.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-12-01 18:42:54 +01:00
Maciej Bielski
d579a63730
Add helpers and debug prints for scratch/private allocations
...
Replace a loop with separate helpers to explicitly show differences
between per-HW-thread allocation types.
Related-To: NEO-7398
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2022-12-01 17:54:03 +01:00
Dunajski, Bartosz
6f283d7bf5
Debug flag to override fence start value
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-12-01 14:58:05 +01:00
Lukasz Jobczyk
db89d2ce6b
Set alignment for SVM_CPU properties
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-12-01 10:45:47 +01:00
Krystian Chmielewski
d4fe9298bf
fix(debug zebin): handle misaligned access
...
Handle misaligned access when aplying debug relocations in zebin.
Debug relocations entries have offsets which are not of natural
alignment, and need to be specificialy handled.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-12-01 10:45:17 +01:00
Spruit, Neil R
d81b0b14a1
L0 Virtual Memory Reservation support
...
- Enable support for L0 Virtual Memory reservation on Linux and Windows.
- Excludes support for Linux to allow pStart option
Related-To: LOCI-3397, LOCI-1543
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2022-12-01 00:55:19 +01:00
Jaime Arteaga
4dfdbd612d
Fail when handle cannot be obtain for an allocation
...
If a handle cannot be obtained, like PRIME_HANDLE_TO_FD, then
properly check for the error and propagate it upwards.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-11-30 20:59:02 +01:00
Lukasz Jobczyk
7ea11f9e44
Remove 2MB alignment from host part of shared allocation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-11-30 17:04:24 +01:00
Warchulski, Jaroslaw
dfa65bd358
Cleanup includes 9
...
Related-to: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-30 14:48:50 +01:00
Andrzej Koska
f1a38cbe49
Add AIL for Davinci Resolve
...
This AIL allows the Davinci Resolve to use overlapping buffers
outside of the specification
Related-To: NEO-5871
Signed-off-by: Andrzej Koska andrzej.koska@intel.com
2022-11-30 11:50:44 +01:00
Dunajski, Bartosz
20b6c76298
RelaxedOrdering: Disable feature for BCS
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-29 17:45:40 +01:00
Kacper Nowak
e268b46df1
Update ZEInfo version to 1.26
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-29 17:26:33 +01:00
Mateusz Jablonski
f7c11e8a94
Fix typos
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-29 17:12:10 +01:00
Rafal Maziejuk
f7cb924d2d
Move HwHelper tests to shared
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-11-29 17:06:41 +01:00
Rafal Maziejuk
3fe394ecbe
Delete redundant getDefaultRevisionId method from HwHelper
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-11-29 13:35:12 +01:00
Dunajski, Bartosz
2c08f2ca8c
RelaxedOrdering: Optimize return ptr programming
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-29 13:22:25 +01:00
Szymon Morek
bb55d2259e
Enable CPU memcpy on DG2
...
Resolves: NEO-7553
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-11-29 12:24:18 +01:00
Maciej Plewka
c39cd23f87
Change task count type to uint64_t
...
Related-To: NEO-7105
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-29 12:05:22 +01:00
Mateusz Jablonski
d7e4117dcf
Compile builtins and test kernels per product family
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-29 11:52:21 +01:00
Krystian Chmielewski
b2051003f9
feat(zebin): support rt global buffers
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-28 17:25:32 +01:00
Warchulski, Jaroslaw
4100e1aa72
Cleanup includes 7
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-28 17:01:48 +01:00
Zbigniew Zdanowicz
c0c9ce548a
Validate level zero events in TBX mode
...
Related-To: NEO-7545
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-28 16:45:02 +01:00
Maciej Plewka
4b42b066f8
Use dedicated using type for TaskCount
...
Related-To: NEO-7155
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-28 16:44:44 +01:00
Dunajski, Bartosz
3f962bf3e8
RelaxedOrdering: Improve dependencies tracking
...
Avoid not needed scheduler programming
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-28 16:00:21 +01:00
Krystian Chmielewski
ad6237478f
feat(zebin): support isPtr for struct elems
...
Add support in zeInfo for "is_ptr" payload argument describing if field
of structure (argument passed by value) is a pointer.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-28 16:00:03 +01:00
Naklicki, Mateusz
914939c377
Fix execution of cooperative kernels on multi-tile device
...
Add flag for forcing execution of kernels on single tile
Force cooperative kernels to use only single tile
Related-to: NEO-6729
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-11-28 14:36:21 +01:00
Mateusz Jablonski
27cb39ef25
Refactor: pass root device environment to gmm client context
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-28 13:26:29 +01:00
Dunajski, Bartosz
a7d4162ca2
RelaxedOrdering: Preallocate scheduler to optimize dispatch time
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-28 12:42:44 +01:00
Warchulski, Jaroslaw
5e2efc4013
Cleanup includes 8
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-28 12:18:06 +01:00
Yates, Brandon
4bd5765a06
L0 Debug - Fix imm cmdlist mode on windows
...
Single Address Space SBA programming was using incorrect BB
level and not loading GPR15
Related-to: NEO-7517
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-11-25 20:37:14 +01:00
Grzegorz Choinski
8ac794db04
lint revision update
...
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com >
2022-11-25 14:36:41 +01:00
Kamil Diedrich
6f14e8414e
Add wddm ult for Linux build [1/n]
...
Related-To: NEO-6066
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-11-25 12:01:42 +01:00
Mateusz Jablonski
7d4d592381
Pass root device environment to AubCenter
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-25 09:58:00 +01:00
Compute-Runtime-Validation
7b195d6b8e
Revert "Add support for USM shared in WSL for dGPU"
...
This reverts commit 44d8a6ae2b .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-25 08:42:15 +01:00
Dunajski, Bartosz
a969636b6a
RelaxedOrdering: Optimize GPU Queue stall by adding early return
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-24 16:41:05 +01:00
Michal Mrozek
a104636b31
Improve address alignment logic.
...
Resolves: NEO-7543
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-11-24 14:51:50 +01:00
Zbigniew Zdanowicz
cd17c1e9d2
Add state properties for state base address command
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-24 00:33:10 +01:00
Daria Hinz
31deb4fd63
Add support for new acronyms in disasm
...
The "disasm" option in ocloc was not validate new acronyms.
despite handling them in "compile".
This PR is fixing the issue - ocloc disasm supports new & deprecated
acronyms.
https://github.com/intel/compute-runtime/issues/582
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7509
2022-11-23 16:53:54 +01:00
Milczarek, Slawomir
4476e7ad76
Fixed conditions to remove memory prefetch allocations in L0 backend
...
Ensure memory prefetch be applied in every execution of command list.
Related-To: NEO-6740
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-11-23 16:19:34 +01:00
Dunajski, Bartosz
f267c34327
Check completion fence for AllocationType::DEFERRED_TASKS_LIST
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-23 14:18:35 +01:00
Kamil Diedrich
44d8a6ae2b
Add support for USM shared in WSL for dGPU
...
This patch force KMD allocation path for USM shared
Additionally we force 64kb page from lock which is
required to properly program GPU VA
Related-To: NEO-6913
Signed-off-by: Kamil Diedrich kamil.diedrich@intel.com
2022-11-23 12:41:25 +01:00
Dunajski, Bartosz
bc619fcbec
Queue stall mode for RelaxedOrdering
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-23 12:09:52 +01:00
Mateusz Jablonski
bb308c04ed
Refactor aubstream include interface
...
set include path to third_party/aub_stream
rename third_party/aub_stream/headers -> third_party/aub_stream/aubstream
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-23 10:30:13 +01:00
Dunajski, Bartosz
e050d231b9
RelaxedOrdering: Add support for return pointer registers programming
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-23 09:58:33 +01:00
Compute-Runtime-Validation
565d44e59c
Revert "Fail when handle cannot be obtain for an allocation"
...
This reverts commit 4391ad21bb .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-23 05:45:01 +01:00