Jaime Arteaga
d46bb59508
Migrate shared-allocations made resident with makeMemoryResident
...
Shared-allocations are currently migrated to GPU by the page-fault
manager when calling executeCommandLists. Allocations to migrate are
taken from the lists container. However, if a shared-allocation
has been made resident with zeContextMakeMemoryResident(), it is not
added to the list container, and hence it is not migrated to device.
So, add a container of resident allocations to the driver and migrate
them along with the other allocations.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-12-11 03:27:42 +01:00
Jaroslaw Chodor
993ea27e25
Adding platform info for FCL
...
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2020-12-10 16:31:46 +01:00
Mateusz Jablonski
c8d1e082dd
Update getKernelInfo method
...
add root device index parameter to return proper kernel info
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-08 09:14:44 +01:00
Filip Hazubski
edbda8e8b2
Pass HwInfo to computeSlmValues function
...
Resolves: NEO-5215, NEO-5216
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-12-07 20:23:28 +01:00
Filip Hazubski
23d4967f79
Correct generating extensions list for compiler
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-12-03 15:15:49 +01:00
Kamil Diedrich
79d4af28de
Switch to c++17
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2020-12-03 15:15:32 +01:00
Mateusz Hoppe
8198a739c8
Refactor Sip Kernel usage
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-12-03 10:43:53 +01:00
Young Jin Yoon
da779d067f
Support the AND operation in EncodeMathMMIO
...
Related-to: LOCI-1161
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2020-12-03 01:56:22 +01:00
Maciej Plewka
7a5c9d39b5
Encode dispatch kernel with global bindless heaps
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-12-02 17:30:15 +01:00
Jaime Arteaga
be90b9ff93
Add support for ZE_DEVICE_MEM_ALLOC_FLAG_BIAS_UNCACHED
...
Add support for device and shared allocations that use the
ZE_DEVICE_MEM_ALLOC_FLAG_BIAS_UNCACHED flag, whether the
kernel using the memory is stateless or statefull.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-12-02 10:43:45 +01:00
Jobczyk, Lukasz
343fd602fa
Add method to submit kernel on single subdevice
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2020-12-01 22:15:05 +01:00
Maciej Dziuban
94be510c18
Add initial placement hints for USM in OpenCL
...
Related-To: NEO-5059
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-12-01 18:30:26 +01:00
Maciej Dziuban
b5c899cd18
Fix disabled unit test
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-12-01 17:52:34 +01:00
macabral
720ba46548
Register kernel Elf for debugging purpose
...
Signed-off-by: macabral <matias.a.cabral@intel.com >
2020-12-01 17:16:14 +01:00
Slawomir Milczarek
ff069c1171
Enable AUB memory dumps of USM allocations
...
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-12-01 11:24:41 +01:00
Kamil Kopryk
0d94f289b4
Add adjustAddressWidthFor Canonize helper
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-5285
2020-11-30 16:02:23 +01:00
Zbigniew Zdanowicz
4602220e62
Add manager of imported host pointers
...
Related-To: NEO-5126
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-11-30 13:28:25 +01:00
Filip Hazubski
6c4b1f951c
Do not force cl_khr_3d_image_writes extension when compiling kernels
...
Update usage of SUPPORTED_IMAGES flag and do not use images when disabled.
Use SUPPORTED_2_0 only on fully OCL 2.1 conformant platforms.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-11-27 17:20:46 +01:00
Bartosz Dunajski
93ba4e646b
Improve EncodeDispatchKernel
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-27 16:39:34 +01:00
Krzysztof Gibala
baea633bdd
Correct logic in MultiRootDeviceFixture
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-11-27 16:22:39 +01:00
Lukasz Jobczyk
0829e4484e
Lock exec path if default memory operations handler is used
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-11-27 14:49:03 +01:00
Maciej Plewka
ded70b803d
Use common compile bindless flag
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-27 14:28:55 +01:00
Maciej Plewka
d4c5ee63f2
Dont return value from dispatchBlitCommands
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-27 14:10:32 +01:00
Sebastian Luzynski
ddbaf82f04
Add appendProgramVFEState function
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2020-11-27 13:35:50 +01:00
Bartosz Dunajski
53b4cee150
Debug flag to force device id.
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-27 09:10:48 +01:00
Bartosz Dunajski
60d0d4d67f
Move remaining SBA files to shared
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-26 17:11:57 +01:00
Slawomir Milczarek
e6a18aac73
Add query system info implementation stub on Linux
...
Related-To: NEO-4998
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-11-26 16:31:00 +01:00
Bartosz Dunajski
beb04bd2f8
Improve HostMemCapabilities helper method.
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-26 13:54:35 +01:00
Igor Venevtsev
cff80e38b8
Do not program MiFlushDw command as a timestamp operation for blitter
...
Resolves: NEO-4906
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2020-11-26 13:26:13 +01:00
Bartosz Dunajski
e8178ae493
Add appendExtraMemoryProperties method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-26 09:53:55 +01:00
Bartosz Dunajski
2ee8bad91f
Add appendExtraCacheSettings method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-25 14:08:35 +01:00
Bartosz Dunajski
8a703c082e
Add encodeExtraCacheSettings method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-25 12:27:20 +01:00
Bartosz Dunajski
bf61dcc849
setupTimestampPacket method cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-24 18:53:14 +01:00
Bartosz Dunajski
ae3ad3e8bc
Add method to adjust TimestampPacket
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-24 17:35:22 +01:00
Bartosz Dunajski
c5fb745260
Update PipeControlArgs helper
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-24 17:06:23 +01:00
Bartosz Dunajski
7ce2f0db38
Program pipe_control->tlb_invalidate under debug flag
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-24 14:29:29 +01:00
Maciej Dziuban
14f92cc7a1
OpenCL Queue Families extension 1/n
...
Basic implementation, some things will be tweaked in future commits
Related-To: NEO-5120
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-11-24 11:48:18 +01:00
Mateusz Jablonski
720326fd6a
Reorganize VS solution tree
...
Move scripts targets to neo scripts folder
Move spirv targets to shared builtins folder
Move compute_runtime_mockable_extra to ze_intel_gpu folder
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-23 19:06:20 +01:00
Mateusz Hoppe
8aacad1854
Create DebuggerL0 only when debugging is supported
...
Related-To: NEO-5239
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-23 18:28:45 +01:00
Bartosz Dunajski
8dfea40242
HwInfoConfig cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-23 15:28:10 +01:00
Adam Cetnerowski
154f7e87be
Framework for adding custom device names
...
- Add new macro to define custom name
- Add handling for custom name
- Remove gen from generic name
Resolves: NEO-5251
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-11-23 12:24:53 +01:00
Slawomir Milczarek
8a4bf3782a
Code clean-up related to small LMEM BAR configuration
...
Related-To: NEO-4876
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-11-23 12:10:45 +01:00
Slawomir Milczarek
b4444c7660
Move close shared handle to the upper layer on Linux
...
Related-To: NEO-5274
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-11-23 11:45:05 +01:00
Mateusz Hoppe
fc9be73491
Fix segfault on debugData access with SourceLevelDebugger
...
- add mock active debugger mode
Related-To: NEO-5290
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-23 10:52:19 +01:00
Maciej Plewka
c80353587f
Patch bindless offset
...
Related-To: NEO-4724
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-20 23:02:36 +01:00
Sebastian Luzynski
556b6cd457
Add concurrent kernel execution type
...
Related-To: NEO-4940
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2020-11-20 16:12:42 +01:00
Bartosz Dunajski
ba51cf5380
Bring back adjustPlatformForProductFamily() method
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-20 15:26:28 +01:00
Mateusz Hoppe
7330f989ef
Refactor bindAvailable
...
Related-To: NEO-5316
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-11-20 13:35:28 +01:00
Igor Venevtsev
3491a425a3
Fix time stamps completion
...
- ignore globalEnd tag
- check contextEnd tag is not 1
Resolves: NEO-4906
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2020-11-19 18:50:56 +01:00
Bartosz Dunajski
e08bd20289
Add queryItem flags to drm query ioctl
...
Signed-off-by: Bartosz Dunajski bartosz.dunajski@intel.com
2020-11-19 18:26:12 +01:00