Maciej Dziuban
b8a03cdea1
Remove getAnyBcs() method
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-11-10 18:55:37 +01:00
Compute-Runtime-Validation
908a7721b2
Revert "Assign engine to command queue using round robin algorithm"
...
This reverts commit 2fff0f9059 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-10 07:25:44 +01:00
Lukasz Jobczyk
2fff0f9059
Assign engine to command queue using round robin algorithm
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-09 11:05:16 +01:00
Compute-Runtime-Validation
9058de77cc
Revert "Assign engine to command queue using round robin algorithm"
...
This reverts commit 1c68ac1cbc .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-11-08 16:36:18 +01:00
Maciej Dziuban
4c4b37f8d2
Implement BCS selection heuristic for OpenCL CommandQueue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-11-08 12:58:14 +01:00
Lukasz Jobczyk
1c68ac1cbc
Assign engine to command queue using round robin algorithm
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-11-03 17:16:54 +01:00
Maciej Dziuban
a582f34c04
Reuse graphics allocations in readBufferRect/writeBufferRect
...
Related-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-11-03 14:58:51 +01:00
Kamil Diedrich
5fdcb14d57
WSL fallback to staging buffer on blocking reads
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-10-28 03:34:58 +02:00
Maciej Dziuban
19a6c9b1d3
Track separate task count for each BCS in OpenCL CommandQueue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-10-13 12:06:27 +02:00
Maciej Dziuban
c910a58aa0
Store bcsEngine in an std::vector in OpenCL CommandQUeue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-10-07 21:55:21 +02:00
Maciej Dziuban
c04f8e5e5b
Pass copy engines to waitUntilComplete in OpenCL command queue
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-24 14:11:44 +02:00
Maciej Dziuban
6d1e048327
Rename an overload of waitUntilComplete to waitForAllEngines
...
- Overloaded functions were quite different, they should have different names
- waitForLatestTaskCount function was redundant and hence its body was moved
inside waitForAllEngines
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-23 09:43:11 +02:00
Maciej Dziuban
04b6a604ec
Refactor BCS in OpenCL CommandQueue
...
- use CopyEngineState class to hold task count and engine type
- pass engine type to updateBcsTaskCount
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-22 10:39:46 +02:00
Maciej Dziuban
2707618fe3
Pass engine type to getBcsCommandStreamReceiver in OpenCL
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-21 16:27:07 +02:00
Maciej Dziuban
a4b3dc29e4
Remove unnecessary method
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-21 11:34:27 +02:00
Maciej Dziuban
c7d86af500
Pass blitter CSR to event
...
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-15 12:49:22 +02:00
Maciej Dziuban
858727010f
Add selectCsrForBuiltinOperation method to OpenCL CommandQueue
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-6057
2021-09-10 12:26:47 +02:00
Maciej Dziuban
3e6b3cd780
Revert "Create single point for selecting engine for builtin ops"
...
This reverts commit 6513bd371a69cb821ea45c7c1964ea1f51dd75b2.
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-02 11:58:46 +02:00
Compute-Runtime-Validation
94cd243360
Revert "Correct CSR used for hostptr allocations in builtins"
...
This reverts commit 69ae9dc9c2 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2021-09-02 04:45:06 +02:00
Maciej Dziuban
69ae9dc9c2
Correct CSR used for hostptr allocations in builtins
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-09-01 13:19:49 +02:00
Maciej Dziuban
a03b5f8a95
Create single point for selecting engine for builtin ops
...
- selectCsrForBuiltinOperation selects proper CSR
- selected CSR is passed to dispatchBcsOrGpgpuEnqueue
- Notifications such as notifyEnqueueReadBuffer are now made on correct engine
- Temporary allocs for hostptrs are now created on gpgpuCsr
Related-To: NEO-6057
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-08-31 13:29:17 +02:00
Maciej Dziuban
42524b6bef
Limit usage of getBcsCommandStreamReceiver()
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-08-27 12:15:30 +02:00
Filip Hazubski
63f8c9d98b
Add new EngineUsage
...
Simplify verifying EngineUsage in tryGetEngine function.
Remove unused getGpgpuEnginesCount function.
Related-To: NEO-4940
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-08-23 17:41:13 +02:00
Konstanty Misiak
ad19eda689
Fix event profiling for marker commands
...
Related-To: NEO-5799
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-08-13 15:02:01 +02:00
Maciej Dziuban
9bca773b91
Remove command queue constructor
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-07-23 14:16:02 +02:00
Szymon Morek
399dc60bf8
Remove processing extra properties
...
Related-To: NEO-6024
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-07-08 16:18:06 +02:00
Maciej Dziuban
6f6ee90aa5
Extend copy engine selector data
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-07-06 12:28:55 +02:00
Michal Mrozek
ad3855ceb3
Revert "Fix event profiling for marker commands"
...
This reverts commit 5f0167b477993f3ebc804c53a110bc432638615b.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-07-01 08:01:33 +02:00
Konstanty Misiak
1df1094465
Fix event profiling for marker commands
...
Related-To: NEO-5799
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2021-06-30 14:56:39 +02:00
Bartosz Dunajski
5fbf084c41
Dont access PrintfHandler after move operation
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-28 13:57:42 +02:00
Bartosz Dunajski
82f1816aec
Keep implicit TSP dependencies ownership after enqueue
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-22 13:37:20 +02:00
Kamil Kopryk
b2918b5115
Correct enqueueCopyImage params
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-06-15 13:24:57 +02:00
Bartosz Dunajski
06fd238a95
Keep old queue TimestampPacket nodes ownership until completed
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-15 08:33:00 +02:00
Kamil Kopryk
6ea3f57849
Don't use bcs for mipmapped images OCL
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-4692
2021-06-10 12:48:47 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
Krzysztof Gibala
b01b8ba5ac
Use MI_SEMAPHORE_WAIT command for event synchronization
...
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-04-19 11:34:52 +02:00
Mateusz Jablonski
056300f01f
Pass internal kernel object to enqueueKernel method
...
Related-To: NEO-5001
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-03-08 19:14:08 +01:00
Krzysztof Gibala
d8a1bb599e
Extend event synchronization mechanism for multi device concept
...
Related-To: NEO-5508
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2021-02-16 11:27:47 +01:00
Maciej Dziuban
98ff3cc0a9
Do not use blitter for local->local SVM and USM copies
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5549
2021-02-11 16:24:57 +01:00
Maciej Dziuban
a68a4aa74e
OpenCL Queue Families extension 17/n
...
Return index of default queue (created without using the extension)
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5120
2021-02-11 16:01:29 +01:00
Maciej Dziuban
2cd6809d1e
Do not use blitter for clEnqueueCopyBuffer
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2021-02-11 12:42:43 +01:00
Maciej Dziuban
681c6eeb38
OpenCL Queue Families extension 11/n
...
Check for support of cross queue events in enqueue calls
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5120
2021-01-26 14:02:54 +01:00
Maciej Dziuban
384e47f438
OpenCL Queue Families extension 7/n
...
Update enum values to official ones
Delete redundant CL_DEVICE_NUM_QUEUE_FAMILIES_INTEL
Rename CL_QUEUE_CAPABILITY_ALL_INTEL to CL_QUEUE_DEFAULT_CAPABILITIES_INTEL
Add capabilities for cross queue events and single queue events
Add capabilities for buffer to image and image to buffer transfers
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-5120
2020-12-14 16:19:11 +01:00
Maciej Dziuban
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
Maciej Dziuban
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
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
Maciej Dziuban
f13db6adad
Rename method
...
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2020-11-15 23:58:32 +01:00
Kamil Kopryk
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
Kamil Kopryk
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
Mateusz Jablonski
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