Mateusz Jablonski
97154f7f98
Use ProgramInfo instead of Program in sip kernel
...
Related-To: NEO-5001
Change-Id: I58eda3ecc52fe1215ea8bbc35f97eea3a9d848e0
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-15 16:41:18 +02:00
Krzysztof Gibala
3ac197e400
Create graphicsAllocation for all devices in buffer
...
Related-To: NEO-4589
Change-Id: Ic9625eb3c9c359fd4cc5afe3519e7acf4efb0081
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-10-14 16:05:53 +02:00
Pawel Wilma
675f7b380f
Fix for broken single sku build
...
Change-Id: I658bb0943d5ddc5229b8b25c4ae7fba2c867d25f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-10-14 10:25:19 +02:00
Slawomir Milczarek
eb8f5fa301
Get CL Device Name with device ID appended at the end
...
Related-To: NEO-4744
Change-Id: I8a9a791a634f9c0c444695036d96e3c959c90de0
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-10-13 14:00:33 +02:00
Pawel Wilma
0c3d430f50
W/A for disabling RCC RHWO for compressed media surfaces on gen12lp
...
Whenever media compressed surface is used, the RCC Read-Hit-Write optimization
disable bit (14) has to be set in Common Slice Chicken1 register (7010h).
Related-To: NEO-4982
Change-Id: I71b91b52692252459da05b737838eb4854575974
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-10-13 11:52:15 +02:00
Mateusz Jablonski
b77f9bf8d1
Remove Program::setDevice
...
device should be passed to constructor
Related-To: NEO-5001
Change-Id: If4c64ec405bdd3beaccc7c09644e22fc98a02249
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-12 20:22:45 +02:00
Bartosz Dunajski
27f9a95af2
Refactor: Common helper for Blit and CPU memory transfers
...
Change-Id: Icc61f82517e75e3066e441494af3bf9a7ffbbeef
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-12 18:29:42 +02:00
Filip Hazubski
da524fa03d
Correct Intermediate Language related implementation
...
Change-Id: Ib2bdd21c255245767df787797bb5cfe05482e489
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-09 16:00:56 +02:00
Maciej Plewka
2ebee73e4b
Unify bindless debug flags
...
Change-Id: I6a9313722eed01b935707e93cad532adddcc78af
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-09 14:49:50 +02:00
Zbigniew Zdanowicz
bf32740f97
Move BTI programming to shared code
...
Change-Id: Ie9d67c1d883f24cfec13ea1618d834d746c0d5be
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-09 13:56:44 +02:00
Bartosz Dunajski
fb0651521d
Linker: Fix incremental patching for local memory allocations
...
Change-Id: Ib85e4a2abc8a62477003853aa0c35f8107444f4e
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-09 09:13:42 +02:00
Mateusz Jablonski
fc090f74c6
Store device binary per root device in program
...
Related-To: NEO-5001
Change-Id: I9834f6894625031c734c68ebf210e6042c470ec7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-08 19:05:04 +02:00
Zbigniew Zdanowicz
4e3679b8ae
Move local ids generation code to shared directory
...
Change-Id: I5b0486ceae8d67d0c1d1be56a756c102226d7e2a
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-08 15:02:36 +02:00
Maciej Dziuban
83b0932beb
Force even context count for DG1
...
Change-Id: I3ac7cc9562bf1fcdc1ccf75b6f1852787661b475
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-10-08 12:58:21 +02:00
Maciej Dziuban
8fcd51c2c8
Do not obtain command stream if it will not be needed
...
Change-Id: Id7fa1c6b78e71a085084f8fcb66a7b8e873ad2bc
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-10-08 12:24:03 +02:00
Filip Hazubski
7d0f23bfc9
Enable OpenCL 3.0 by default on all devices
...
Change-Id: Ic5e46177c957896c499b7aa6727af48105b664ac
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-07 16:44:10 +02:00
Bartosz Dunajski
595f374634
Dont use blitter for local memory transfer if not available
...
Change-Id: I5f43113498b59e3f1b8cb280c9feeccae8ff6140
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-07 15:55:22 +02:00
Adam Cetnerowski
74aea08d15
Add DG1 device
...
Change-Id: Iaa5a115577e2cf94160164e67bbafb79d0374ff5
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-07 12:43:55 +02:00
Igor Venevtsev
bd9695a19a
Get rid of UNRECOVERABLE_IF in MemoryManager constructor
...
Related-To: NEO-5053
Change-Id: Ibf955c760e61e34c4d38cbb5071ef712bae1c518
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2020-10-07 11:18:56 +02:00
Zbigniew Zdanowicz
47f5867e8f
Move common code to shared directory
...
Change-Id: I5f604de01e06d35cc1e045fffdd4a26d88ffca8c
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-07 10:55:39 +02:00
Adam Cetnerowski
e9359b7c2c
Remove OCL2.1 restriction on clCreateProgramWithILKHR
...
Change-Id: Ie0951465e226fb13b49d4f01f9a81b9c562a13e9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-06 21:13:00 +02:00
Maciej Plewka
4dc3827b8e
Prepare object lib for precompiled builtins in bindless mode
...
Releated-To: NEO-5138
Change-Id: I18e564a9e32041fba5e887bc18d2195a1c4ddda8
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-10-06 16:57:11 +02:00
Andrzej Swierczynski
bdf8c5fc90
Extend UnifiedMemoryProperties constructor to take device bitfield
...
Related-To: NEO-4722
Change-Id: Ice185f1792635922e9bb89cd7329e6501bc585e0
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-10-06 16:35:08 +02:00
Zbigniew Zdanowicz
28ef5fa709
Move pipecontrol w/a estimation to dedicated class
...
Change-Id: I8ceaa2dff94dd7148daf921568fd30f098e5dae4
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-06 15:02:37 +02:00
Zbigniew Zdanowicz
ce1b669cda
Use single class to program load register command
...
Change-Id: I90fe084409588cb32f0ac43a3db5082047d7a68b
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-06 13:45:35 +02:00
Maciej Dziuban
138f04bdcd
Enable L1 cache for Tigerlake
...
Change-Id: I33513ed084f9d06ceca11315cac03f1b682db535
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-4832
2020-10-06 13:26:54 +02:00
Slawomir Milczarek
5f7b763ce5
Use kernel info to determine if AUX resolves required
...
This commit decouples the logic for AUX resolves from set kernel arg handlers.
Related-To: NEO-5107
Change-Id: I4c2912dc18633bcaefddb03cc6966e859d95262c
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-10-06 09:56:49 +02:00
Piotr Fusik
5826d3e105
Enable cl_khr_subgroup_extensions
...
Related-To: IGC-2680
Change-Id: I296e43dd9ebf037e8da6d6a8b1d6e6967f8fe674
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2020-10-06 09:04:51 +02:00
Jaroslaw Chodor
63fe52b6e0
Reuse old build options only for native binary
...
Change-Id: I484616a22c85f8a321e51002b7f9d0c990ee7b5a
2020-10-05 21:06:34 +02:00
Filip Hazubski
89be51cd94
Update CL_MEM_FORCE_HOST_MEMORY_INTEL flag
...
Rename CL_MEM_FORCE_SHARED_PHYSICAL_MEMORY_INTEL to
CL_MEM_FORCE_HOST_MEMORY_INTEL.
Rename MemoryFlags::forceSharedPhysicalMemory to MemoryFlags::forceHostMemory.
Change-Id: I48c0ae958ff55f2aef71cf99ed274d021a3c1f19
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-05 20:33:35 +02:00
Lukasz Jobczyk
447c3f5800
Add debug flag to disable gem close worker
...
Change-Id: If2453b2c168aa7086ad387f97ac2255291e08ae1
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-10-05 14:44:33 +02:00
Zbigniew Zdanowicz
2717fcae54
Unify programming of atomic command
...
Change-Id: I13afdb44fb83beaa8673eb6456d2a8edcb6ac047
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-05 13:37:52 +02:00
Filip Hazubski
155578568b
Update functions to create buffer and image objects
...
Functions clCreateBufferWithPropertiesINTEL and
clCreateImageWithPropertiesINTEL now accept a parameter `cl_mem_flags flags`.
Change-Id: I71823457397c00f93aed236afaa0041936c4161d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-05 11:08:49 +02:00
Filip Hazubski
60430d79ee
Update OpenCL C features reporting to the compiler
...
Pass features also with -cl-ext option.
Change-Id: I1a1c68b655a2108be51c7d57be771591ee0b14e7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-05 10:27:30 +02:00
Jaroslaw Chodor
746cf7fd33
Reuse old build options if new ones are NULL
...
Change-Id: I435e7ec8554b0429dcf4f6f8d9d4fd80e70b68c6
2020-10-04 16:54:02 +02:00
Mateusz Hoppe
cd85bcffdb
Update infra
...
- set revision = 9 for gen9
Change-Id: Icd8b73003eee3b1d32dbe3014c93174441e21f6a
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-10-02 18:10:23 +02:00
Maciej Dziuban
51dcccad76
Create timestamp packet container for events if command queue created it
...
Related-To: NEO-5120
Change-Id: I00505647343da1876b25290b95a2009b5e4041d6
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-10-02 12:11:38 +02:00
Filip Hazubski
90e858e5bd
Update latest conformance version passed
...
Change-Id: I17b77b84a47a6e383082b0b35487bca8aaec05bf
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-01 17:29:49 +02:00
Zbigniew Zdanowicz
18ccd448f2
Unify programming of semaphore command
...
Change-Id: Iae9060935554df366d9687e9f16c3b5dce9155ee
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-01 16:26:33 +02:00
Zbigniew Zdanowicz
a0531c17b4
Remove RMW pattern on gfx memory by using dedicated methods
...
Change-Id: Iedf7c1d15b3ee5b1aa713b5817005cb801c01956
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-10-01 09:47:15 +02:00
Zbigniew Zdanowicz
5af3a46662
Add debug flag to disable cache flush
...
Related-To: NEO-5144
Change-Id: I29590d840a641dfcf3fc4d099ca84f196c8fdc1f
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-09-30 16:38:35 +02:00
Aravind Gopalakrishnan
9c84458b65
Move new fields in struct to group with other uint32_t
...
Change-Id: I2bf9a37a7147ece654e214b648fcbfaed6898e9e
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-09-30 10:43:30 +02:00
Bartosz Dunajski
44a6d70ced
Dont use Packets without profiling data to calculate kernel duration
...
Change-Id: I710348835f8884a3b244502f53ff4e4980441654
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-29 17:09:01 +02:00
Krzysztof Gibala
214342f405
Create map for deviceBitfields per rootDeviceIndex
...
Pass rootDeviceIndex to getDeviceBitfieldForAllocation
Related-To: NEO-4589
Change-Id: Ib325a8bf822351ba36b225d94d4173fd725e8766
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-09-29 12:18:49 +02:00
Maciej Plewka
e34c319ed7
Special address pool at External heap begining
...
Change-Id: I7da6e67010ff7a819aec25abea9213b6e43e348e
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-09-29 07:51:12 +02:00
Bartosz Dunajski
28acc2c8f6
Remove lowPriorityEngineType member
...
Change-Id: I39908addf1c3a12f7807479132d0a6d5a4398d7b
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-28 17:02:56 +02:00
Andrzej Koska
0cc717b1b4
Adding support to packed formats
...
Related-To: NEO-4949
Change-Id: I5cbff44d6463fa6c7aa71f641e11b593a1dcf11e
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2020-09-28 14:49:54 +02:00
Maciej Dziuban
83252e7306
Add isCopyOnly field
...
Change-Id: Ia056af66af437c22738fd15abff12e1ad226509a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5120
2020-09-28 12:27:50 +02:00
Zbigniew Zdanowicz
f838f667b1
Add context flag for resolve requiring kernels
...
Related-To: NEO-5127
Change-Id: Ia5da17735232504aabbca6b0df46ced4dfba3190
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-09-28 10:34:00 +02:00
Bartosz Dunajski
55bd544402
Lazy evaluate arguments of printDebugStrings(...) function
...
Change-Id: Ie44e109fd9235c5df32fb90b9e6fc6058e558a99
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-25 18:38:58 +02:00