Andrzej Koska
1f6dde3f02
Added DeviceId filtering under Linux
...
Change-Id: Ie4b91d139beb8f31d50737d829e9d8fe801dcfa1
Signed-off-by: Koska <andrzej.koska@intel.com>
Related-To: NEO-3239
2019-10-23 09:11:04 +02:00
Slawomir Milczarek
c46e886649
Create drm to check status of set memory regions operation
...
Related-To: NEO-3008
Change-Id: I0c26656c905ad52295ed0aaf2c53731c99da9cc2
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-10-16 11:16:27 +02:00
Mateusz Jablonski
79e7a51908
CMake: rename IGDRCL_SOURCE_DIR to NEO_SOURCE_DIR
...
use NEO_SOURCE_DIR instead of CMAKE_SOURCE_DIR
Change-Id: Ib3774c80147941ded6bc884d83407461c89e7b8e
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-10-14 12:18:50 +02:00
Filip Hazubski
8ba7a0ea4e
Move test.h to a separate directory
...
Change-Id: Iceb14d701612d5b7814602ab0742ba1110b44a85
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-10-10 10:58:23 +02:00
Michal Mrozek
0f122fbcee
Remove simplified mocs logic.
...
Change-Id: I9fabfea94129fbc419ab0c9bca957cf7b9952c38
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-10-04 14:21:22 +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
Jim Snow
4360aff03c
Move runtime/helpers/aligned_memory.h to core/helpers
...
Signed-off-by: Jim Snow <jim.m.snow@intel.com>
Change-Id: I15de094c51d4eb18bfff4d17fd34e817b5525fda
2019-08-06 23:56:24 +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
Venevtsev, Igor
4403796f58
Use GfxPartition for GPU address range allocations
...
[4/n] - Remove allocator32Bit
Related-To: NEO-2877
Change-Id: I0772a7fe1fda19daa12699c546587bd3cdd84f2c
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-07-08 12:09:07 +02:00
Milczarek, Slawomir
5fb7b11049
Enable local memory on Linux by default
...
Related-To: NEO-2687
Change-Id: I0a208e0ccd2946f1cc07dcfb36a9e9e071bb40bb
2019-07-02 14:39:24 +02:00
Venevtsev, Igor
165d1e4e55
Use GfxPartition for GPU address range allocations
...
[2/n] - OsAgnosticMemoryManager
Related-To: NEO-2877
Change-Id: I887126362381ac960608a2150fae211631d3cd5b
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2019-06-25 12:54:20 +02:00
Mateusz Jablonski
b8fb5e683b
Move basic_math.h and vec.h to core directory
...
Change-Id: I143b7af450ff48d4958b4bc7137b393a2dc0eb64
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-05-14 21:32:55 +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
Pawel Wilma
bac5911c98
Report too long test name at compile time
...
Change-Id: Ifb2d74f37b4ab0f84f157e11849aaa350ee63811
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-04-02 10:26:01 +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
Mateusz Hoppe
916f1b2436
Cleanup linux_dll_tests 3
...
- use correct deviceId in tests
Change-Id: Ifa4a0cd0ddd97870fdd5947e6cc71ad75b25cd0b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-29 08:42:33 +01:00
Mateusz Hoppe
84d25a9324
Cleanup linux dll tests 2
...
- use TESTS_PLATFORM instead of SUPPORT_PLATFORM macros
Change-Id: I00b26c74ae90ee4b649d368ba01ccd2b3b00af3f
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-28 15:38:56 +01:00
Mateusz Hoppe
da3e483703
Cleanup linux dll tests
...
- include headers from absolute paths
- restore changed global state in TearDown()
Change-Id: I81fab71aabc0df9d995928e75611681288951916
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-28 13:19:18 +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
Liwei Wang
ca4b47f7f4
Add support of GPU preemption (v1.00).
...
https://github.com/intel/compute-runtime/pull/119
Change-Id: I3134d62b66751c8621b80002373a7a9b198e044e
2019-03-22 08:49:11 +01:00
Mateusz Hoppe
573d2e0eec
Add enableLocalMemory param to DrmMemoryManager ctor
...
- add linux dll tests for createMemoryManager()
Change-Id: I6e111e7a480d895a8520507af6b6a699f9dca160
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-03-12 22:22:37 +01:00
Jobczyk, Lukasz
878fd43a1a
Reverse logic of creating Memory Manager - part 1
...
-remove CSR::createMemoryManager method
-create MM from platform before creating devices
Change-Id: I0e7f091c53b0e60ae7101e82a305253af626330e
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-03-08 09:47:29 +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
3a5209ccf4
Disable osEnableLocalMemory on 32 bits
...
Change-Id: Id405a57064d17293ede48f82992ab1bde4f3b9ce
2019-01-28 08:18:51 +01:00
Dunajski, Bartosz
cfafe943eb
Use different DRM Context for each OsContext on Linux
...
Change-Id: I543df4accdeba6c69b7dcf86d4238d12dafe92fe
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-12 15:08:23 +01:00
Hoppe, Mateusz
82078074bc
Add createAubManager function
...
- unit tests are using mocked version of createAubManager
- dynamic library, aub and tbx tests are using functional
version using aub_stream
Change-Id: I12d69d84d00645009b026df266b8b64adebb86d4
2018-12-12 08:23:18 +01:00
Dunajski, Bartosz
f5508ed2d7
Simplify preemption control on Linux
...
Change-Id: Ie0896cc8950f7fbb271b710b8bb221eb41ba0445
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-12-10 13:12:16 +01:00
Artur Harasimiuk
6714fe84b8
fix debug message when creating Drm
...
Change-Id: I1b7a1f65d0e9b7371a171bc1b14c226ec5ae6b08
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-23 14:15:31 +01:00
Artur Harasimiuk
ebfba1dc4a
add libva to manifest
...
Change-Id: I13f93a57754662a5f2d94a55fe23af0082b42de6
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-11-20 19:49:53 +01:00
Zdanowicz, Zbigniew
8504b37a08
Add branch prefix to unit_tests/gen_common subdirectory
...
Change-Id: I7661dbd8a65aaa50c21afb982b23edb9080d6f84
2018-11-01 00:15:04 +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
fe912704b8
Enhance AubTests with TBX server capability
...
- aub_tests started with "--tbx" option connects to TBX server
- CSR is created in dual mode: TBX + AUB to dump aub file
- with this enhancement it is possible to debug aub tests live
Change-Id: I0302f5f4bac4c293661a149f64888770dd49343c
2018-09-19 15:34:36 +02:00
Mateusz Jablonski
89cf7532ea
Make all gmm helper members non-static
...
Change-Id: Idb399aa275d66905040b6317d3888c94ffb98c55
2018-08-03 08:25:44 +02:00
Dunajski, Bartosz
e18e9fb94e
Move static methods from Gmm to new GmmHelper class
...
Change-Id: I84fbe94f0e1072324164086b456c71a46ae5040c
2018-06-27 16:46:09 +02:00
Stefanowski, Adam
604b04b5cd
Group gen specific small cpp files together part 1
...
Change-Id: I554caee03f0abcb069fe38c6092c33b5f9eb04f9
2018-05-30 10:41:57 +02:00
Jacek Danecki
1390ef3079
fix segfault on platform with 2 GPU's
...
Change-Id: Ia8cdb12c2d790e8e30e858d1da92b0aa1b620150
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2018-05-25 19:37:26 +02:00
Mateusz Jablonski
08faa004aa
Linux dll tests: test turbo patch only on supported platforms
...
use deviceId from first entry in deviceDescriptorTable as default deviceId
correct using simplified mocs table
Change-Id: I3a6e7cd599912380d48937767f201b44ee98e391
2018-05-21 21:17:12 +02:00
Artur Harasimiuk
10e5b71111
dependencies cleanup
...
move gmock/gtest to third party
Change-Id: I96b43a3de2b6f2151659a9b2eed27eb58db5ce48
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-05-11 15:04:45 +02:00
mplewka
2bc2869fe1
Refactor ult's for preemption enabling part 2
...
Change-Id: If8e335e87f3a78d35cab12a17880fb1922d479f5
2018-05-10 13:12:03 +02:00
Hoppe, Mateusz
efda64eb4a
Source Level Debugger - debugger library interface
...
- interface to debugger dynamic library
- code is included when source level debugger header exists,
otherwise implementation is exluded from build
- unit tests do not load real dynamic library,
instead test version (DebbugerLibrary) of OsLibrary is used.
Change-Id: Id3229c77963352e8001043ee41b7d48c6b180a59
2018-04-23 11:31:37 +02:00
Jacek Danecki
1504d89571
switch to libva 2.x
...
- support for libva 1.x has been dropped
Change-Id: Ie5361b98cdd36144c9cd2a413c5fc2871655f333
2018-04-13 11:16:33 +02:00
Mrozek, Michal
86e000f67a
Do not use simplified Mocs Table on gen8 devices.
...
- On gen8 devices we are not using index to control caching, but we program
caches directly
- In such case we need to rely on values reported from GMM instead of using
Kernel Mocs indexes.
Change-Id: I6c030847509d8f39f63ac98ebd3ebd0b0907e625
2018-04-10 15:43:40 +02:00
Dunajski, Bartosz
9e509f302a
Coherency patch cleanup
...
Change-Id: I1aa89358e5ce9f977c689f18d9186447501ca558
2018-03-29 14:59:36 +02:00
Dunajski, Bartosz
2b6fc61e7b
Revert "Coherency patch cleanup"
...
This reverts commit 8d7e175b12
.
Change-Id: Ia5e2d3dd6f622859320e57e659c677c53b775d2a
2018-03-29 10:59:21 +02:00
Dunajski, Bartosz
8d7e175b12
Coherency patch cleanup
...
Change-Id: I03be418f7e85e599162494e3570a40b470709292
2018-03-29 09:45:31 +02:00
Mateusz Jablonski
e3b1ba2112
Cmake refactor part 21
...
Add macro to simplify iteration for gens, platforms and test configs
Common usage:
1. Write macro "macro_for_each_platform", you can use variables:
GEN_TYPE, GEN_TYPE_LOWER, PLATFORM_IT, PLATFORM_IT_LOWER
2. Write macro "macro_for_each_gen", you can use variables:
GEN_TYPE, GEN_TYPE_LOWER
3. In macro "macro_for_each_gen" call "apply_macro_for_each_platform"
4. Call "apply_macro_for_each_gen" with gen type (SUPPORTED/TESTED)
When needed iterate over test configurations:
1. Write macro "macro_for_each_test_config", you can use variables from
parent macro and SLICES, SUBSLICES and EU_PER_SS
2. In macro "macro_for_each_platform" call "apply_macro_for_each_test_config"
with specified type (AUB_TESTS/MT_TESTS/UNIT_TESTS)
Change-Id: Icd537f409a224a1ffade1874065f8fee66189350
2018-03-26 17:51:34 +02:00
Zdanowicz, Zbigniew
029094437a
Change identification of gen families from number to type
...
Change-Id: I780528aeb2572fc95d8cd9a20eba26687156726b
2018-03-21 19:22:46 +01:00
Mateusz Jablonski
894060de50
Cmake refactor part 15
...
Cleanup unit_tests/CMakeLists.txt
Move shared sources to libult
define linux test projects in linux subdirectory
Change-Id: I0da18c79e6581412a04ddfb3795750db862ad95c
2018-03-15 12:12:09 +01:00