Commit Graph

4066 Commits

Author SHA1 Message Date
Jablonski, Mateusz
862a43cb5e Add missing debug flag state restorer
Resolves: NEO-4306
Change-Id: I977b5e9af8f94a40baa10f8ffabd863db3aa7806
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-02-14 13:37:26 +01:00
Michal Mrozek
b9d65b64d6 Add support for making buffer resident for their lifetime.
Change-Id: Idde4c561b0968858202a78719942f30ab89ffde6
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
20.07.15711
2020-02-14 11:58:18 +01:00
Aravind Gopalakrishnan
59855064e0 Make getNumIddPerBlock a const member function
The value returned is expected to be constant for the
lifetime of the cmdcontainer and not be modified

Change-Id: I7a0ed5bd04e64f065ffdf0cf381d2619da9462a0
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-02-14 07:29:26 +01:00
Krzysztof Gibala
c9a2406ea6 Refactor clSharedMemAllocINTEL
- Choose allocation path according to given device,
- Connect device in createUnifiedAllocationWithDeviceStorage
- Fix type in clGetMemAllocInfoINTEL

Change-Id: I9e743001b4c032a712c939c2917f16de0a61b100
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-02-14 07:10:51 +01:00
Jaroslaw Chodor
6112e99329 Use global address space as default
If not arg info provided use global
address space

Change-Id: Ib134f2fce32a0f334339a7f9a21d48178c17a421
2020-02-13 16:23:42 +01:00
Milczarek, Slawomir
4816988a94 Add helper function to check if fence allocation is required
Related-To: NEO-3216

Change-Id: I19d7142052a2191f7c7086ba06ca6f5930652a8c
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-02-13 16:13:45 +01:00
Katarzyna Cencelewska
541e161898 Change error code from CL_INVALID_VALUE to CL_SUCCESSS
when image are not suppoorted

Change-Id: I8350558ada1ab048b02b68cb372a22fdadf8c2f5
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2020-02-13 16:04:18 +01:00
Jaroslaw Chodor
b28e3fcad8 Fixing gcc5 compilation of ocloc_tests
Change-Id: Ief3a6638ae25e5cc3f5ec2050c302ded0088524a
2020-02-13 15:19:37 +01:00
Mateusz Jablonski
33c1a16f2f Initialize execution environment before creating platform
Related-To: NEO-4208
Change-Id: I3a242bfcc149aad01966693f99fbfc51ba71483d
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-13 14:48:00 +01:00
Dunajski, Bartosz
9a4d515d3f Return error when Kernel SIMD size is not in expected range
Change-Id: Ic4411535cd97f6e4e2c0252c43ab90c78713c5c5
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-13 14:33:21 +01:00
Jablonski, Mateusz
5d12bd8583 Move ownership of Drm to OsInterface
Related-To: NEO-4208
Change-Id: Iaf5255500b5629739065303e4e4f8a724458dbce
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-02-13 14:19:07 +01:00
ocldev
fd4c02996c dependencies update
Change-Id: Iddb80a26f1b6ff7ec971f68b40db9ed2cd53b0fb
2020-02-13 13:55:10 +01:00
Dunajski, Bartosz
224c86de2b Initialize Kernel SIMD in unit test
Change-Id: I334514c0cdc9d7a230f747f44891a8ba85da3b1d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-13 10:32:40 +01:00
Dunajski, Bartosz
4f2b172283 Add capability to blacklist per platform test files
Change-Id: I55d01bf94738a4bc743044ab1f0186eff24555cd
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-13 09:11:52 +01:00
kamdiedrich
8e2e1ef374 Move programming image surface state to core folder [3/n]
Change-Id: I383ce0797dfae1a5ee2bc49e6d9b885ef6787379
2020-02-13 00:12:03 +01:00
Adam Cetnerowski
c77ef2ef76 ULT renaming: Device caps tests
Related-To: NEO-2236

Change-Id: I972c06aef556acc1cca0d6d011c5676085eb36d8
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-02-12 17:55:38 +01:00
Milczarek, Slawomir
a0c94405a5 Add synchronization helper function after tag update
Related-To: NEO-4227

Change-Id: Ide6f65dd30d5c832844322be9ccd9c06b32a3371
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-02-12 15:58:58 +01:00
Koska
0c74922797 Add virtual adapter name
Change-Id: I892a9c2cdf6798a7c213be74f1e7b314cdb749c5
Signed-off-by: Koska <andrzej.koska@intel.com>
Related-To: NEO-2614
2020-02-12 15:41:58 +01:00
Dunajski, Bartosz
1c6abfb210 Respect minimal SIMD size in aub tests
Change-Id: I9019cc9d5befad563d5a7f6c013523d18dc5c076
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-12 15:19:10 +01:00
kamdiedrich
14cc57a078 Move programming surfaceOffsets to core
Change-Id: I1153ba80c3780f498d7faca65f5b9dace1d44897
2020-02-12 14:36:25 +01:00
Maciej Plewka
bde0820662 Add ssh alligment method to encoders
Change-Id: Icdb079a2a71bc98d338d52a20a9fe11e3a3c8407
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-02-12 14:18:22 +01:00
Dunajski, Bartosz
a0fcde3a4a Use SIMD16 kernels in unit tests
Change-Id: I7caf55fe0cf2a0da3a1f1c30e0ee3d8894dea74d
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-12 10:59:41 +01:00
Dunajski, Bartosz
362a63699f Make SVM_GPU allocation OneTimeAubWritable.
Reset Aub/Tbx writable flags on enqueue SVM unmap

Change-Id: Ib8370fc049bcbf24d787c5d677520afa12135ee5
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-12 10:56:57 +01:00
Michal Mrozek
0a7a4bfa4d Change required SIMD size to 16.
Change-Id: I6c48661e7221808306704eb665a5e31039335be6
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-02-12 09:12:34 +01:00
kamdiedrich
4da8fe050b Create separate file for program image surface state
Change-Id: I0bebc551d6ee95a7b5f46abfdd875b305d54b467
2020-02-11 23:42:16 +01:00
Mateusz Jablonski
c6ea9ee62e Simplify getAllSupportedTargetPlatforms function
Change-Id: Ib270a8ee20995adf132a3b11873f0cddc31db1e9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-11 19:50:50 +01:00
Jobczyk, Lukasz
9d2b25c69b Use CCS if available for internal usage
Related-To: NEO-4231

Change-Id: Ia74b32f50cacc970f247ec3679fd7cee54d1847f
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-02-11 18:51:26 +01:00
Maciej Plewka
bf1680ed00 Use encoder copySamplerState in sendIndirectState
Change-Id: Iab55e72d870f3bf93ff9bfaff519c9dc89131463
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-02-11 18:33:14 +01:00
Michal Mrozek
545b79cf5f Add blocking version of SVM free.
- Allows to synchronize prior to destruction.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>

Change-Id: I9a3a8a2f87a272f45c4921d8e77c705455576ce0
2020-02-11 18:24:08 +01:00
Zbigniew Zdanowicz
023d49b77c Add new to EncodeSempahore method to program semaphore into command buffer
Change-Id: If23c370f999c75cbc315bc6a328372ec2cc960e2
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-02-11 18:08:34 +01:00
Adam Cetnerowski
b31ff83522 ULT renaming: D3D tests
Related-To: NEO-2236

Change-Id: Iecd5163d8866d031b35a7a4e1c4551f89611da8c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-02-11 17:58:48 +01:00
Aravind Gopalakrishnan
2b0d85d0cd Allow to create command container with custom maxNumAggregateIdds
Allows flexibility to create command containers that do not
require the functionality to aggregate IDDs

Change-Id: I1d01a8280665acb45ddad87c97d48231db87281a
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-02-11 17:53:14 +01:00
ocldev
17ccb796df igc revision update
Change-Id: Ia8841c7f38de32518d863ecd26d263d317fd02be
2020-02-11 12:12:24 +01:00
Jobczyk, Lukasz
79fd342ad8 Move some device initialization to createDeviceImpl
Change-Id: I10cf5fcc1cd28d4a0272c34637dc5bf187f0c137
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-02-11 11:33:07 +01:00
Konstanty Misiak
6369470b3e Added const qualifiers to GMMHelper's getMOCS
Change-Id: I536837d36c0b8a8ef184af2b95f9832171c5b85c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-02-11 11:13:36 +01:00
Sebastian Sanchez
f936b3e1cd Fix calculation in encodeGreaterThanPredicate()
encodeGreaterThanPredicate() computes *firstOperand > secondOperand and
stores the result in MI_PREDICATE_RESULT where firstOperand is an
device memory address.

To calculate the "greater than" operation in the device,
(secondOperand - *firstOperand) needs to be used, and if the carry flag
register is set, then (*firstOperand) is greater than secondOperand.

The order of operands in the subtraction (secondOperand - *firstOperand)
in encodeGreaterThanPredicate() is incorrect. Transpose the
operands.

Change-Id: Ie7fee32af338a1a3948abc78cf8332e0be8595ac
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-11 10:58:06 +01:00
Sebastian Sanchez
e26e34e70d Store result from ALU SubCarry in a 3rd register
encodeAluSubStoreCarry() stores the result of the operation
in the register used for the first operand. This causes the
result register to be lost in subsequent encodeAluSubStoreCarry()
calls.

Change-Id: I4c972fcf85ef3876622ce6be677534feaf21ef95
Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com>
2020-02-11 10:50:11 +01:00
Milczarek, Slawomir
a1753053ed Blit command size estimates with additional size for synchronization
Related-To: NEO-4227

Change-Id: Id6935bdecee7d3c395c6ae1917706268acb26932
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-02-11 10:13:04 +01:00
Maciej Plewka
df59101dae Create base class for debugger in core
Resolves: NEO-4176

Change-Id: Iba48676fe145538c8213d21d514be38c702525c9
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-02-11 08:38:48 +01:00
Jaroslaw Chodor
46d0ae785b Adding info about ocloc's multidevice compilation
Related-To: NEO-3920
Change-Id: Ifa5805f5be6add092e70a39e35892600de7d26a5
2020-02-10 22:31:24 +01:00
Jaroslaw Chodor
046cb4c28b Adding AR support to ocloc
Related-To: NEO-3920
Change-Id: I6709d48528ab7d18fdd53c3396ff13551cce207b
2020-02-10 22:25:04 +01:00
Zbigniew Zdanowicz
6fe4382b31 Add cache flush operation to PipeControlHelper
Change-Id: Idaf8d88479571a9eb3c62e1b9659267d6274f946
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-02-10 18:39:02 +01:00
Mrozek, Michal
0ec8bcd0ff Revert "Fix ioctl call for context persistence change"
This reverts commit 916f867685.

Change-Id: I7fd82f0748d02f65de13074ba0bf82187428dcbf
2020-02-10 17:51:37 +01:00
Mateusz Jablonski
097c55331e Update internal
Change-Id: If66aa71a6dff680a9e6dd4a01927275f67d95c25
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-10 17:29:32 +01:00
Piotr Zdunowski
2fb18cac9a Report additional subgroups extensions.
Resolves: NEO-3929

Change-Id: I5f0cea4059583a494b91f9b2ff1e03eabd504bf0
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-02-10 17:09:45 +01:00
Mateusz Jablonski
77e1ec7818 Setup hardware info in Wddm::init
Related-To: NEO-3691
Change-Id: I7337b3c5213f10ccae49a3f34e31544decf62f8c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-10 17:01:31 +01:00
Maciej Dziuban
8f0bdf95ed Disable compression for redescribable formats
Change-Id: I7de5e0124ea54131bb7ea066fdf94f3d03960463
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
Related-To: NEO-3580
2020-02-10 16:35:02 +01:00
Jablonski, Mateusz
807586aafd Linux: discover devices in DeviceFactory::getDevices
Related-To: NEO-4208
Change-Id: Ia4405745d1ae22f03ce344a92f2b664ef6e1b957
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-02-10 15:53:37 +01:00
Jobczyk, Lukasz
52fda7e81e Disable a64WA when compile scheduler kernel
Resolves: NEO-4203

Change-Id: I786d4d90d1a6392c3a7e2f12991312b3cfe8bf6d
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com>
2020-02-10 15:37:00 +01:00
Dunajski, Bartosz
ec4619c21c Manifest update
Change-Id: I8b3a857c41d301f80db7df8c86467ce833edfe5f
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2020-02-10 15:23:53 +01:00