Lukasz Jobczyk
c374073a4f
Enable engines round robin assign
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-01-28 15:29:02 +01:00
Kacper Nowak
306775f7f1
Refactor debugData and debugDataSize in OCL.
...
This commits moves debugData and debugDataSize to buildInfos vector (per
root device).
- debug data is now stored per device instead of per cl_program
- added creation of debug data (incl. debug zebin) and its returning in
clGetProgramInfo (CL_PROGRAM_DEBUG_INFO_INTEL).
Related-To: NEO-6463
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-01-28 14:03:21 +01:00
Mateusz Hoppe
3e66f21df6
Remove incorrect Debug break
...
- kernels using debug surface does not need to use
only bindful buffers
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-01-28 13:51:02 +01:00
Katarzyna Cencelewska
58055aecdf
Remove device enqueue part 12
...
remove:
- debug flag ForceDeviceEnqueueSupport
- functions isDeviceEnqueueSupported, supportsDeviceEnqueue
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-28 13:38:34 +01:00
Michal Mrozek
f83cc1c140
Improve dumping timestamp packet contents.
...
Remove not useful profiling capable flag.
Add command type to identify source.
Add delta's to see if there are any fluctuations.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-01-28 13:20:53 +01:00
Spruit, Neil R
ae77bd1bd2
Enable Device Memory to be shared in WSL-2 with L0
...
- Add getMemoryManagerType to check which memory manager has been init
to determine if Linux + WDDM memory manager is in use.
- Add isNTHandle to test and verify if a handle is an NT handle during
L0 Open IPC Handle.
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-01-27 23:14:29 +01:00
Bartosz Dunajski
90d85bee55
Remove ftrGT flags support
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-27 17:39:48 +01:00
Dominik Dabek
07c75c2de3
Revert "Check IndirectStatelessCount from igc"
...
This reverts commit 01f368ac147d99fd0dcb4d71a9a2543cd215adfd.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-01-27 16:06:13 +01:00
Rafal Maziejuk
659a67672e
Check if origin + region doesn't exceed image_array_size
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-6137
2022-01-27 15:49:55 +01:00
Kamil Diedrich
d2fbcc1960
Updating wsl compute helper tokens and enbaling local memory
...
Adding tokens needed for DG2 local mem enabling in WSL
Enabling local memory for DG2 for WSL
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-01-27 14:26:24 +01:00
Bartosz Dunajski
09346690e8
Add XE_HP_SDV device ids
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-26 18:46:45 +01:00
Bartosz Dunajski
72edadb265
Remove not used GT type info
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-26 18:06:38 +01:00
Dominik Dabek
a5067d6b0b
Remove duplicate check in residency container
...
Remove find in SVMAllocsManager
addInternalAllocationsToResidencyContainer,
not needed, CSR resolves duplicates at makeResident calls
Co-authored-by: Michal Mrozek <michal.mrozek@intel.com>
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-01-26 17:09:31 +01:00
Michal Mrozek
592eb4607e
[4/n] Improve indirect allocations handling.
...
Add memory manager interfaces to obtain the status.
Only support when VmBind is supported.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-01-26 15:24:32 +01:00
Igor Venevtsev
af7a475cb0
Fix debug zebin creation
...
- ELF type is EXEC
- Absolute GPU addresses in program headers as load addresses
- All relocations are applied (not only for debug info as before)
- Default section alignment for debug zebin is set to 4,
this fix the problem with .notes section parsing
Related-To: NEO-5571
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-01-26 13:55:32 +01:00
Maciej Plewka
f8c104feaa
Use fw declaration of IndirectHeap in CommandContainer
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-01-26 13:30:26 +01:00
Dominik Dabek
63f406a58c
Check IndirectStatelessCount from igc
...
If kernel has no stateless indirect accesses don't set the
kernelHasIndirectAccess flag.
Don't make resident or migrate if kernel has no indirect accesses.
Changed initial values in KernelAttributes.
Related-To: NEO-6597
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-01-26 11:10:04 +01:00
Bartosz Dunajski
8a0a556d16
Add copy engine aub tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-26 09:44:11 +01:00
Lukasz Jobczyk
44596f6e4d
Revert "Improve mmap logic in createAllocWithAlignment"
...
This reverts commit adb5c58292165f1d5a144548c5d5148021d2152e.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-01-26 08:52:12 +01:00
Compute-Runtime-Validation
15b9ec57d1
Revert "Enable Flush task by default for immediate commandlist"
...
This reverts commit 22bbce42dd
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-26 04:53:03 +01:00
Michal Mrozek
6df17f5a30
[3/n] Optimize indirect allocations handling.
...
Add new debug variable to trigger new mode.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-01-25 16:40:56 +01:00
Filip Hazubski
0424f30782
Improve mmap logic in createAllocWithAlignment
...
Group small allocations and reuse mapped memory in order to keep map
count small.
Related-To: NEO-6417
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-01-25 15:30:29 +01:00
Rafal Maziejuk
f064f7dd67
Check if origin + region doesn't exceed image dimensions
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-6137
2022-01-25 15:13:15 +01:00
Bartosz Dunajski
43e147d84f
Add command queue aub tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-25 15:05:55 +01:00
Mateusz Jablonski
010186d0da
Correct GivenTwoCommandQueuesWhenEnqueuingKernelThenThereIsOneVfeState test
...
parse commands after flushing command queues
correct getCommandNameHwSpecific behaviour for STATE_COMPUTE_MODE
Related-To: NEO-5618
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-25 14:53:42 +01:00
Katarzyna Cencelewska
3d9e1ea3a5
Remove device enqueue part 11
...
- remove templates from queue functions
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-25 12:40:56 +01:00
Bartosz Dunajski
6ab3d73744
Add command stream aub tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-25 12:07:37 +01:00
Mateusz Jablonski
0dbac9cec7
Move compute mode tests from opencl to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-25 10:14:00 +01:00
Lukasz Jobczyk
9330f737d4
Revert "Check if direct submission available once"
...
This reverts commit 7ab6d2801a
.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-01-25 10:01:15 +01:00
Mateusz Jablonski
5e238dc7f1
Unify surface state programming logic related to implicit scaling
...
OCL image surface state programming for Xe Hp core is now reusing logic
of EncodeSurfaceState helper
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-25 09:02:28 +01:00
Michal Mrozek
52d636394c
[1/n] Improve indirect allocations handling.
...
Add new functions that would treat all indirect allocations as single pack.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-01-25 06:27:33 +01:00
Aravind Gopalakrishnan
22bbce42dd
Enable Flush task by default for immediate commandlist
...
Related-To: LOCI-1988
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-01-25 01:12:30 +01:00
Mateusz Jablonski
0c933d83af
Update RENDER_SURFACE_STATE for Xe Hpc
...
For Xe Hp and later rename RSS tile mode enum from YMAJOR to TILE4
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-24 18:06:42 +01:00
Bartosz Dunajski
e3792491a3
Add platform specific aub tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-24 15:57:22 +01:00
Filip Hazubski
2dc54f6fd9
Update isLinuxCompletionFenceSupported value for XE HPG CORE
...
Related-To: NEO-6575
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-01-24 14:58:17 +01:00
Compute-Runtime-Validation
1634ac9ec3
Revert "Dont generate gen file by default"
...
This reverts commit 95943dee0f
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-24 14:46:29 +01:00
Michal Mrozek
151aaf7678
Fix alignment for host allocations.
...
- it is 4k not 64k.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-01-24 13:24:03 +01:00
Bartosz Dunajski
f88267161e
Add multicontext aub fixture
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-24 13:07:57 +01:00
Filip Hazubski
170fd00d24
Improve mmap logic in createAllocWithAlignment
...
Unmap trailing extra memory right away.
Related-To: NEO-6417
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-01-21 14:16:27 +01:00
Zbigniew Zdanowicz
a7455b5767
Add tweaks and control flags to linux completion fence
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-21 13:41:23 +01:00
Mateusz Jablonski
fdef257b01
Move some Xe Hpc tests from opencl to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-21 13:23:29 +01:00
Mateusz Jablonski
bbea52f3f9
Update CFE_STATE for Xe Hpc
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-21 10:55:20 +01:00
Zbigniew Zdanowicz
ec40b6562e
Add unit tests for completion fence
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-20 21:15:34 +01:00
Katarzyna Cencelewska
26308a59bc
Fix getCommandQueueInfo for param CL_QUEUE_DEVICE_DEFAULT
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-20 17:42:33 +01:00
Fabian Zwolinski
d9bf1886c2
Remove GMock from GMockMemoryManagerFailFirstAllocation, GMockMemoryManager...
...
Removed GMock from
- GMockMemoryManagerFailFirstAllocation
- GMockMemoryManager
- TestEventCsr
- MockKmdNotifyCsr
- MockMemoryOperationsHandlerTests
- GmockGmmMemory
- MockMemoryManagerCommandQueueSBA
- TestCmdQueueCsr
Renamed:
- GMockMemoryManagerFailFirstAllocation -> MockMemoryManagerFailFirstAllocation
Moved class body:
- GMockMemoryManager to MockMemoryManager
- GmockGmmMemory to MockGmmMemoryBase
Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-01-20 16:08:34 +01:00
Mateusz Jablonski
fbc0666d1b
Move setGrfInfo from HardwareCommandsHelper to EncodeDispatchKernel
...
unify grf info programming across APIs
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-20 15:42:06 +01:00
Michal Mrozek
27c43b27f3
Remove not needed method.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-01-20 15:02:19 +01:00
Bartosz Dunajski
feafc4b173
Update gtpin enums for DG2 and PVC
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-20 12:05:14 +01:00
Compute-Runtime-Validation
6082865eb4
Revert "Optimize Level Zero indirect allocations handling."
...
This reverts commit 3ecbc55ba9
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-20 11:41:13 +01:00
Zbigniew Zdanowicz
d44f3009b8
Add interface for user fence extension
...
Related-To: NEO-6575
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-19 19:58:22 +01:00