Warchulski, Jaroslaw
5eef40fedd
Cleanup includes 22
...
Cleaned up files:
opencl/source/built_ins/builtins_dispatch_builder.h
opencl/source/context/context.h
opencl/source/gtpin/gtpin_notify.h
opencl/source/kernel/kernel.h
opencl/source/kernel/multi_device_kernel.h
opencl/source/mem_obj/buffer.h
opencl/source/mem_obj/mem_obj.h
shared/source/built_ins/registry/built_ins_registry.h
shared/source/page_fault_manager/cpu_page_fault_manager.h
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-05 16:59:01 +01:00
Compute-Runtime-Validation
876de37b92
Revert "Feature(OCL) Use tag nodes for root device synchronization"
...
This reverts commit 547d1c37b3
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-12-24 19:14:33 +01:00
Maciej Plewka
547d1c37b3
Feature(OCL) Use tag nodes for root device synchronization
...
With this commit events created on multi root device contexts will
synchronize using signaled TagNodes instead of using taskCounts.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
Related-To: NEO-7105
2022-12-23 15:48:54 +01:00
Dominik Dabek
2d34f00b3e
Prepare for pool buffer enabling 3/n
...
Add per platform config
Reorder checks in allocateBufferFromPool
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-12-16 10:47:34 +01:00
Dominik Dabek
70dbce12d1
Prepare for pool buffer enabling 1/n
...
check if flags allow buffer from pool
add buffer offset to aubtests
disable pool buffer where required
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-12-05 23:51:30 +01:00
Dominik Dabek
67bfebb25e
Add additional create buffer arguments
...
Allow to: disable performance hints, make allocation lockable
Used in BufferPoolAllocator
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-11-21 16:19:53 +01:00
Compute-Runtime-Validation
074a1e8583
Revert "Make small buffer allocations lockable"
...
This reverts commit 9b9b0f10ef
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-11-19 18:04:32 +01:00
Dominik Dabek
9b9b0f10ef
Make small buffer allocations lockable
...
Allocations of buffers <= 64KB will be lockable, to
allow copying through locked pointer.
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-11-18 16:07:50 +01:00
Dominik Dabek
e151bc6e2d
[OCL] Flag for allocating small buffers from pool
...
Improves performance in workloads that create small opencl buffers.
To enable, set env var ExperimentalSmallBufferPoolAllocator=1
Known issues (will be addressed in further commits):
- cannot create subBuffer from such buffer
- pool buffer allocation should be reused
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-10-14 12:18:42 +02:00
Daniel Chabrowski
6fd7ae7142
Cleanup headers
...
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
2022-05-26 17:55:44 +02:00
Dominik Dabek
8d1ad5a4f3
Refactor: use stack vector for root device indices
...
Stack vector will not cause dynamic allocations in most circumstances
ie. number of root device indices not more than 16
Related-To: NEO-6837
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-04-14 14:05:42 +02:00
Katarzyna Cencelewska
a06fbd2077
Remove device enqueue part 10
...
- remove DeviceQueue
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-19 17:41:06 +01:00
Katarzyna Cencelewska
d2818aaea2
Remove device enqueue part 5
...
-remove scheduler and builtin_kernels_simulation
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-13 14:15:26 +01:00
Fabian Zwolinski
617f65c285
Add wrapper for snprintf
...
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2021-12-17 13:07:49 +01:00
Maciej Dziuban
457ef00abf
Reuse graphics allocations in svmMemcpy
...
Related-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-11-17 14:03:05 +01:00
Maciej Dziuban
f1b6b733f0
Reuse graphics allocation from mapped buffers in OpenCL
...
Related-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-10-27 15:53:10 +02:00
Maciej Dziuban
3f2536a6ba
Move storage of mapped operations to OpenCL context
...
Relate-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-10-26 11:52:13 +02:00
Compute-Runtime-Validation
116dac90de
Revert "Move storage of mapped operations to OpenCL context"
...
This reverts commit 8c9dd3085b
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2021-10-19 16:31:23 +02:00
Maciej Dziuban
8c9dd3085b
Move storage of mapped operations to OpenCL context
...
Relate-To: NEO-6352
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2021-10-18 16:08:25 +02:00
Szymon Morek
c8b85bb5a9
Add method to check tile only context
...
Related-To: NEO-6043
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2021-07-21 12:22:42 +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
Mateusz Jablonski
1e97e4117e
Respect platform in context properties when creating context
...
Resolves: NEO-5223
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-30 20:59:19 +02:00
Mateusz Jablonski
8215395401
Simplify Context method
...
return if context has multiple sub devices related to a given root device
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-03-30 10:22:15 +02:00
Filip Hazubski
9a8125cdb0
Correct formatting
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2021-03-16 10:29:41 +01:00
Mateusz Jablonski
1b7d7afc07
Refactor USM properties
...
store reference to std of root device indices and device bitfields
store NEO::Device in USM properties
Related-To: NEO-3691
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-12-30 11:36:56 +01:00
Mateusz Jablonski
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
Filip Hazubski
4052525091
Update DestructorCallbacks helper
...
Move common logic to the helper.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-11-16 13:08:53 +01:00
Filip Hazubski
818a5a683e
Remove Context::processExtraProperties function
...
Related-To: NEO-4700
Simplify SharingContextBuilder::processProperties function.
Change-Id: I78bbf06c688c37490d9d7f09c9bfc451f1e68d30
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-10-30 14:33:21 +01:00
Krzysztof Gibala
2c1551d40d
Extend specialQueue in context to StackVec
...
Related-To: NEO-4589
Change-Id: I92db4cf8511e13a35307a4f48b51041a6fc7330f
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-10-30 13:33:46 +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
Mateusz Jablonski
52feced02b
Correct exposing devices from program created with source
...
Related-To: NEO-5001
Change-Id: I15dd7480ecd8dc5cf2e4347cd06837ea573ecd95
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-20 16:18:30 +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
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
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
2912cebbd4
Update Context::blitMemoryToAllocation function
...
Change-Id: I5f81cb023b75e82bd3aff8e393f6b9463c767112
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-07-13 15:23:51 +02:00
Mateusz Jablonski
c80ff3a158
Setup context type based on provided devices
...
Related-To: NEO-4484
Change-Id: I1db354237b87167d4fa824e63737f6fff2ad77cb
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-05-05 09:49:11 +02:00
Mateusz Jablonski
159c804312
Add method to get device bitfield from context
...
Related-To: NEO-4484
Change-Id: I5079c5bff48b552ed5326b2252bcd9401ea66c7d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-04-28 21:26:11 +02:00
Mateusz Jablonski
831233a8d2
Minor cleanup of Context class
...
Change-Id: I1d9169ce0019162b20d573a315d006c6a0913e4f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-04-28 14:26:25 +02:00
Filip Hazubski
8bb4be1689
Add Context::getSubDeviceByIndex function
...
Change-Id: I9a41b99521e705da008a614daa88c051b3687352
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-01 11:13:59 +02:00
Andrzej Swierczynski
3b4276c8f7
Move AsyncEventsHandler to ClExecutionEnvironment
...
Related-To: NEO-4207
Change-Id: If859f995aae57ac03de13d57cc5a38c97303bbb4
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-03-31 15:42:07 +02:00
Mateusz Jablonski
a651625473
Correct validation during creating command queue
...
check if device is associated with context
Related-To: NEO-3691
Change-Id: I7dfe12376bb2bb2c764b471315072a29068a0cb7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-24 17:05:31 +01:00
Filip Hazubski
fe851da327
Rename device directory
...
device directory is renamed to cl_device.
Related-To: NEO-3938
Change-Id: I96794c82632d042da6814550597d805df7bb6436
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-24 14:35:21 +01:00
Krzysztof Gibala
0d342ac1aa
Add Blitter support for ReadBufferRect
...
Change-Id: I530acc5a2b70fcd82f8ca5db46a0fa474d493a47
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
Related-To: NEO-4013
2020-03-24 09:23:15 +01:00
Mateusz Jablonski
9dbeeea18f
Clang-format: restore sorting includes
...
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 10:22:30 +01:00
Mateusz Jablonski
7df9945ebe
Add absolute include paths
...
Change-Id: I67a6919bbbff1d30c7d6cdb257b41c87bad51e7f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 23:49:12 +01:00
Mateusz Jablonski
370424a1e0
Change core inlcudes
...
Change-Id: Iaec903af420f0a92f7d86e484c83300fb9c531ad
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-23 18:46:50 +01:00
kamdiedrich
d015d3633f
Add absolute path to include
...
Change-Id: Ib0782b4ab8d9a26ec358ecfb57721f4fe8d51b06
2020-02-23 08:47:49 +01:00
kamdiedrich
fa8e720f9e
Reorganization directory structure [1/n]
...
Change-Id: Id1a94577437a4826a32411869f516fec20314ec0
2020-02-22 21:56:09 +01:00