Slawomir Milczarek
912af26602
Add support for async destruction of map allocations
...
- map allocations with CL_MEM_USE_HOST_PTR are still destroyed in place
- map allocations are additionally checked for completion on all os contexts
Related-To: NEO-5073
Change-Id: I6198ff76704a03412ef648503df8e70fee4bd3be
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-09-21 07:45:59 +02:00
Lukasz Jobczyk
b81a78d0e9
Evict USM cpu allocation after migration
...
Related-To: NEO-5007
Change-Id: I3c91af3ca22cb6233d530b252cc0c75d8fc2f8b5
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-18 13:01:45 +02:00
Mateusz Jablonski
98c9e3f6ca
Verify GL sharing based on luid from wglGetLuidINTEL function
...
Related-To: NEO-5016
Change-Id: I4409132ce000d6052c7f69a9b19c01389d51c2de
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-18 09:51:28 +02:00
Michal Mrozek
da6377da07
Expose cl_intel_mem_force_host_memory
...
Change-Id: I99029457628fbf13f740464bfed7dec47f46686f
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-09-17 17:55:16 +02:00
Bartosz Dunajski
c381f371cd
Use BCS to copy ISA if required
...
Change-Id: I181e09d0356718c25162efdddede39b13399ed3b
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-17 10:34:06 +02:00
Konstanty Misiak
dcc5316d88
Fix debug surface allocation in multi-queue scenarios
...
Related-To: NEO-5078
Change-Id: Ife48e703f348340cd8f89dd76f8affce0641adac
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2020-09-16 13:12:17 +02:00
Mateusz Jablonski
1f240862ce
Move surface allocations from Program to BuildInfo
...
Related-To: NEO-5001
Change-Id: Icf011698fc166285d049b052d59c709c7419e105
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-16 12:01:46 +02:00
Zbigniew Zdanowicz
394e626db9
Refactor programming of surface states
...
Related-To: NEO-5069
Change-Id: Id7442fcdcc8c7df57f00e8dc383c11869bf1a677
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-09-16 11:54:00 +02:00
Maciej Dziuban
7c7cfb1099
Delete unneeded memory transfer for USM
...
Change-Id: I7b11a132b621069febd5b851f9e29e7177d8d395
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5059
2020-09-14 16:13:58 +02:00
Zbigniew Zdanowicz
7d506e3608
Add debug flag to enable compression in L0 USM allocations
...
Related-To: NEO-5069
Change-Id: Icbfeb8d72cd764bb3c90d5c699998455f81dd3ee
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2020-09-14 12:47:33 +02:00
Filip Hazubski
d40510f398
Correct CL_DEVICE_MAX_NUM_SUB_GROUPS query
...
Change-Id: Ia7b9b041774513fdbfa2df9d1ad7c6d9dd60929f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-09-11 10:54:46 +02:00
Mateusz Jablonski
b52aec07dd
Move symbols and linkerInput from Program to BuildInfo
...
these members should be kept per root device
Related-To: NEO-5001
Change-Id: Ie5e06deed234706cc41943d3c5e932c7d877127b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-11 08:01:25 +02:00
Jacek Danecki
e56a38d179
remove unused variable
...
Change-Id: Ifdf47e9ac91912098164a7e08526f65f5c7326a6
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com >
2020-09-10 16:01:40 +02:00
Lukasz Jobczyk
b2ee148da9
Split residency task count and always resident flag
...
Related-To: NEO-5052
Change-Id: I1ae5f40a0e3ccc6fc269278f986709becccdaca6
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-10 12:28:18 +02:00
Mateusz Jablonski
89451cd897
Correct error handling while detecing adapter luid for GL
...
Change-Id: I332b0de7764ceb1b1dade5552ca39eeda868992e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-09 17:48:25 +02:00
Jim Snow
9f21418c4f
Disable gemCloseWorker for internal DrmCommandStreamReceivers
...
Change-Id: I71abdcb417342110ddc64cc9b1dacecc24c78aac
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2020-09-09 12:31:24 +02:00
Krzysztof Gibala
fee51350f1
Add function to get maxRootDeviceIndex & set of rootDeviceIndices
...
Add to context:
- getRootDeviceIndices
- getMaxRootDeviceIndex
Related-To: NEO-4589
Change-Id: I68a2162eea3d566c2ee99714d45253dfa35ec0cd
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-09-09 10:54:50 +02:00
Filip Hazubski
d889c599b2
Correct callback API functions
...
Add implementation to clSetProgramReleaseCallback and
clSetContextDestructorCallback functions.
Resolves: NEO-4962, NEO-5051
Change-Id: Iad6fffc663665a3cf16b96aa90065140cf8c5477
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-09-08 14:08:50 +02:00
Filip Hazubski
d3ede5cdf2
Correct reporting subgroups feature macro
...
Change-Id: Icd8967eee07cd57b9e85830098b251fdd3393ebb
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-09-08 12:22:37 +02:00
Filip Hazubski
f3e9e943a3
Add new feature macros
...
New feature macros are:
__opencl_c_images
__opencl_c_fp64
__opencl_c_int64
Change-Id: Ibe4b01ea9799db1f201dc379a37cb661754795db
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-09-08 12:13:53 +02:00
Kamil Kopryk
145fd87f5d
Revert "Add adjustPlatformCoreFamilyForIgc helper"
...
This reverts commit 8fffdcc111 .
Change-Id: I0415b004ef0a1465bc2658cadc66f21a99302eca
2020-09-08 07:36:26 +02:00
Mateusz Jablonski
48c084ca32
Create platformsImpl when needed
...
Change-Id: Ie89356761fc39910c765066d40cd363c93002692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-07 16:36:40 +02:00
Adam Cetnerowski
b93ad5e87f
Add DG1 devices
...
Change-Id: I0f8a287acf628325abb7d227a6d459aff722c434
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com >
2020-09-07 11:04:49 +02:00
Piotr Zdunowski
a97872b4ca
Remove unnecessary code.
...
Change-Id: I2b1f15402d917e2c886123332e0ba72fb44457e4
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2020-09-04 13:39:51 +02:00
Jaime Arteaga
5c1e60208e
Share USM host pointers among devices (2)
...
Dont pin and instantiate buffer objects associated with a USM
allocation for device >0 at allocation time, but instead, just
do a USERPTR ioctl, as with the allocation associated with
device 0.
Change-Id: Ib37f379df177d14e9d2781a3ed6335cd9550cc87
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-09-04 12:10:06 +02:00
Mateusz Jablonski
32c0320b1b
Move platforms destructor from static lib to shared library
...
Change-Id: I5ae4aaf816571e2531a5049e63b1dafc35c1e999
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-04 09:59:13 +02:00
Kamil Diedrich
57269b97a3
Use global timestamps instead of local
...
Change-Id: Ie39b242915a55aef60fcf7164199647299c91a21
2020-09-03 16:39:36 +02:00
Koska
354720743b
Enabling MTP on Gen12LP
...
Change-Id: I0ca08ea8dba3f34b5404ea598a16541d0128b37a
Signed-off-by: Koska <andrzej.koska@intel.com >
Related-To: NEO-4785
2020-09-03 13:47:34 +02:00
Katarzyna Cencelewska
fb6df89009
Add stepping to initialize AubManager
...
Change-Id: I24a5c623646b196fa8a49ab5d7bbca7f59e10330
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2020-09-03 13:33:17 +02:00
Lukasz Jobczyk
9158dec82d
Do not override immediate dispatch while direct submission enabled
...
Related-To: NEO-5007
Change-Id: I32330a275f78e825c847b0e380ce426f0c7412f5
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2020-09-03 11:53:38 +02:00
Mateusz Jablonski
442b6cfc47
Verify GL sharing based on primary display's luid
...
Resolves: NEO-5016
Change-Id: I244536fdd8acacfeb423ae09e13191df66c4f74a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-02 17:14:13 +02:00
Piotr Zdunowski
48e7ca6102
Opensource RKL.
...
Resolves: NEO-5017
Change-Id: I29364aa331f802bd298bd08df440aa1e33dd3c4e
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com >
2020-09-02 17:06:51 +02:00
Mateusz Jablonski
40d487fa90
Add global destructor of platforms
...
Change-Id: I7f0c9a9a13cae5cbf831e0d4e410c78c001a75d1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-09-01 17:26:17 +02:00
Bartosz Dunajski
e079d94869
Move builtin kernel logic out of blit enqueue path
...
Change-Id: I857ac7d1304f8b228bf558904ee929aa114ab003
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-01 13:42:43 +02:00
Slawomir Milczarek
c7e92738c6
AUB allocation dumps on clEnqueueSVMMemcpy only
...
Related-To: NEO-4763
Change-Id: I2efc87ec4c43b2e1d010cc5d9608599b8ab34394
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-08-31 17:34:44 +02:00
Bartosz Dunajski
0c02ab6bc0
Move blit enqueue out of enqueueCommon [5/n]
...
Change-Id: Ib63a4e9e60c7539a242034f36953c1d322fc9bee
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-08-31 10:27:06 +02:00
Maciej Plewka
a779e44b52
Support for dsh and ssh on external heap in L0
...
Related-To: NEO-4724
Change-Id: I85c2effea8a99bebaf9e3db33129641f37dcabe5
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-08-30 06:56:52 +02:00
Bartosz Dunajski
ffc218d8a2
Fix event submit time for enqueue without kernel
...
Change-Id: Ibb9ee7312a2c9618d91ebca03b0e0eb98cc551ee
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-08-28 19:13:24 +02:00
Bartosz Dunajski
e499f3130e
Move blit enqueue out of enqueueCommon [4/n].
...
Change-Id: Ib185a6f7a94f3c3e14f108ebadd82335a72cde49
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-08-28 18:59:15 +02:00
Slawomir Milczarek
9a582a7368
Add function to set TBX configuration
...
Related-To: NEO-2948
Change-Id: I765c4270be334f454be887f8d70a7f51360a17e8
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-08-28 17:50:52 +02:00
Artur Harasimiuk
0dbcac46bd
includes refactor
...
Change-Id: I4dd85112b20b26fe1ecc95b8098cb160548db1d4
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2020-08-28 14:53:14 +02:00
Filip Hazubski
cfe1d76781
Correct CL_QUEUE_PROPERTIES_ARRAY query
...
Add support of this query for Device Queues.
Change-Id: Ia4ad110af22e509efe8b9ae4c27bcccd4271f4a5
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-08-28 14:36:38 +02:00
Mateusz Hoppe
a7e15b250c
Disable GTPin notifications for parent kernels
...
Resolves: NEO-4877
Change-Id: I34d036d2c4db6976297456b889bb5dbbbd6182e2
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-08-28 13:57:09 +02:00
Bartosz Dunajski
cf8f0c6437
Move blit enqueue out of enqueueCommon [2/n]
...
Unify events path
Change-Id: I5b1aa5277d48ebcb6efcdb91c67b921518e32783
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-08-28 13:18:50 +02:00
Bartosz Dunajski
c9a3edd539
Move blit enqueue out of enqueueCommon [3/n]
...
Change-Id: Iaee5052d9b56efce6e4524dd0e0d0455de05c929
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-08-28 13:00:18 +02:00
Kamil Diedrich
7c32681481
Fix for number of used planes in libVA extended formats
...
Change-Id: I640b5f4d40e41363c793e2995cbf4a8594d655e9
2020-08-27 09:44:51 +02:00
Bartosz Dunajski
9cefc84edc
Unify waiting method
...
Change-Id: I8e17d097e00f7d14c7243cc7989dd333807d5b44
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-08-26 17:46:30 +02:00
Mateusz Jablonski
9394f5755e
Create structure for per root device build info in program
...
define build log per root device
Related-To: NEO-5001
Change-Id: Id507485e7f2bdd4e0d96948450da49a9f67dd2a8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-08-26 13:16:30 +02:00
Jaime Arteaga
eef701258b
Make processResidency mock virtual
...
Change-Id: Ide2cc1428cf8fcd21e8d1fe2de5c91a6fa766fa1
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2020-08-26 01:13:50 -07:00
Mateusz Jablonski
6870104a1a
Pass maxOsContextCount to GraphicsAllocation
...
Change-Id: I4f327866433fe9b0cc0a6191336b54a9d2282702
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-08-26 09:57:15 +02:00