76fe09c2a9
Handle page faults while accessing unified memory
...
Related-To: NEO-3330
Change-Id: I7e21f894e9d1c82598954c49342d1f65af07498f
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-04 13:28:53 +02:00
cf979c3bc0
Remove getWaTable() method
...
Change-Id: I508103a0d46ae94b55891c8a7ef104fb47b0b3e0
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-09-04 11:32:55 +02:00
c1f0949a67
Return error on device queue creation attempts if not supported.
...
Change-Id: I571433ec3f02ac7570c85949b636c86efc133abe
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-09-03 14:59:02 +02:00
386fa40241
Rename HWTEST_F_T to HWTEST_TEMPLATED_F
...
Change-Id: I2db1eca61f180a3986e58a36fde7d8a523109303
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-08-29 08:32:51 +02:00
40d4314670
Templated SetUp and TearDown in fixtures
...
Change-Id: I86b0e88db1ed52966ed5f0a6474deda09a415768
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-08-28 10:43:42 +02:00
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
e851359e32
Start using real mocs index to call state base address programming.
...
- After this change we start using real MOCS index as an argument to sba
programming
- We also start tracking real MOCS index in Command Stream Receiver.
Change-Id: Id34cffd7e58cb7363df02ac76f82bf377f4bbd77
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-08-26 16:14:36 +02:00
9bb625185f
Enable Linux performance counters.
...
Change-Id: I688d3669d1791081074626ef474ab1edbc018034
2019-08-13 10:52:32 +02:00
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
51888bec7e
Whitelisted registers cleanup
...
Change-Id: Ifa704f4bd7c4f0bab3fc8565103af6da07a42ba7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-08-05 10:31:16 +02:00
dd777559ba
Limiting VME tests to supporting platforms
...
Change-Id: I06aac13fc69d74fc4db26dfdd3b2035e53405d08
Signed-off-by: Koska, Andrzej <andrzej.koska@intel.com >
Related-To: NEO-3416
2019-07-30 12:06:02 +02:00
2548bea71d
Minor clean-up.
...
Change-Id: Id1523930fc8aedf85506e254c67f6b1ca8dd020d
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com >
2019-07-30 11:53:20 +02:00
95c2dcd8b0
Improve obtaining LinearStream during enqueue call
...
- Move logic to enqueueHandler to cover all scenarios
- Create BlockedCommandsData not only for Kernel enqueue
- KernelOperation cleanup
Change-Id: Ie4a673cbbc986c685996a38ab296444d38e7bbd5
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-07-22 18:52:14 +02:00
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
00cb778553
Change ImageClearColorFixture
...
Change-Id: I621056204879057d346b82e5bc264d3c8d151fa5
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-2942
2019-07-17 15:00:41 +02:00
27b3c1fe7b
clGetDeviceInfo support unified shared memory 2/n.
...
Change-Id: I4f01ceb8d833393a9436ecd23f085f3dced91f27
Related-To: NEO-3344
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2019-07-15 18:24:46 +02:00
89d1878cd6
Rename engine member in CommandQueue
...
Change-Id: I01516616c164f19afbcd62d39a2a42d04ff768c9
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-07-15 17:53:01 +02:00
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
6d2facd2b1
Move memory leak listener to core.
...
Change-Id: I7f8a732340c65bbe4cf2f511d9dfe38bed131c85
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-15 15:38:22 +02:00
a0d98f698c
Move printCallStack to core.
...
- Move captureCallStacks as well.
- Delete always true printMemoryOpCallStack from code.
Change-Id: I46a4b1727c31b8f147d5151371c3d1a76657873b
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-15 15:35:38 +02:00
9d723a10aa
Move enumerateLeak to core.
...
- remove not used parameter.
- remove the usage of default parameters.
- move some constants to memory management as well.
Change-Id: Iedf374568fa3594ffad6b53534e4483485863324
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-07-15 13:53:03 +02:00
e58273fac2
Move memory management to core.
...
Change-Id: Ifa9233960f81095e293df631da9422608535171d
2019-07-15 10:19:42 +02:00
973a953cc8
Add subdirectories in CMakeLists
...
Related-To: NEO-2535
Change-Id: I091e0c727cff1aafbe92a9a43d497befa6aa2551
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-06-07 10:14:37 +02:00
0f87e9aa1a
Rename HardwareInfo members
...
Change-Id: I85f56b677bafdd75dd958b488522393fc18b68af
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-05-09 09:13:55 +02:00
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
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
0e202aaf67
Update gtest to 1.9.0 version
...
Change-Id: I49582c1906864b6777509ce09e5fe633e042d8bb
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2019-04-23 16:37:18 +02:00
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
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
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
047f2bec87
Program correct addresses in EnqueueReadWriteBufferRect scenarios
...
- SurfaceBaseAddress should be programmed with aligned address
this was not the case for certain origin and region values
- offset from aligned address added to operationParams
Change-Id: I0742b826dd0b70f0a6dedf436b850734fa015688
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2019-03-26 10:37:46 +01:00
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
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
e53a8e8709
Add postSyncAddress to flush after walker
...
Change-Id: I7fdfaf8e0acc365998cc74306ab715ea3d9c7d72
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2019-03-04 14:47:53 +01:00
00184c4e2e
Rename fastLeakDetectionMode -> fastLeakDetectionEnabled
...
Change-Id: I5a35b2bb9a3ccea9b8e52660f3713b925fe5f607
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-03-04 11:51:06 +01:00
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
10083d5a21
Improve SimpleKernelFixture
...
Change-Id: I94251eb9d4ae827b83ada0a371f6ee8411a5455e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-02-25 09:41:58 +01:00
64fbfb21bf
Improve iterating over existing CommandStreamReceivers
...
Change-Id: I12a10852d43c625ec5521ae91918fcb12e1a6aec
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-02-19 11:48:56 +01:00
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
8e1e874a76
Refactor headers and reorder include order
...
Change-Id: I6b341e2b37e569af7d741bfd7a63804c0b25a4c9
2019-02-14 13:39:01 +01:00
a7b46ccdbd
Add RAII for cl_objects
...
- add removeVirtualEvent to cmdQueue fixture
- add const keyword in event functions
Change-Id: I11354eb8fceb15ae2c58bddd327863a15aab6393
2019-02-12 11:19:35 +01:00
e1eab521e7
use release for cl-objects instead of delete
...
- fix for data race in events
- modification of the addition child event
Change-Id: I6ea3a413f13f13a91d37d20d8b9fad37d0ffafb9
2019-02-05 14:09:32 +01:00
f157943610
Allocate internal allocations through preferred pool
...
Change-Id: Ib17431ceefc1eb72f86625e0998f679baaa7cb0d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-01-30 11:18:15 +01:00
f6ceb8fb4f
Remove default parameters from setArgSvm function.
...
Change-Id: I4408ddedfca464d56e24c4daa0c8c7b73791d6a0
2019-01-28 12:02:54 +01:00
158f200476
Add HW commands const definitions
...
Change-Id: If2e9d7f7f707b7b8c7bd8dbd3853ab3b6dad0c9a
2019-01-18 12:13:25 +01:00
06600f169b
Define GPGPU engines per gen
...
Change-Id: Ie0e565d11184c5355b5bf09f5b10a567deb5c106
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2019-01-15 12:05:19 +01:00
8ae7de7b0e
Create HardwareContext only when osContext is available
...
Change-Id: I8bcf2cb20f0e1e6b9da98b477f5be206407a7a57
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-01-13 15:12:07 +01:00
1ce3898400
Improve checkMemory validation.
...
- check that proper flags are passed if hostPtr is presented.
- fix a bug in buffer fixture.
- fix some bugs in other tests.
Change-Id: If708fd06598e5f3d8a94b3e24fb83f689f6b52c7
2019-01-08 11:44:37 +01:00
767f27a483
Add calculation of default SSH size in ULTs
...
Change-Id: I682f7cc671ab18de7a9976e0034842df0f6134bf
2019-01-04 09:28:21 +01:00
3dca095ccf
Add cache flush command after WALKER command
...
Change-Id: I3983dc6c0797047e17cc8189655a22a22e85892b
2018-12-19 13:15:33 +01:00