Mateusz Jablonski
e7ee6daaa0
Remove runtime/gen_common from include paths
...
Change-Id: I4d1f9e64e0f4099e7903234e62b070ad4235347a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 13:37:34 +01:00
Igor Venevtsev
63fd26f6d6
Always specify rootDeviceIndex for graphics memory allocations
...
Related-To: NEO-2941
Change-Id: Ia2362fd6b4e72ede02919152475f40b3edbc3658
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2019-11-15 15:14:41 +01:00
Filip Hazubski
5f021afd6d
Move HwHelper to core directory
...
Change-Id: I2c78a8b737ee8e61b917b4918da37e77bbd9fe34
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-15 14:06:40 +01:00
Filip Hazubski
65ba8e9fa3
Fix programBarrierEnable call
...
Related-To: NEO-3211
Change-Id: I14b89d650d8f6aa4aed01d3b15f5392e1ca15cbd
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-14 12:36:14 +02:00
Filip Hazubski
6a7b7013fe
Add programBarrierEnable helper function
...
Related-To: NEO-3211
Change-Id: I7afe11fa9d440837d66f0003b9e02db1f404d650
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-11 09:17:06 +02:00
Filip Hazubski
96031e7bba
Update programming BarrierEnable
...
Related-To: NEO-3211
Change-Id: I27d04d12414738c8e4a3eef1d29967e47a61c0fb
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-10 13:07:23 +02:00
Piotr Zdunowski
5e4362258a
Pass timestamp resolution to scheduler through event pool.
...
Related-To: NEO-2491
Change-Id: I7fb42441320b2b8a63b65ebe1d7f1f435809c80e
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2019-10-04 11:07:43 +02:00
Daria Hinz
375681ae12
Move Preamble Helper to core
...
Change-Id: I7d1bf567a67dc93c10d396aeb48ad1179b5b8ecb
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-10-03 13:54:17 +02:00
Kamil Diedrich
115070767c
Move graphics_allocation to core folder
...
Change-Id: I16b8dbb57c2a40126826a232332c18ba9f563220
2019-09-18 05:26:55 +02:00
Daria Hinz
6566eb3193
Move Linear Stream to core folder
...
Change-Id: I962ebd6e9075fcab9d7b6211524093109e62d382
Signed-off-by: Daria Hinz <daria.hinz@intel.com>
2019-08-26 17:00:53 +02:00
Dunajski, Bartosz
8135babfc4
Dont use default engine tag address in DeviceQueue
...
Change-Id: I84b9ecd9a9e7c1ffe620af8ad54fd5d48532fa5b
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-08-26 13:30:18 +02:00
Krzysztof Gibala
62b0f0a220
Refactor addPipeControlWA, PipeControlWArequired
...
Related-To: NEO-3210
Change-Id: I0516154b323e29eeb697bf2253ca08ae1ce150d8
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2019-08-19 10:47:28 +02:00
Raiyan Latif
ca74489172
Move string.h to core helpers
...
Change-Id: Ibaaab077ef2867b5e0db3bd215c261de9294063f
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2019-07-19 07:21:00 +02:00
Dunajski, Bartosz
42604b8645
Improve PIPE_CONTROL programming
...
Change-Id: Id21fe4d08fdfc19921051beb8f9a66737fefc2f3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-07-12 10:50:45 +02:00
Dunajski, Bartosz
70f92cf03c
Rename KernelCommandsHelper to HardwareCommandsHelper
...
Change-Id: I0b92a2d74bc96658274e4a02fec0f322e87681b2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-06-12 13:45:12 +02:00
Zbigniew Zdanowicz
137ab6c130
Calculate max threads for preamble only once
...
Change-Id: I345f1229ae8421d97fe7c947af54f459632ae792
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-05-30 15:23:17 +02:00
Jaime Arteaga
b98b51b0d9
Move ptr.h to core folder
...
Change-Id: Icf0db7c767b2b1ea44fccc02b135f0f6c1f78c8f
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2019-05-29 00:11:34 -07:00
Maciej Dziuban
e67879ffca
Extract functions to device_queue_hw_base.inl
...
Change-Id: I91216453effadf7290b6364bfd442704add97566
Related-To: NEO-3016
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-05-14 11:32:38 +02:00
Dunajski, Bartosz
0f87e9aa1a
Rename HardwareInfo members
...
Change-Id: I85f56b677bafdd75dd958b488522393fc18b68af
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 09:13:55 +02:00
Dunajski, Bartosz
bb80d327c7
Move HardwareInfo ownership to ExecutionEnvironment [1/n]
...
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-08 16:11:01 +02:00
Piotr Fusik
603eee76e5
Use GPU pointers for HwPerfCounter.
...
Related-To: NEO-2872
Change-Id: Ia30f2ee0d96a3da05b8e5ecf55e9b7fb5a34ace7
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-04-18 16:28:48 +02:00
Mateusz Jablonski
74ae06b131
Add new allocation type for internal allocations in system memory
...
Related-To: NEO-2733
Change-Id: I256d414c1e92647469dd2a80f83bdbfc8721cf43
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-17 11:20:50 +02:00
Mateusz Jablonski
1e11d8939f
Add new allocation type for device queue's allocatons
...
remove not used mustBeZeroCopy flag
Related-To: NEO-2733
Change-Id: I8b8faf4e2d46249f897a06170dd777193c7f8729
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-04-16 10:34:18 +02:00
Piotr Fusik
dd4b3a9f14
Simplify HwTimeStamps operations.
...
Related-To: NEO-2872
Change-Id: Id8e49082b88d7233b9d3ceb9074ce093c100ec14
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-04-15 10:51:09 +02:00
Maciej Dziuban
68311588e6
Delete CommandQueue argument from dispatchScheduler
...
Change-Id: Icbda4d6887d7f0001e3081aef1fa69edc1169782
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-04-01 11:13:37 +02:00
Maciej Plewka
9e52684f5b
Change namespace from OCLRT to NEO
...
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-03-26 15:48:19 +01:00
Maciej Dziuban
33c07c875f
Do not insert PipeControl WA or DC Flush when not needed
...
Change-Id: I71030273708f243324a566232528bce00a0361df
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-03-22 12:37:27 +01:00
Filip Hazubski
8b57d28116
clang-format: enable sorting includes
...
Include files are now grouped and sorted in following order:
1. Header file of the class the current file implements
2. Project files
3. Third party files
4. Standard library
Change-Id: If31af05652184169f7fee1d7ad08f1b2ed602cf0
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-02-27 11:50:07 +01:00
Maciej Dziuban
0cf71414e2
Pass command stream to dispatch scheduler
...
instead of taking it from CommandQueue
Change-Id: I8e43c3b7ed5cb46f79edf3290a84fc6ad41f3b57
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-02-25 14:35:19 +01:00
Zdanowicz, Zbigniew
8e1e874a76
Refactor headers and reorder include order
...
Change-Id: I6b341e2b37e569af7d741bfd7a63804c0b25a4c9
2019-02-14 13:39:01 +01:00
Dunajski, Bartosz
dc181defba
Use GpuAddress for TimestampPacket programming
...
Change-Id: I1303605c33e2e0267a1716e12a0bfcb341fcfbd7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-11 15:31:17 +01:00
Zdanowicz, Zbigniew
158f200476
Add HW commands const definitions
...
Change-Id: If2e9d7f7f707b7b8c7bd8dbd3853ab3b6dad0c9a
2019-01-18 12:13:25 +01:00
Pawel Wilma
14e8fdd8f8
Fix for incorrect timestamp offset calculation in event profiling info
...
Change-Id: I634c29daf4734b24e4075542dc6550c531977f0a
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-01-11 16:39:05 +01:00
Napiatek, Henryk J
f7e0decf44
Improve capturing profiling timestamps
...
Change-Id: I3a568afb664cae5c871e53de2c36fc8be65a4bdf
2019-01-03 12:35:56 +01:00
Artur Harasimiuk
b5f443edc0
Revert commit cc1f4bed60
.
...
This reverts commit cc1f4bed60
.
Revert "Revert "Use GPU instead of CPU address in programming commands
for HwTim(...)""
Change-Id: Iff122612bb46ba80bcc70b07b2609bfd5f0b9653
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-12-21 13:25:49 +01:00
Pawel Wilma
cc1f4bed60
Revert "Use GPU instead of CPU address in programming commands for HwTim(...)"
...
This reverts commit 6202b2222b
.
"Use GPU instead of CPU address in programming commands for HwTimeStamps"
Change-Id: I085382d95538ae41068a21c628d606039bf9cdf0
2018-12-21 01:16:46 +01:00
Mateusz Jablonski
8ec072d39c
Simplify Memory Manager API [3/4]
...
- remove method allocateGraphicsMemory(size_t size)
- pass allocation type in allocation properties
- set allocation type in allocateGraphicsMemoryInPreferredPool
Change-Id: Ia9296d0ab2f711b7d78aff615cb56b3a246b60ec
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-12-17 10:42:16 +01:00
Pawel Wilma
6202b2222b
Use GPU instead of CPU address in programming commands for HwTimeStamps
...
Change-Id: If9ab4cbd052dfa46b5d901073df4c583c2ae361f
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2018-12-12 13:27:53 +01:00
Dunajski, Bartosz
0131e66a70
Allow Device creating multiple CSRs [6/n]
...
- Introduce default Engine query
- Improve Deferred Deleter usage
- Remove Tag Allocation from Device
Change-Id: Iaa88d8dc0166325acf9a157dcd2217ea408ee285
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-29 16:20:13 +01:00
Mrozek, Michal
61e7ae9280
Refactor pipe control post sync programming.
...
Change-Id: I81f4840345494c6d32679e29faaff786677cb4b0
2018-11-23 11:42:32 +01:00
Artur Harasimiuk
40146291ad
Update copyright headers
...
Updating files modified in 2018 only. Older files remain with old style
copyright header
Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-09-20 18:02:35 +02:00
Hoppe, Mateusz
afdc4ac1bb
Device Enqueue: Add ULTs
...
- add Gen8 AUBParentKernel aub test
- add scheduler kernel source tests:
SECOND_LEVEL_BUFFER_SPACE_FOR_EACH_ENQUEUE,
SECOND_LEVEL_BUFFER_NUMBER_OF_ENQUEUES,
space used for SlbDummyCommands
Change-Id: I67afeb731e0bff52696157f3fa6fb4bc2079c73c
2018-06-04 13:36:30 +02:00
Hoppe, Mateusz
9a7e57dd76
Fixes for BDW device enqueue
...
- add DC Flush to PipeControl with CSStall
- fix SLB SPACE_FOR_EACH_ENQUEUE size for gen8
Change-Id: Ida6ced371e86ff0f8c1b23f08e64fa73530e37b1
2018-05-30 23:34:14 +02:00
Zdanowicz, Zbigniew
d94b853c32
Separate HW commands from class declaration and interface
...
Change-Id: Ia49098171f4b7814c42a35686354713a322c9df7
2018-04-25 14:03:00 +02:00
Mrozek, Michal
ffa9b097f5
[26/n] Internal 4GB allocator.
...
- change the way we handle blocked commands.
- instead of allocating CPU pointer and populating it with commands, create
real IndirectHeap that may be later submitted to the GPU
- that removes a lot of copy operations that were happening on submit time
- for device enqueue, this requires dsh & shh to be passed directly to the
underlying commands, in that scenario device queue buffers are not used
Change-Id: I1124a8edbb46777ea7f7d3a5946f302e7fdf9665
2018-04-09 10:47:37 +02:00
Zdanowicz, Zbigniew
b6b92ae808
Create GpgpuWalkerHelper class
...
Change-Id: Ia9aa7b816356aff57234b46ea3509b6bd9b7f14b
2018-04-04 16:42:16 +02:00
Mrozek, Michal
2be5934096
[21/n] Remove Instruction Heap from enqueue path.
...
- This removes Instruction Heap allocation from enqueue path
- Blocked path is handled as well
- Heap is no longer allocated on demand it is bind to kernelInfo.
Change-Id: I54545beceed3404ee0330a8bac2b0934944cac30
2018-03-28 20:15:55 +02:00
Mrozek, Michal
9bdf01468e
[20/n] Internal 4GB allocator.
...
- Switch to internal heap for kernel ISA allocations.
- remove IH from various functions
- remove IHState from CSR , IH is never dirty
- ISA is no longer copied on enqueue calls.
Change-Id: I0099cf2a9ebab6192ea03a74dd35f7da963fd5a5
2018-03-28 16:07:26 +02:00
Mateusz Jablonski
575d1bf381
Cmake refactor part 20
...
set global properties with runtime sources, libult sources and
os interface tests
Change-Id: I9a84edf2f021b4581a16c19c7dbb0b2f94c33f4d
2018-03-23 15:51:12 +01:00
Mrozek, Michal
1602fa5a88
[7/n] Internal 4GB allocator
...
- rename getBase to getCpuBase
- change some test names accordingly.
Change-Id: I6fb2e4714298250147ea7766a916d7f5d62edc54
2018-03-05 22:16:14 +01:00