2e8e6bdb18
Move majority of utilities to the core dir
...
Related-To: NEO-3677
Change-Id: If2e876028b765ad3ecf5f75db8755623b82955b8
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2019-09-12 15:07:02 +02:00
06d4fa54f1
Adjust tests to shared system memory support.
...
Change-Id: I894030ef673d60e31dae55141e60170ac92afc15
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-09-05 16:48:10 +02:00
3f433baf38
Force stateless compilation for builtins path.
...
Change-Id: I8ee826fdcc455a3770fa54ee635aaeff62ee35e6
Signed-off-by: Mrozek, Michal <michal.mrozek@intel.com >
2019-09-05 13:07:21 +02:00
1518774fe6
Use stateful args programming for aux translation kernels.
...
Set valid mocs values
Change-Id: I8de2bbdd72b102a1623b9e397485ef52ecca8306
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-08-14 14:52:46 +02:00
f9938d43a4
Make vme kernels ULTs controlled by supportsVme flag
...
Change-Id: I7cfd2cf610ace552e12a1b47a5d4d28ca16a959b
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2019-08-08 14:59:07 +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
7c30e1ed4a
Add CMake flag to control device enqueue
...
Change-Id: Ia2ba2c5437adeca2c0335f5a2ffd28a6a2881a2a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
Related-To: NEO-2942
2019-07-17 10:21:10 +02:00
e4e5b5ccdf
Add check for vme support
...
Change-Id: Ic51e87e1e049bce4ce8ce111e35b94d3806db21b
Signed-off-by: Cencelewska <katarzyna.cencelewska@intel.com >
2019-07-16 14:35:32 +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
ddb0d82e83
Introduce RegisteredMethodDispatcher.
...
- Inject dispatch methods per DispatchInfo
- Each DispatchInfo in MultiDispatchInfo can have different behaviour
- Implement AuxTranslation programming with new approach
Change-Id: Ie28de0c72a77b8e91509a5b9b8740d72fedf4ad6
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-07-15 11:59:53 +02:00
bb5f6bf4b1
Built-in kernels refactor
...
Related-To: NEO-3220
Change-Id: I6625539554b56999a6a810e7be8e89435d1aef11
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2019-07-12 13:17:59 +02:00
da4dd804e2
Remove not used template parameter
...
Change-Id: I96b4a1827199bf1ef69e77b3612724c969defe1e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-07-10 08:16:55 +02:00
0a8a77d47c
Move enqueue blit logic to enqueueHandler
...
Change-Id: Ibbad22906387c15243708d37b272601f4734697d
Related-To: NEO-3020
2019-07-08 12:37:06 +02:00
fac8c94c1e
Revert "Built-in kernels refactor"
...
This reverts commit 40b00c7e8a
.
Change-Id: I8c13be5134c051272db1fe1b7b15764cf8ad6953
2019-07-04 16:33:01 +02:00
40b00c7e8a
Built-in kernels refactor
...
Related-To: NEO-3220
Change-Id: I4a44a71fe30abd38409de7e9741a3b389b967612
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com >
2019-07-03 14:58:32 +02:00
711ba1414a
Store operation params in MultiDispatchInfo
...
Change-Id: I519cf84619ca4cdd7c09d351f49832c1ea2b3c82
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2019-07-03 12:58:55 +02:00
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
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
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
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
2cb3181359
Remove OCLRT name space from helpers.
...
Change-Id: Ia33aa7ce93a8f3ee8b2b5609de9ac3e32e206ca1
2019-02-12 09:55:30 +01:00
2e5e785092
Rename wrapReleasableObjectWithUniquePtr to clUniquePtr
...
Change-Id: I67a3ff2d30d8f8485394bd2744de0924205f092e
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2019-01-30 14:51:47 +01:00
b2e0195663
Change Buffer to MemObj in BufferForAuxTranslation collection
...
Change-Id: Icbdb8fecaa3fd8e19e993502f59c76156fe4ad2c
2018-12-19 08:05:51 +01:00
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
b91c14f70e
Delete Device::getBuiltIns()
...
Change-Id: I9d1968dfb2ba4a56020fd17152119add726106e1
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-22 16:54:53 +02:00
e0e48203d2
Move BuiltIns to ExecutionEnvironment
...
Change-Id: Ib2a1b82cc7858c898bb32820aad106a01d1325ad
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-21 23:15:47 +02:00
d2759a0629
Move CompilerInterface to ExecutionEnvironment
...
Change-Id: I14afdd8fc41ecd4ac8c8fcbeecda2539bc847288
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-21 15:30:15 +02:00
524737af39
Add executionEnvironment field to Program
...
Change-Id: Id624177aa3f0b5525bac86e2e0a935ebaf53480e
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-16 16:52:41 +02:00
5b37dc1c91
Add ExecutionEnvironment parameter to Program::createFromGenBinary
...
Change-Id: I825c29d8c885d986d54d716ea72f19e70b3b11c6
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com >
2018-08-16 13:56:36 +02:00
a5950500a3
Aux translation [4/n]: Lock BuiltIn Kernel + refactor BuiltIns locking
...
Change-Id: Ic7dc9b86a4aa5f93f1c4bcdf80b9598ecdff9713
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2018-08-14 10:56:16 +02:00
6ca84c278a
Aux translation [3/n]: Dispatch AuxTranslation builtin when required
...
Change-Id: I9bd0294de7980ac01ebb3c2d696eba6fd6a456ec
2018-08-13 12:15:30 +02:00
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
a906ddaa66
Make gmm client context non-static member
...
Construct platform and initialize gmm in each test
Change-Id: I4f209369e77213420308f31f911b7a569ea93283
2018-07-27 00:16:30 +02:00
a21c0a0074
Add control on platform life cycle.
...
Change-Id: I5c24b41747d822b71dd57e9a949cf25fcc78a453
2018-06-27 10:09:26 +02:00
fa3c4d83db
Add debug flag to force rebuild pre-compiled kernels in runtime
...
Change-Id: I1e6bf94de3748e43c4ca80fd41c488665e0c5604
2018-06-18 14:23:54 +02:00
157ffbceb5
Revert "Builtins increase context refcount."
...
This reverts commit 39d55e5257
.
Change-Id: Ib5b38e5a508c5e56e61c7f0ac0b5b8a965d6170d
2018-05-28 16:35:45 +02:00
39d55e5257
Builtins increase context refcount.
...
Change-Id: I146852092e1cb374b816875ae9a90ac03a8f205e
2018-05-23 17:56:20 +02:00
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
bdcaf332ce
ULTs: more MemoryManagementFixture cleanup
...
Change-Id: Iaeb60c9c9e22baf63ff01419a5a6dde1e1652a47
2018-03-30 10:52:50 +02:00
38c352d044
[12/n] Internal 4GB allocator
...
- allocate graphics allocation for sip.
Change-Id: I18f12251d3ce812d53cc1c8c78079a9ba3fd3b3d
2018-03-09 14:19:06 +01:00
ea021f8d69
Cmake refactor part 1: fix dependencies with including os_inc.h
...
Remove some not needed includes
Change-Id: I158ad663ccfcec4822e3768df9d05090c5e096f9
2018-02-08 09:40:40 +01:00
1fd771e5a5
Refactor SIP acquiring
...
Acquire SIP by device, not by context
Change-Id: Iac850db1d65c52ebc8a331039046c0dd6acf1d4e
2018-01-08 03:31:45 +01:00
7e9ad41290
Initial commit
...
Change-Id: I4bf1707bd3dfeadf2c17b0a7daff372b1925ebbd
2017-12-21 00:45:38 +01:00