Commit Graph

173 Commits

Author SHA1 Message Date
Mateusz Jablonski f7dcafc295 Pass ClDeviceVector to Program's ctor
Related-To: NEO-5001
Change-Id: Ie0e4395fd3ed9a5df81c7075ef039092a0687b9c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-19 18:47:11 +02:00
Filip Hazubski ca5f34133b Move aub and tbx code to shared
Related-To: NEO-3964

Change-Id: Ice978e582721498d7496f989767ce7d6f5f4caf4
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-19 16:04:47 +02:00
Kamil Kopryk 8e44038f9a Revert "Add blitter support for read/write image OpenCL"
This reverts commit cc6d6968dd.

Change-Id: I2696f05c5d1e3959f60239ca49483b00ad1b36ec
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2020-10-16 15:59:58 +02:00
Filip Hazubski d27374b468 Move aub related files to aub directory
Additionally remove dependencies on opencl code from aub and tbx code.

Related-To: NEO-3964

Change-Id: Ie81b7d274e2f22b6090df0e07c45123618af5cae
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-16 12:05:58 +02:00
Kamil Kopryk cc6d6968dd Add blitter support for read/write image OpenCL
Change-Id: I5d8bf0590899751f1f562fd55e44b0ed36ca6110
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-4692
2020-10-16 11:59:03 +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
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 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
Bartosz Dunajski d07362c992 Use blitter to initialize Global surface if required
Change-Id: I53cc532a5b5edd16a32deaf987f85db4224b9945
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-10-07 17:11:48 +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
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
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
Adam Cetnerowski a107078925 ULT renaming: Enqueue Thread tests
Related-To: NEO-2236

Change-Id: Ic7dfd027c9be60bb53fe9d0dd6677666ccd66890
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-10-05 19:25:46 +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
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
Sebastian Luzynski d24850cff3 Alter API with additional kernel exec info.
Related-To: NEO-4875
Change-Id: I10a5e3bfc32be520c3554c992dc36591fc1ff599
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com>
2020-09-25 13:00:24 +02:00
Bartosz Dunajski f92f01e190 Enhance GPU breakpoint capabilities
Change-Id: Id28afb7ab584eeb5063c7311fed41d7a31edbec7
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-24 16:03:19 +02:00
Bartosz Dunajski bb788b4cc4 Copy ISA on CPU if BCS is not supported
Change-Id: I18b0bea70a0104dfa3f930ee360b9967f8d615be
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-23 16:47:02 +02:00
Bartosz Dunajski 2a69b1ed78 Select correct heap base address for ISA
Change-Id: I400f965faa4615519729756daa78350a46c46ff2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-23 14:21:22 +02:00
Zbigniew Zdanowicz 3b6f9b7cb6 Add implicit flush for new resources and idling gpu
Related-To: NEO-5100

Change-Id: I57fdb8eecd88124c4c9171014950554c35dbecd1
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-09-22 21:50:02 +02:00
Bartosz Dunajski 5b31b31734 Remove low priority and internal engine index variables
Change-Id: I984dbcedd5456cfdee284f4d2eda1371ba77f0d0
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-09-21 16:44:14 +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
Maciej Dziuban 97ec64d22c Optimize first access to shared allocations
Change-Id: Ia3ce5f1e448128e7c9dfffb9ad49aaee15bdf948
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-5059
2020-09-15 12:59:07 +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
Jaime Arteaga 2527015bb8 Validate rootDeviceIndex before retrieving multiGraphicsAllocation
Change-Id: I4a5f6e8ae333e8daed13053fb2049fc5757736b5
Signed-off: Gengbin Zheng <gengbin.zheng@intel.com>
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-09-09 14:06:19 +02:00
Kamil Diedrich 57269b97a3 Use global timestamps instead of local
Change-Id: Ie39b242915a55aef60fcf7164199647299c91a21
2020-09-03 16:39:36 +02:00
Adam Cetnerowski 6c56434262 ULT renaming: Work Group Size tests
Related-To: NEO-2236

Change-Id: I81c07a7dc58d95537fd77d3ba4d1945df30fce53
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-09-03 01:01:03 -07:00
Adam Cetnerowski 610982d684 ULT renaming: Out of Memory tests
Related-To: NEO-2236

Change-Id: I46aeaebb4046808bc7f332695fc10f3199d66116
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-09-02 17:55:15 +02:00
Adam Cetnerowski 6ae028f950 ULT renaming: OOM Buffer tests
Related-To: NEO-2236

Change-Id: I07fce8998acd60858263f9390b521db029e5c32b
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-09-02 15:28:38 +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
Krzysztof Gibala dcf708f2d2 Add proper ULTs to test createMultiGraphicsAllocation function
Related-To: NEO-4589
Change-Id: Ic78dee29f7715a6e5eff5b5c28f337452921d5b3
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-08-31 14:49:16 +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
Adam Cetnerowski 4e53e4e257 ULT renaming: OOM Image tests
Related-To: NEO-2236

Change-Id: I606b60401920cb39de36e51a4a81928754c01768
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-08-28 19:05:15 +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
Adam Cetnerowski 747538aa44 ULT renaming: Flattened ID tests
Related-To: NEO-2236

Change-Id: Ib2fb0c52b142c0a98edfc35523655ff89178bd27
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-08-24 18:03:27 +02:00
Adam Cetnerowski 6c1c3f7778 ULT renaming: Get Command Queue Info tests
Related-To: NEO-2236

Change-Id: I35da4db16eb667a480dd7dd3763c074437912db1
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-08-24 16:28:53 +02:00
Filip Hazubski 79c5502e77 Update CL_QUEUE_SIZE query
When providing invalid queue type, return CL_INVALID_COMMAND_QUEUE error.

Change-Id: I4f9412539f708ac3e5f5a367f7d503803863466e
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-08-22 10:58:41 +02:00
Bartosz Dunajski c672c2cd91 Dont reload GRF config if not applicable
Change-Id: I37388b3d43251d930136fde154b7861072a5abec
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-08-21 14:29:13 +02:00
Filip Hazubski 49f450e094 Correct enqueueSVMMigrateMem function
Change-Id: Ice49ac7434038ec3667084414fa23a4367242e9c
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-08-21 11:34:52 +02:00
Jaime Arteaga d2677bed2e Fix computation of workgroup sizes for large sizes (2)
Change-Id: I31bb300a2cfae2df9806ae812bd2acbc62f88191
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-20 17:19:30 +02:00
Bartosz Dunajski 6fcb9583be Dont reload L3CachingSettings if not applicable
Change-Id: I352e3781822894680c32f3274f22712ac00d74bc
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-08-20 12:11:00 +02:00
Jaime Arteaga 4e2c9a2941 Fix computation of workgroup sizes for large sizes
Change-Id: I5b4895aafc8fa1db5960c2e64e801a3db80c0c51
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-08-19 17:21:16 +02:00
Pawel Cieslak fb821f21f5 Cmake format script
Related-To: NEO-1157

Change-Id: Ie1b907e838cfb9ad0d75cc8971d415f7c77103c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-08-19 16:36:30 +02:00
Krzysztof Gibala cb5ab704b6 Destroy all GraphicsAllocation in ~MemObj
Related-To: NEO-4672
Change-Id: I4fa09ae7753ed258f489b9e9f328d0a455e7d9b6
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-08-13 12:18:35 +02:00
Konstanty Misiak 7166dfdb05 Fix debugSurface allocation for non debug kernels
Change-Id: I253968f7ea617bc68275bec0d6279f1fcf948967
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-08-07 16:01:31 +02:00
Koska 2a4af0b89b Adding handle verification
Change-Id: I46d6bd2dda46ace927cdfea5f47b0e614d5818f4
Signed-off-by: Koska <andrzej.koska@intel.com>
Related-To: NEO-4819
2020-08-06 16:36:39 +02:00