e789375cd5
Enable memory transfer in enqueueCopyBufferToImage
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-14 14:57:24 +01:00
58633d726f
Enable memory transfer in enqueueCopyImageToBuffer
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-14 12:23:44 +01:00
4f54ea5c87
Enable memory transfer between images
...
Unlock flow for multi device setup in:
- enqueueCopyImage
Update cleanAllGraphicsAllocations test
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-11 16:15:31 +01:00
aa1fc85257
Store device specific kernel members per root device
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-10 17:57:39 +01:00
8d2cfd87ae
Create graphicsAllocation for all devices in image
...
Unlock flow for multi device setup in:
- enqueueReadImage
- enqueueWriteImage
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-12-10 17:40:03 +01:00
f4c495cfff
Enable zero size enqueues for all devices
...
Related-To: NEO-5331
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-12-09 19:12:00 +01:00
350ec9f16b
Pass root device index to get proper kernel info
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-12-09 19:11:43 +01:00
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
0ecb1b804f
combine timestamps implementation
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2020-12-06 17:19:36 +01:00
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
2293fc0cb5
OpenCL Queue Families extension 6/n
...
Add queue family and index querying from existing queue
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5120
2020-12-01 09:03:21 +01:00
84f3d44968
Enable memory transfer between buffers rect
...
Unlock flow for multi device setup in:
- enqueueCopyBufferRect
- enqueueReadBufferRect
- enqueueWriteBufferRect
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-11-30 10:35:34 +01:00
ef170607c8
OpenCL Queue Families extension 3/n
...
Check queue capabilities in enqueue calls for buffers
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5120
2020-11-25 14:02:10 +01:00
b85a8ace68
Pass root device index to Kernel's methods
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-25 12:49:15 +01:00
bf61dcc849
setupTimestampPacket method cleanup
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-24 18:53:14 +01:00
7ec69c33f9
Store SSH per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-24 17:57:31 +01:00
ae3ad3e8bc
Add method to adjust TimestampPacket
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-11-24 17:35:22 +01:00
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
a67e829fa8
Store crossThreadData per root device in Kernel
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-20 20:49:50 +01:00
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
757e8d746c
Don't return value from computeWorkgroupSizeND
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-19 18:29:40 +01:00
f2a73ef0f5
Enable memory transfer between buffers in enqueueCopyBuffer
...
Unlock enqueueCopyBuffer flow, for multi device setup
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-11-19 14:03:44 +01:00
2003fe46a6
Don't store Context in Kernel
...
reuse Context from Program
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-19 13:38:18 +01:00
97119f5f3e
Store ClDevice in DispatchInfo
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-17 10:29:20 +01:00
f13db6adad
Rename method
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-11-15 23:58:32 +01:00
bd432fa94c
Don't use device from kernel if possible [1/n]
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-11-13 17:41:18 +01:00
60c9bbea22
Disable blitter support for images
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-11-06 13:09:24 +01:00
3d9a180c12
Implement local memory path for all devices in buffer
...
Related-To: NEO-4589
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2020-11-05 15:01:58 +01:00
b7d5427f01
CPU access disallowed mode and blitter amendments
...
Related-To: NEO-4876
Change-Id: I7d6de1a0530e9c4f8bcf302824242033d3ca724a
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2020-11-03 13:04:28 +01:00
0d35af9327
KernelInfo refactor
...
Using kernelDescriptor.kernelAttributes.requiredWorkgroupSize
Change-Id: I2533c6f1d4a9b2cf5c141ba7fdd516d4c9d88502
2020-10-30 14:05:46 +01:00
523887019b
Rename debug flag to EnableBlitterForEnqueueOperations
...
Change-Id: I9ae8dfc1e86a837c600ee9099e936fc4a64c80b1
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-10-29 12:00:09 +01:00
bc6ba0688e
Limit usage of blitter for images
...
Change-Id: I15223ef4ebdbfef67b05647188bdd92d35a9dcad
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2020-10-29 11:53:21 +01:00
f84cd9f424
Small refactor getCommandStreamReceiver
...
Related-To: NEO-4692
Change-Id: Ie8c36982d5bd626735d1f8e6d04084bce67738e5
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2020-10-27 15:52:18 +01:00
b039f5cc76
Optimize profiling calls.
...
- do not call KMD query for submitted timestamp, we only need CPU
timestamp here.
Change-Id: Id60c1e367d9430d893fb3a253ffc058f45fc9609
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2020-10-23 17:36:14 +02:00
c3b8727e97
Remove opencl includes from HwHelper
...
Resolves: NEO-3964
Change-Id: Ie891ba6a205a89b41ca2cce0fa386dc4c93a0aaa
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-10-23 11:10:52 +02:00
a5a5c94097
Correct clCreateProgramWithBuiltInKernels
...
create program for all provided devices
move OCL specific code from shared to opencl
Related-To: NEO-5001
Change-Id: Ic352b4e907ae75426634ae4b3c7048edecaf83e7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-10-22 19:26:34 +02:00
914ace6165
Add blitter support for read/write images OpenCL
...
Change-Id: I5a74bcbdc5a5d7c20f55ee3c59839077649778c4
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2020-10-21 16:55:38 +02:00
9f08a60a20
KernelInfo Refactor
...
Using kernelDescriptor.kernelMetadata.kernelName instead of
kernelInfo.name
Change-Id: I11f5721d8072a3beccb573cec4bea56cf14cf0f9
2020-10-20 13:18:09 +02:00
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
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
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
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
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
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
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
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
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
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
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
28acc2c8f6
Remove lowPriorityEngineType member
...
Change-Id: I39908addf1c3a12f7807479132d0a6d5a4398d7b
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-09-28 17:02:56 +02:00