Commit Graph

2241 Commits

Author SHA1 Message Date
Jaroslaw Chodor 355e8d3e5a [1/N] Program refactor - decouple from patchokens
Change-Id: I63bbf6c31a5db9e788124f22b6105e65c16c86d4
2019-11-25 19:46:21 +01:00
Artur Harasimiuk cf8283cc9a clang-tidy improvements and code fixes
Related-To: NEO-562
Change-Id: Iab9d1ed35e64c9fce849e1b0654ec65f731302e8
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-11-25 16:06:34 +01:00
Igor Venevtsev 8ef1466a15 Add UNRECOVERABLE_IF to check device is not a nullptr
- allocateGlobalsSurface()

Change-Id: Ie6dbcb85228dfd99b65c12d13ad631e2079e79e1
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2019-11-25 14:56:41 +01:00
Filip Hazubski 026d1324a4 Move AllocationProperties::noDeviceSpecified to SubDevice
Change-Id: Idfc1efa4e39168ca32b613201aac8ccd0aa3219a
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-25 14:23:37 +01:00
Dunajski, Bartosz 61b6d5248d Allocation offset support for BufferToBuffer blit operation
Change-Id: Ib4a6bd856d123371ea3f667a74a9448953a0b8ca
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-25 13:13:48 +01:00
Dunajski, Bartosz 684b3e1774 Improve aux translation restrictions check
Change-Id: I6e5bd014fef60f89365f536c219ab7d399c51265
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-25 12:58:12 +01:00
Pawel Wilma 9b84d8f5ba Use RCS as default engine for TGL LP A0
Related-To: NEO-3741

Change-Id: Iac79ff5e7142a3ee74990048fcc84565639a2da2
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2019-11-25 12:24:20 +01:00
Dunajski, Bartosz b4df74f42b Reduce number of BlitProperties in container
Change-Id: I7fabf1e8b5bee4511bd902310f4957eebec71863
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-25 12:19:35 +01:00
Pawel Cieslak f5b2110ac7 Check for limits when setting values from hw config string.
Related-To: NEO-3841

Change-Id: I80001a1bc25ae839578b9ca92fd7b32ac664ed6e
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2019-11-25 11:37:02 +01:00
Maciej Plewka 49cde627c4 Adding Command container implementation
Change-Id: Ic2c4b9128fa0275fd10db6e37b89a1f36aee60bc
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-11-22 15:52:22 +01:00
Gibala Krzysztof de83356b10 Program all semaphores dependencies
Related-To: NEO-3902
Change-Id: I5d8581cf4d1d50bc63626046972336b92af2a071
Signed-off-by: Gibala Krzysztof <krzysztof.gibala@intel.com>
2019-11-22 08:53:59 +01:00
Dunajski, Bartosz 08ceaf432a Enable blit operation on enqueue copy buffer
Change-Id: Ie9571344a9b1e2a783c59955a68094f2868f36ee
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-21 20:54:02 +01:00
Pawel Cieslak 6584f58902 Dynamic query of EUCount and SubSliceCount.
Related-To: NEO-3841

Change-Id: I7b92314bb8465233909fd1dddeef4ae1469008c9
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2019-11-20 12:28:04 +01:00
Mateusz Jablonski bccfa1df38 Add cmake macro to append sources from properties
Change-Id: I06771c56ebca2e7a0dc5b65d6ea53aca95a70797
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-20 11:58:10 +01:00
Pawel Wilma ae0cefc834 Add patchToken OffsetToSkipSetFFIDGP in device execution
Change-Id: I0634836b787fa371f0b64779732941396a6ba804
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
Related-To: NEO-3892
2019-11-19 17:26:22 +01:00
Kamil Kopryk 5ecb9905c9 Add support for stateless copy image to buffer
Change-Id: I91d1a45d87a5984e0bb7fdb302a716ffcea7bfc8
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3314
2019-11-19 17:17:12 +01:00
Piotr Maciejewski f2d0606301 Performance Counters: gen12 support
Change-Id: I40ccf4958636fc9ffa9778c7abd9e1663c4bb7e4
2019-11-19 16:58:04 +01:00
Mateusz Jablonski 13921f698e Move files to core
- OsLibrary class
- sku_info directory
- gmm_lib.h header

Change-Id: Ia86280e61cd2913c546afc40c3751b42e04ab137
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 16:19:52 +01:00
Mateusz Jablonski e7ee6daaa0 Remove runtime/gen_common from include paths
Change-Id: I4d1f9e64e0f4099e7903234e62b070ad4235347a
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 13:37:34 +01:00
Mateusz Jablonski 3e1b15c31d Move initialization of AubCenter to RootDeviceEnvironment
make RootDeviceEnvironments vector of unique_ptr

Related-To: NEO-3857

Change-Id: I23998502198307c8535cdd5c9c4af5223a5d69a5
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-19 11:30:16 +01:00
Filip Hazubski 717246e26f Rename clGetExecutionInfoIntel
Related-To: NEO-2712

Change-Id: Ie3718affcb3a0caad6e98a9e2850362bd2caed6d
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-19 09:08:47 +01:00
Dunajski, Bartosz 2d5169cf65 Setup enqueue dependencies in blocked path
Change-Id: Ia6d549924e3e557bae74dbdac691987450cbd3b7
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-19 08:55:55 +01:00
Zbigniew Zdanowicz b31e25dbb6 Move PreemptionHelper class to core
Change-Id: I172c4beb8ea2576505d6192585d45cfa3d00da34
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2019-11-18 23:59:28 +01:00
Jablonski, Mateusz f5f1e64ea9 Remove not needed destructor
Change-Id: I5cecf60eb55d69a185229f36a93cd22d6bf5ad46
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2019-11-18 22:59:15 +01:00
Michal Mrozek 6646bd81a7 Check for max allocation size while allocating USM.
Change-Id: I870ffd5d8716dc50ac064666b54f5fa92d8beca3
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-18 17:01:04 +01:00
Artur Harasimiuk bb1cdcaa30 refactoring dependencies lookup on Linux
Dependending on Linux Distribution location of pkgconfig may change and
be under lib/, lib64/ or other subfolder. Let's use GNUinstallDirs to
pick correct location when checking for prebuilts

Change-Id: Ic2323e2408eae3d91f0af71cb04e268bcb43bd46
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-11-18 14:12:14 +01:00
Kamil Kopryk 9d705e7905 Add support for stateless copy buffer to image
Change-Id: I494a64ecea8ff184626eeee3069de16f37e5b24b
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3314
2019-11-18 14:06:06 +01:00
Dunajski, Bartosz 8e945e7919 Improve TimestampPackets handling in blocked path
Change-Id: Idf381a8750cebec6196eb299661dda892e11144d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-18 09:25:56 +01:00
Dunajski, Bartosz 46b5513028 Initial Blit aux translation support
Change-Id: I67fb71be57cff28a3736d5ffb9e1c39b2498feb8
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-16 11:42:10 +01:00
Artur Harasimiuk 533cf92d12 fix code formatting to comply with rules
Change-Id: I361a48d67dc2f69811ce80454015ed2bff88b032
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2019-11-16 00:13:21 +01:00
Igor Venevtsev 63fd26f6d6 Always specify rootDeviceIndex for graphics memory allocations
Related-To: NEO-2941

Change-Id: Ia2362fd6b4e72ede02919152475f40b3edbc3658
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2019-11-15 15:14:41 +01:00
Filip Hazubski 5f021afd6d Move HwHelper to core directory
Change-Id: I2c78a8b737ee8e61b917b4918da37e77bbd9fe34
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-15 14:06:40 +01:00
Michal Mrozek 51f7fbe0ec Remove not needed debug flag.
Change-Id: I2cfb1cf531654045242f64f045f6f8ff2cc10d9a
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-15 11:59:42 +01:00
Michal Mrozek 06941a51af USM - add new API for memory fill.
- This API will eventually replace memset API

Change-Id: I33bb43904d76a56f74493f2567a8526f7f2c1ee4
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-15 10:56:41 +01:00
Maciej Plewka 43695f32dd Allow dispatch simd 1
Change-Id: If080b3c32e834e5351dea9218c4b46b28084cccb
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2019-11-14 19:30:20 +01:00
Filip Hazubski 60b4614f24 Remove OCL objects from HwHelper
Change-Id: I6b629421eae5e3c9c158f769ef1bb8d68e37aae7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-14 19:17:10 +01:00
Filip Hazubski db81e7247c Rename kernel_helpers.cpp to kernel_extra.cpp
Change-Id: I9f63b296433ea19d65d5204f7c1f2040238a3148
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-14 18:59:35 +01:00
Filip Hazubski 487c4c6e4b Add UNUSED_VARIABLE helper macro
Change-Id: If293ad33899ee4feb79424c351b13ea85306c603
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-14 17:42:56 +01:00
Maciej Dziuban 280b66fb97 Unified memory sharing 7/n
Move extension name to a separate file

Related-To: NEO-3771
Change-Id: I0c18b0e850e14102936d303d03b8b0e03a22e21a
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-11-14 17:00:23 +01:00
Maciej Dziuban 47645d6003 Unified memory sharing 6/n
Validate handle type upon buffer creation

Related-To: NEO-3771
Change-Id: I0fd16422220368ffdd41316e16c8506954d04d29
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-11-14 16:19:31 +01:00
Kamil Kopryk 8bd641c418 Fix for stateless offsets
Change-Id: I32a252065bb667df9c92ff41601db0556b7d156b
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-3314
2019-11-14 15:06:58 +01:00
Jobczyk, Lukasz 2a77d71d4c Ensure that temporary resources are destructed before wddm
Change-Id: I39330718f672a4f35941d1a990aec27446ad8b49
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2019-11-14 10:57:16 +01:00
Michal Mrozek e7901775a8 Improve enqueue kernel error handling.
- Do not allow to enqueue parent kernel if there is no device queue.

Change-Id: I0f06b8ed2387fc87abd652653f2c8bb8c4939a12
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2019-11-13 19:29:19 +01:00
Slawomir Milczarek 75d0fb308a Fixed AUB Center class object initialization
Related-To: NEO-3916

Change-Id: Ia17abe09c638ee76b8fda98166938c1bab6629a7
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2019-11-13 18:55:39 +01:00
Dunajski, Bartosz de0c01db8c Improve RegisteredMethodDispatcher usage
Change-Id: I742cc7a25f7ce3c9ad43411a0b1a128d1744c6a2
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-13 18:05:02 +01:00
Dunajski, Bartosz b6015b5293 Add TimestampPacketDependencies helper
Change-Id: I3945ac8e495baf442b4f892ba415f939e8d316da
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-13 16:04:48 +01:00
Filip Hazubski 4b2a8e99d8 Add clGetExecutionInfoIntel API
This API allows querying for execution related information.
CL_EXECUTION_INFO_MAX_WORKGROUP_COUNT_INTEL parameter allows to query for
maximal work group count that is possible to run concurrently on the device.

Related-To: NEO-2712

Change-Id: I4e6b4c80aeb06ff966fb543c0a7f05ed54416dab
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-13 12:09:40 +01:00
Mateusz Jablonski 5a8f455a84 Remove csrsContainer from root device environment
improve mocking:
- add method to create RootDevice in Platform
- add method to create SubDevice in RootDevice
- add method to create CommandStreamReceiver in Device

Related-To: NEO-3691

Change-Id: Ie9fe3de260492604333c8ca93796bfbffae518c4
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2019-11-13 10:05:09 +01:00
Dunajski, Bartosz 4102b9cf3d Pass single Node instead of whole Container to BlitProperties
Change-Id: I7493e836550712633ef95e83b8349a3804df1327
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2019-11-13 09:38:31 +01:00
Maciej Dziuban 6dd65f2f9e Unified memory sharing 3/n
Require CL_CONTEXT_INTEROP_USER_SYNC

Related-To: NEO-3771
Change-Id: I973635a25d2b2ac5d05557804a4351eb59786bcd
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2019-11-12 18:05:37 +01:00