Milczarek, Slawomir
561c6394be
Add options to specify buffer and image dump formats to AUB unit tests
...
Related-To: NEO-3080
Change-Id: I23a310167b7fb06a7a85c0b5fed233f8050b28f2
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2019-05-14 14:27:53 +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
Mrozek, Michal
22c2c9b02c
Change the size of aux translation transfer.
...
Change-Id: I9b34babf26eee217c203d0c09d819765a45a9506
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-04-20 15:45:07 +02:00
Katarzyna Cencelewska
c5274c5087
Set FeatureTable and WorkaroundTable in setupHardwareInfo
...
Related-To: NEO-2755
Change-Id: I61ba85909574780464690c70b194b3d3597af43e
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2019-04-17 13:52:19 +02:00
Mrozek, Michal
501a521120
Do 4 byte transfers for full copy kernel.
...
- Also utilize mem object allocation size for aux translation.
Change-Id: I117e4d17b2c8e2acc8395381f36f3019d6987314
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com>
2019-04-11 15:49:46 +02:00
Mateusz Hoppe
52e48c4215
Add --enable_memory_dumps option to aub_tests
...
Related-To: NEO-3079
Change-Id: I185309aba2a8a6e02988bbe407c43ea7fa53be4d
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2019-04-08 08:29:16 +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
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
cb37f2a779
Add /we4189 switch to CMAKE_CXX_FLAGS for MSVC.
...
- treat unused local variables warnings as error in Debug
Change-Id: I2da08b72e0f0083d3cdf932fbf92ef4981a88615
2019-02-08 12:06:04 +01:00
Chodor, Jaroslaw
9d8f280d5c
Removing address space qualifiers from literals
...
Change-Id: Iffdc5a8d98f37a3df930d67c39f771c89b24f47c
2019-01-25 17:25:05 +01:00
Kamil Diedrich
e2092d29ff
Fix for receiving appropriate tokens during builtin compilation
...
Change-Id: I5f73bd95bbbd0e2b59dcc85beebd3d1ee205782a
2019-01-17 14:31:29 +01:00
Hoppe, Mateusz
d7f498c58a
Enable LocalMemory and AubStream in AubTestsWithTbx mode
...
Change-Id: I7958cc76be823b02782e1cb92eeacacdf35f8cc1
2018-12-27 09:48:31 +01:00
Maciej Plewka
9e81469d9f
Disable debug keys for ults
...
Change-Id: I7f69a770b21a741b5ff79e735c26d988d2b83aab
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2018-12-19 12:30:03 +01:00
Mrozek, Michal
fedbf73fbe
Disable local memory in tbx mode.
...
Change-Id: I3fe5365aa269c064bfc7b3146caeefb983e978bb
2018-12-17 16:46:51 +01:00
Hoppe, Mateusz
6eb13a0c9a
Set hwInfo with skuTable and sysInfo for selected productFamily
...
Change-Id: I9dc7de0ad70d0ebd98e569ee2657e6ff7278bc76
2018-12-16 23:47:39 +01:00
Mrozek, Michal
928632ec19
Disable Aub Stream when in tbx mode.
...
Change-Id: Iffd5fa5efe3f236954a3888fdd286bd5f889393f
2018-12-13 17:46:04 +01:00
Mrozek, Michal
17de3fbeb9
Add option to generate random inputs to tests.
...
Change-Id: I940e6405fbd964bbe8c815f9fc8466d04efe4bbf
2018-12-07 12:22:35 +01:00
Mrozek, Michal
deb4bd844b
Initialize rand in tests.
...
Change-Id: I534a89b070f9f5be2182fcd4a58f96a85c6d93de
2018-12-06 19:00:30 +01:00
Zdanowicz, Zbigniew
323f765659
Fix correct number of subslices in ULT when no subslices argument is given
...
Change-Id: I09090c328c8966106bc42e37aa1869c56254a263
2018-11-30 08:42:22 +01:00
Zdanowicz, Zbigniew
7dbd0ea4f3
Move Scratch Space functionality to dedicated class
...
Change-Id: Ic7655c4b971513961aba6823478a139ffc943466
2018-11-29 11:55:56 +01:00
Mrozek, Michal
fbf0d44fff
Initialize tag to 0 in tbx mode.
...
Change-Id: Ic85984384446cb75bdcebe1ec50fa4cc1dd69600
2018-11-23 08:09:42 +01:00
Napiatek, Henryk J
6d828e6653
Allow override of default platform Hardware Info Config
...
New string debug variable HardwareInfoOverride is used to
specify new Hardware Info Config to be selected, for example 1x4x8.
Change-Id: I6d939608e6551e4a9102e5ab2e08255ee4982933
2018-10-10 10:34:23 +02:00
Mateusz Jablonski
83f733fb70
Use dynamic gmmlib on Linux
...
Change-Id: Ia7d30fecf0406a14babe83d29743562de8bf7a29
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-09-21 17:34:31 +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
Hoppe, Mateusz
31d3cc847c
Rename setupGtSystemInfo to setupHardwareInfo
...
- adding new parameter for FeatureTable setup
Change-Id: I1f1c66894555003612e08127801c6b096b0a2400
2018-08-29 16:24:16 +02:00
Venevtsev, Igor
b49101803c
Fixed aub_tests aub files producing
...
Change-Id: I7d83fba27828a57855a642c4be9944dc0f1e4603
2018-08-29 12:57:50 +02:00
Artur Harasimiuk
01ec633182
improve custom event listener error reporting
...
During multi process test execution it may be difficult to propery read
output from tests. Output lines maybe mixed so determining things like
hardware or random seed becomes difficult.
This change adds extra data to output:
[ FAILED ][ BDW ][ 35357 ] <test name>
[ FAILED ][ BDW ][ 35358 ] <test name>
From this we can easily find that test failed on BDW with
gtest_seed=35357 and 35358.
Change-Id: I21e0767162d390f56dd270b1ba8650664c3898b5
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-08-17 12:57:29 +02:00
Dunajski, Bartosz
117a7d15ad
Aux translation [2/n]: Add new builtins
...
Each Kernel arg for aux translation needs to have own builtin kernel.
This is required to build MultiDispatchInfo before copying into SSH
Change-Id: I4b2f42518cf06bb31c31fd5f83f7da927bde99c3
2018-08-10 18:24:21 +02:00
Mateusz Jablonski
96e3163386
Prepare to use gmm dynamic lib on Linux
...
Change-Id: Ie1b0c8fe13c4e044f1f2b0651349840d2850f423
2018-07-19 01:04:52 +02:00
Mateusz Jablonski
36db75da28
Create gmm client context wrapper, reduce mock_gmm
...
Change-Id: I4eec4366afeb175fea4bf7934e3046b50fe30fe9
2018-07-17 11:46:04 +02:00
Mrozek, Michal
7437960534
Preload GMM library before tests execution on Windows.
...
- Fixes massive performance regressions in ult execution time (5x)
Change-Id: Idf13f90624309c1b3fb6744f0db3b7567e68fb17
2018-07-10 09:04:32 +02:00
Mateusz Jablonski
94dbdb602d
Add instance of gmm helper to execution environment
...
Change-Id: I1b044611fbad91fbb681ba233938f41502f29056
2018-07-06 08:48:19 +02:00
Dunajski, Bartosz
5408913d38
Set HwInfo to GmmHelper on Device creation
...
This allows querying HwInfo from code that doesnt have access to Device
Change-Id: I0084f824f557cd85c2fdfbf0ff2ec71118e9af2e
2018-06-29 11:02:52 +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
Mateusz Jablonski
b659d270ae
Revert "Create wrapper for GmmClientContext"
...
This reverts commit 50c31872d8
.
Change-Id: Id154ca2d217e5e45623750f641ebad5dc5e840a2
2018-06-21 16:14:45 +02:00
Mateusz Jablonski
50c31872d8
Create wrapper for GmmClientContext
...
reduce mock gmm to implementation of OpenGmm function
Change-Id: I657412af2d11486c9924cf3ab9a8b4f51e603964
2018-06-21 10:17:46 +02:00
Kamil Diedrich
9aa29edb73
Return -1 and print a message for invalid product param
...
Change-Id: Ie6e5728ae343170e4ac3087bd37d7554906de5d1
2018-06-14 15:04:59 +02:00
Mateusz Jablonski
5007c60a03
Generate dll names to lib_names.h
...
Remove some not needed ifdef blocks
Change-Id: I29f787bde819a2f19312dd5713df0d4534a47cd8
2018-06-11 18:00:56 +02:00
Mateusz Jablonski
98b8b4b6a4
Prepare to use gmm as dll on Windows
...
Since this commit neo on Windows can use static or shared gmm lib
Change-Id: I7db70d7f9bc969e8193ac77e8b6d65ecc57d0093
2018-06-08 17:35:01 +02:00
mplewka
95e5aba86a
Decode sip binaries once for all tests
...
Change-Id: I05a54146dc1aa893c5217f60f3b4ca47ded03019
2018-05-29 13:47:19 +02:00
Mrozek, Michal
2e06df06ff
Revert enabling preemption in all tests.
...
-It is causing big execution time increase from 6s to 11s on Debug64 Windows
target.
Change-Id: Id7d6b51e04653ef52248c0c83dc82d086f9cfd11
2018-05-11 14:24:22 +02:00
mplewka
2bc2869fe1
Refactor ult's for preemption enabling part 2
...
Change-Id: If8e335e87f3a78d35cab12a17880fb1922d479f5
2018-05-10 13:12:03 +02:00
Mateusz Jablonski
abbc0a5471
Compile kernels per platform type (core/lp)
...
compiled kernels are in (binary dir)/(family name with type) folder
Change-Id: Ied1827ab7f4ecc5c1de4c3535b1c0ba3b5cd86ee
2018-04-26 16:47:15 +02:00
Mateusz Jablonski
31157573ca
Fix ult execution: change dir after getting run path
...
Change-Id: If2b9d07809004bfb4edbc4b4c50762226a98d2e9
2018-04-26 11:22:59 +02:00
Mateusz Jablonski
180de340d8
Define variable with binary name suffix
...
use this variable in tests as it is set once in main.cpp
create function to get binary kernel filename
Change-Id: Ibf7b4c2d390caefda4a5d7fc4667006e7f2edde8
2018-04-25 15:34:34 +02:00
mplewka
079f94cd2d
Refactor ult for preemption enabling
...
Refactoring in ULTs around preemption:
-refactoring ULTS to not fail with default preemption mode
-fixing ULT memory leaks observed after enabling preemption
-mocking getSipKernel in ULTs (to minimize ULT execution time)
Change-Id: I194b56173d7cb23aae94eeeca60051759c817e10
2018-04-16 12:55:30 +02:00
Artur Harasimiuk
edfdf3c66a
ult: catch&handle SIGABRT
...
Change-Id: Ifaeed398d0e8a462ab1c6560b775453bbb2328a2
2018-03-13 08:25:21 +01:00
Zdunowski, Piotr
46f3efd79c
Allow cloc tests to be run from default location.
...
Change-Id: Ic5f8e34ff261b45100c98a6065b1aeaab3c4d665
2018-02-21 20:13:52 +01:00
Artur Harasimiuk
063e9623ba
cleanup around MockGmmStatus
...
remove not needed global variable from mock device and refactor gmm
context initialization for ULTs
Change-Id: I594938a7df7dfaaf7a3cf73f8a13ad85a7b58401
2018-02-19 18:58:20 +01:00