Mateusz Hoppe
b5e2f322f6
Move files from runtime/memory_manager to core
...
- remove TbxMemoryManager
Change-Id: I554feff51f08e108b2e9ee22ecaa2cb75a1eead7
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-01-21 15:28:47 +01:00
Filip Hazubski
8fcff2241f
Add ClDevice
...
Decouple cl_device_id from Device class.
Related-To: NEO-3938
Change-Id: I68543a753aea562f3b47ba0d23a059ff3cffa906
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-01-17 12:43:11 +01:00
Jobczyk, Lukasz
172e75147e
Make OsInterface root device specific
...
Related-To: NEO-3857
Change-Id: Ibcd80c731b5d3755b62e0e03d0ffeedb08b52ca0
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-01-15 11:07:25 +01:00
Mateusz Hoppe
01d8532f52
Move files to core
...
- wddm_allocation.h/.cpp
- os_context.h
- residency_container.h
Change-Id: I9f933a09d1142f86550c0d67626f0719b6450303
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-01-13 18:25:00 +01:00
Mateusz Hoppe
f0a6f6b057
Move DebugSettingsManager to core
...
- pass registry path in constructor
Change-Id: I2a121da2c9483a0df088989feea490a638c63016
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-12-17 10:39:53 +01:00
Pawel Wilma
472a75912d
Return error code from submit() to application.
...
Related-To: NEO-3741
Change-Id: I0e0ff6606eb6a8a77673949955c8e799689017b6
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-11-26 12:42:47 +01:00
Mateusz Jablonski
3e1b15c31d
Move initialization of AubCenter to RootDeviceEnvironment
...
make RootDeviceEnvironments vector of unique_ptr
Related-To: NEO-3857
Change-Id: I23998502198307c8535cdd5c9c4af5223a5d69a5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 11:30:16 +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
Dunajski, Bartosz
afb96b0b57
Change temporary allocations cleanup order
...
Change-Id: I7c6d52d985da14fb6c7a0bd15e4384c1ddfae622
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-05 15:36:33 +01:00
Jobczyk, Lukasz
e784ba39fb
[2/N] Make the execution environment adapter agnostic
...
-add rootDeviceId to the command stream receiver
Related-To: NEO-3857
Change-Id: I6c7f334ebe3d19cf0c58a4db65d013b7a8b7f982
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-10-29 17:15:01 +01:00
Mateusz Jablonski
d408b82a19
Move aub center and command stream receivers to root device environment
...
resize root device environments to 1 by default
Related-To: NEO-3691, NEO-3857
Change-Id: Idf3d61e84f8265f30381c18216632d0ffb2a16de
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-28 14:40:43 +01:00
Slawomir Milczarek
3727968488
AUB capture in TBX mode to respect the AUBDumpCaptureFileName debug variable
...
Change-Id: I0a340ac5be58134237aa2c6513f39dc5d7026634
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-18 10:45:22 +02:00
Slawomir Milczarek
b3ada0146b
AUB subcapture in TBX mode to write the head register upon activation
...
Related-To: NEO-3051
Change-Id: I5a78de3e43576e2398449ed12935af4000da3deb
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-17 16:03:50 +02:00
Milczarek, Slawomir
f0e7e24638
Add support for AUB subcapture in TBX mode
...
Resolves: NEO-3051
Change-Id: If7c2d550227d0c5d09c35a53387f34f968e7c7b7
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-10-03 18:05:55 +02:00
Katarzyna Cencelewska
260759268a
Add logic to change queue slice count
...
Change-Id: I4f5ccb4ecb290e1a05e3a312b9fa2a5d9c5c17f7
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-09-26 10:21:12 +02:00
Mateusz Jablonski
1635bef9a8
Tests update: create memory manager for command stream receiver
...
Change-Id: I89b577759d6da112049a8b0135ae488f2849c140
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-09-03 14:24:02 +02:00
Filip Hazubski
552a1268eb
Refactor blit buffer call
...
Resolves: NEO-3241
Change-Id: I726135ae55d1e0fcbacd80620e827ee5c7c0c8dc
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-08-09 16:43:40 +02:00
Mrozek, Michal
fe26b0b406
Move debug_manager_state_restore.h to core.
...
Change-Id: I3ef4a1aec40efa4bbc8346a5b517336c42c06519
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-07-15 17:21:38 +02:00
Mrozek, Michal
ee0cd25bef
TBX - fix residency of command buffer.
...
- Make sure that command buffer is properly resident and task counts are
updated.
- There is no need for divergent code flow in flush, we want to ensure
here that command buffer is resident.
- By code unification tbx command stream receiver properly handles
command buffer allocation in all dispatch modes.
Change-Id: Ied3f96ccd3e4774fe2d6f8810021cb9e030b3004
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-07-01 11:49:35 +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
Milczarek, Slawomir
cc6a94b5b6
Fixed TBX with AUB dump mode without AubStream
...
Related-To: NEO-3150
Change-Id: I9ee7fc3c44f3021c61db7c27c01522cbe7d7445d
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-05-10 14:23:17 +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
de988d067c
Fix ExecutionEnvironment test and rename hwInfoHelper to hardwareInfo
...
Change-Id: I849b9f5a9f449f063e5717ea9758e80c6662c5a5
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-05-09 08:53:24 +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
Maciej Dziuban
e0e19c2432
Change TBX 'coherence' terminology to 'download'
...
Related-To: NEO-3054
Change-Id: Ic2d7fe76dc85b007acfe19ee2c29f8dd8539ccbc
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-04-29 15:23:54 +02:00
Mateusz Hoppe
068a8d7189
Call submitBatchBuffer on HardwareContext
...
Related-To: NEO-3052
Change-Id: I51cae4d953260c0b6a49c40b8a8771630c721731
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-26 15:22:42 +02:00
Maciej Dziuban
b7bd3aa793
Defer makeCoherent call to blocking calls
...
This allows flush() not to be blocking while using TBX
Resolves: NEO-3054
Change-Id: Ib3a408d4b5ec66f0848572841b3c60785fc28ad9
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-04-23 10:16:43 +02:00
Mrozek, Michal
97bc604316
Make sure that resources are not made resident multiple times.
...
Related-To: NEO-3054
Change-Id: I32d01f8993e8d327ee117a352a8b4bcb1bbb7e30
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-04-17 10:27:11 +02:00
Mrozek, Michal
6223cd32cb
Make sure that TBX requests 1 as preferred tag pool size.
...
Change-Id: I951117122b3e78cf40d413ce1899cd304f338ef6
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-04-16 16:28:19 +02:00
Jobczyk, Lukasz
a025dc6985
Reverse logic of creating Memory Manager - part 6
...
-Remove a redundant condition from the MemoryManager constructor
Change-Id: I4b6c56f30a19e77a7a20f68c6d85516aaa52d102
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-04-01 10:27:29 +02:00
Mrozek, Michal
e772321e82
Do not call pollForCompletion after flush.
...
Change-Id: I5bae360ceb38d4c955035b3a51938608c79058ed
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-04-01 10:10:03 +02:00
Milczarek, Slawomir
9f95e9b704
TBX with AUB dump to call open on aub manager
...
Call open on aub manager to open file stream.
Change-Id: Id48ac4b3bdb212db4adc5912bacd28ccb895c9cf
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-03-27 23:59:57 +01:00
Pawel Wilma
af64a54a88
Fail AUB tests execution if AUB file cannot be created
...
Change-Id: Id0474cc5c00be90e69d498ec5674089086a82350
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-03-27 15:40:48 +01:00
Piotr Fusik
d4a0c4852b
Move EngineType to aub_stream.
...
Change-Id: Ieaa75aaf4aca4487833754eb38ff709adcbf0f11
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-27 10:06:29 +01: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
Jobczyk, Lukasz
9ecb3193af
Reverse logic of creating Memory Manager - part 3
...
-Move a Device::getEnabled64kbPages method's logic
to the Memory Manager constructor
Change-Id: Ide88898000e5817a79f9a6ad5dfc9d680bec0533
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-03-25 14:42:16 +01:00
Stefanowski, Adam
16aee8cc46
[2/n] Move Hardware Info to Execution Environment
...
- remove hwInfo from the csr functions where it was passed as a parameter,
now csr functions have access to hwInfo by Execution Environment
Change-Id: I756ae63d9728c9c963571147bab97f9e1c15797b
Signed-off-by: Adam Stefanowski <adam.stefanowski@intel.com>
2019-03-22 10:08:26 +01:00
Piotr Fusik
db9afd06cd
Remove EngineInstanceT.
...
Change-Id: I08543b5f4ef5e91e6beb8390d448e53702cd9dac
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-20 10:56:22 +01:00
Piotr Fusik
ddfb8a3ded
Remove engineInfoTable.
...
Change-Id: Ibf614a2182485c46d826cf35bd5a83f8a767b4bb
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-20 08:55:22 +01:00
Piotr Fusik
429487fad0
Add constructor parameter to select low priority context.
...
Change-Id: Ieb3fa008a2f1b54052e393516038c88f00944fa0
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-18 15:09:59 +01:00
Piotr Fusik
ec72787b98
Remove MemoryManager::allocateGraphicsMemoryForHostPtr.
...
Change-Id: I629f2299a183fc135135dbaff89216b966554a95
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-03-12 15:51:32 +01:00
Stefanowski, Adam
341fcfc091
[1/n] Move Hardware Info to Execution Environment
...
- remove gmm_environment_fixture
- remove hwInfo parameter from ExecutionEnvironment methods
Change-Id: Ieb0f9b5b89191fbbaf7676685c77644d42d69c26
Signed-off-by: Adam Stefanowski <adam.stefanowski@intel.com>
2019-03-12 08:39:26 +01:00
Dunajski, Bartosz
86dabbf6d5
Improve OsContext construction
...
Change-Id: Ibf9293344cc5c0ae1b2cc011e87d9e3626f3a066
2019-03-01 08:35:38 +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
Hoppe, Mateusz
98db6147d8
Pass full aubfile name to initAubCenter when using TBX with AubDump
...
Change-Id: I9184ce38cd9a066259bbf3a5b8a56694d4e309b4
2019-02-21 12:39:10 +01:00
Hoppe, Mateusz
7f98db617c
Move expectMemory/writeMemory methods to CSRSimulatedCommon
...
- fix aub tests with --tbx option
Change-Id: I227449dd8614a8aada3eaa4f28ff6dcca7530956
2019-02-18 10:01:32 +01:00
Dunajski, Bartosz
958d931cd9
Allow to create HardwareContextController for multiple Devices
...
Change-Id: Ib066c937809536196182ca87359c487570cc2e89
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-14 16:00:00 +01:00
Zdanowicz, Zbigniew
8e1e874a76
Refactor headers and reorder include order
...
Change-Id: I6b341e2b37e569af7d741bfd7a63804c0b25a4c9
2019-02-14 13:39:01 +01:00
Hoppe, Mateusz
0f36265f55
Pass CsrType to initAubCenter
...
- create AubManager with correct mode
Change-Id: I89c9c3c7edf553854b8b82788cec3dec53a62d79
2019-02-13 09:48:05 +01:00
Jablonski, Mateusz
db8c2bc57e
Unify write memory in simulated csr when aub manager is available
...
Change-Id: I28d0496b1b1fb973af4869e5626082142b5818dd
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2019-02-12 14:43:26 +01:00