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
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
Dunajski, Bartosz
7f2bf217f1
Refactor DeviceFactory::getDevices
...
Change-Id: If3b20cc8ed74bdb1c32ae17c23374b7c267933a3
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-03-20 15:25:36 +01:00
Adam Cetnerowski
cacab6b1bc
Expose cl_khr_spirv_no_integer_wrap_decoration extension
...
Change-Id: If64a6e86386064ec659b1870dd7fe0c4b00333e9
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2019-03-19 15:33:23 +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
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
Dunajski, Bartosz
ba681035f8
Add new CSR to ExecutionEnvironment
...
Change-Id: I5d6b58b5c185bf283ae529ebb21a4cbc8e9f198c
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-02-18 11:39:09 +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
Piotr Fusik
f014f27370
Support the EnableLocalMemory debug variable in CSR.
...
Change-Id: I902b06ab0b4a3df477d12804ba74b2727d8863f6
2019-02-12 13:09:23 +01:00
Mateusz Jablonski
ec18d7fee6
Add debug break in case of no synchronization between devices
...
Change-Id: If10ed848725b1101d67dbbac318f0aa283db1e2f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-01-10 13:23:06 +01:00
Adam Cetnerowski
a2a4bcc33d
Correct extension string typo
...
Change-Id: I1305a0251b06e8601e78a9b8774c285e035ff28d
2018-12-27 12:36:49 +01:00
Cetnerowski, Adam
6b8d8cbcbb
Revert "Revert "Expose spirv extensions""
...
This reverts commit 469fe40072
.
Change-Id: I8b634ef05a3b7e4e6abb05b42eacae24b7871632
2018-12-17 10:52:49 +01:00
Dunajski, Bartosz
1f7448425d
Allow Device creating multiple CSRs [7/n]
...
Create and initialize all supported Engines
Change-Id: If0adf1a06b5005ef2698cebc6f1aaa6eacf562ec
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-30 15:48:44 +01:00
Maciej Dziuban
ef33c57245
Initialize SipKernel after all devices are created
...
Change-Id: Iec5de27fd1e5106c78de0bc5c1861a894162b274
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2018-11-28 11:36:54 +01:00
Milczarek, Slawomir
cd5f85052e
AUB CSR with a separate function to submit batch buffer
...
Move code related to batch buffer submission from flush to dedicated function
Add parameter to pass aub file name from AubCenter to AubManager
Change-Id: I20abb3c8bd92114b3bc9caa2a6291dc1bbddad2a
2018-11-25 18:02:25 -08:00
Dunajski, Bartosz
3ad33bf1b8
Allow Device creating multiple CSRs [3/n]
...
Add CSR from Device to CommandQueue
Change-Id: Iaccf3c73d25e357242837677777d0513e81f520e
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2018-11-23 10:51:34 +01:00
Cetnerowski, Adam
469fe40072
Revert "Expose spirv extensions"
...
This reverts commit bbc7afc952
.
Change-Id: I103c55707b81745822bf355a1df011e0d0802e17
2018-11-21 15:51:37 +01:00
Adam Cetnerowski
bbc7afc952
Expose spirv extensions
...
Change-Id: I64d05ed2bcc4c3ae005c39b9c22d0f67d7ca6a7e
2018-11-20 11:52:02 +01:00
Hoppe, Mateusz
0942edd6af
Update aub_stream headers
...
- pass hwInfo and localMemoryEnabled to AubCenter ctor
- initialize AubCenter in Platform:intialize() when Device is
created - only when CSR is not CsrHw
- move aub_center files to runtime/aub directory
Change-Id: Iceb4bf1cb2bb55b42d438502cca667a449f11411
2018-11-13 18:09:30 +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
Mrozek, Michal
377b99be90
Pass device index to create method..
...
Change-Id: Iab493edf1b96a6cecf6e3dba6813824529f0c08b
2018-09-11 16:26:54 +02:00
Mrozek, Michal
077134faf4
Add debug flag to loop at initialize.
...
- This is to help debugging applications that requires attaching to them.
Change-Id: Ia7923c231b925ab9a473a70fb5fcc13fd99db1ca
2018-08-16 09:57:49 +02:00
Mrozek, Michal
d17879d412
Pass ExecutionEnvironment to get devices.
...
- this would allow for further re-use of objects allocated here.
Change-Id: I73b62ae3991ebd786dea3c085e1391194b8de6ba
2018-08-07 15:17:06 +02:00
Mateusz Jablonski
36db75da28
Create gmm client context wrapper, reduce mock_gmm
...
Change-Id: I4eec4366afeb175fea4bf7934e3046b50fe30fe9
2018-07-17 11:46:04 +02:00
Mateusz Jablonski
94dbdb602d
Add instance of gmm helper to execution environment
...
Change-Id: I1b044611fbad91fbb681ba233938f41502f29056
2018-07-06 08:48:19 +02:00
Mrozek, Michal
b52b1d0aea
Simplify platform destructor.
...
- remove not needed code.
Change-Id: I7fad36e651e33156a136467f8b2e32d88f13ac13
2018-06-29 11:12:40 +02:00
Mrozek, Michal
b20bcb8b31
Move platform shutdown to destructor.
...
Change-Id: Ifeca1c5fe11d8e562b9f4641737b6bf1ac70aac6
2018-06-28 12:36:23 +02:00
Zdanowicz, Zbigniew
d447c8c951
Add trailing space to compiler extensions string
...
Change-Id: Ib9e2f33916dd1475defc60bfc297ef36fc87eb03
2018-06-28 00:38:55 +02:00
Mrozek, Michal
a95cca71e4
Device now adds dependencies on ExecutionEnvironment
...
- This allows for ExecutionEnvironment to live longer then platform after
its global destruction
- Device adds references to ExecutionEnvironment after creation
- When device is destroyed it removes the dependency causing the cleanup
- Platform upon destruction no longer destroys the device, but decrements
the internal ref count.
Change-Id: I22593ea44b2b50e3416575a9e97e3ce0a1f8b5c0
2018-06-27 16:37:29 +02:00
Mrozek, Michal
a21c0a0074
Add control on platform life cycle.
...
Change-Id: I5c24b41747d822b71dd57e9a949cf25fcc78a453
2018-06-27 10:09:26 +02:00
Mrozek, Michal
a0e9b96e52
Add execution environment.
...
- this class will encapsulate common shared state
- platform will create it
- clients will increment ref count
- platform upon destruction will decrement ref counts
- it means that execution environment will be capable of living longer then
platform in case there will be dependencies.
Change-Id: I0ea7f85ea57448c0e641673f1d15851e50b2b8b2
2018-06-22 13:15:10 +02:00
Mrozek, Michal
5c0a562a6b
Simplify platform initialize.
...
- Remove not required parameters
- move the logic to ult directories
Change-Id: I913f1048489137a61220d96fa9f2798572cd4f56
2018-06-21 12:46:35 +02:00
Hoppe, Mateusz
b59a5f1910
Source Level Debugger - adding notifications
...
- notifySourceCode, notifyKernelDebugData, notifyDeviceDestruction
- added processDebugData method in Program
- change options when SLD is active
- add space at the beginning of extension list options
Change-Id: Iac1e52f849544dbfda62407e112cde83fa94e3ad
2018-05-11 13:12:36 +02:00
Artur Harasimiuk
5fbdad88c6
refactor config.h usage
...
- add defines to command line
- remove most occurences of include "config.h"
Change-Id: I19d65d83c895fc6143d319d057a50e5ae3e78830
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2018-04-26 10:02:15 +02:00
Chodor, Jaroslaw
d516cd6edc
Don't expose mipmaps on 1.2 devices
...
Change-Id: Id7949266f29ef06ae71c88725298822055ca7c13
2018-04-13 11:22:33 +02:00
Chodor, Jaroslaw
0a97dfbb2f
[1/n] Mipmap support
...
* adding support for map/unmap
* adding support for origin/region validation with mipmaps
* fixing slices returned in map/unmap
* removing ambiguity around mipLevel naming
* enabling cl_khr_mipmap_image in current shape
* enabling cl_khr_mipmap_image_writes in current shape
* fixing CompileProgramWithReraFlag test
Change-Id: I0c9d83028c5c376f638e45151755fd2c7d0fb0ab
2018-04-05 01:09:27 +02:00
Mateusz Jablonski
575d1bf381
Cmake refactor part 20
...
set global properties with runtime sources, libult sources and
os interface tests
Change-Id: I9a84edf2f021b4581a16c19c7dbb0b2f94c33f4d
2018-03-23 15:51:12 +01:00
Mateusz Jablonski
d1aa5f978d
Cmake refactor part 6
...
Add macro to add all subdirectories
Add macro to create project source tree based on target sources
Small cleanup runtime/CMakeLists.txt
Change-Id: I9b99145c544f648c4c3fe7421752d0c5d9504edf
2018-03-02 00:39:41 +01:00
Chodor, Jaroslaw
bad0ba8ac8
Fixing backup/restore of asynch handler in ULTS
...
Change-Id: If2cbbaa30968ecec3c1bc0361ff86aa523122f21
2018-02-21 20:35:08 +01:00
hjnapiat
5909a6b3d3
Add support for GT-Pin Callbacks [3/n]
...
Change-Id: Iea4b49efc9a666fde310ece15a9c69686d22f627
2018-02-19 10:43:19 +01:00
Artur Harasimiuk
89627bd81e
fail platform initialization when no device found
...
Change-Id: I76c8e12cd908be36cd8747346c6e543e3b748933
2018-02-16 16:53:37 +01:00
Jacek Danecki
ff44e9922d
Used ratified Khronos extension names
...
Change-Id: I15b62b6f5fb805efedec5cd9e14215a94d97c8f6
2018-02-13 13:33:27 +01:00
Zdunowski, Piotr
1cfe5344fc
Enable throttle hints extension.
...
Change-Id: I996fce8dbc792d77dc85df143ba5c0aa1cad83e5
2018-02-06 17:01:37 +01:00
Mateusz Jablonski
b027a82442
Cmake refactor part 2:
...
Move defining runtime sources into cmake files in subdirectories
Change-Id: Ic83c12fee65e04d19e7c8e1f88b939f03af7fa28
2018-02-05 13:40:46 +00:00
Zdunowski, Piotr
0b6b12ea57
Globally enable priority hints extension.
...
Change-Id: I9f3b8d3cf1bedb41d9e0622ff514bf76b4518d8c
2018-01-24 20:07:31 +01:00
Koska, Andrzej
be0306ca68
Adding support for passing proper extensions list from cloc to compilers
...
Change-Id: I89249cd6ccae9996cd33d7ba26007c778207f028
2018-01-17 12:47:44 +01:00
Koska, Andrzej
4e9c1178a3
Add -all on the begining of extensionsList
...
-all resets all compiler settings.
Change-Id: I8eec4beffa27673918d741f4b0d9d894f40a2cee
2018-01-08 10:45:55 +01:00