Commit Graph

4556 Commits

Author SHA1 Message Date
Slawomir Milczarek 9022912a6d Check for image support in VA media sharing
Related-To: NEO-4473

Change-Id: I6015d67215267b1dcde1e885cf3696af10ea5e7d
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
2020-03-31 07:29:13 +02:00
Jaroslaw Chodor 97dfa234d1 Fix copy val in patchtokens
Change-Id: Id984ff9366b158b024768135150910b8892c8d25
2020-03-30 22:36:19 +02:00
ocldev 7732a4e513 dependencies update
Change-Id: Ib930cfcd87c9b551dfecddc1b5f58d00282b2101
2020-03-30 16:54:17 +02:00
kamdiedrich f417c13534 Cleanup image implementation
Remove unused functions
Remove dead code
Add static functions
Add new formats support
Add unit tests

Change-Id: I95ac1ca1997d4968ce350a0cde169b13cae58edb
2020-03-30 14:02:35 +02:00
Bartosz Dunajski 95f217f9ef Unify BindingTableEntryCount programming
Change-Id: I18d8cfdec348393e5c4b97e22334e3884da50f50
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-30 13:54:18 +02:00
Michal Mrozek b16354ca77 Allow CL_MEM_FORCE_SHARED_PHYSICAL_MEMORY_INTEL as clCreateBuffer flag.
Change-Id: I44c17b29f82efe1d79a0713944e453a6ae21feed
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-03-30 12:28:53 +02:00
Mateusz Jablonski d38ae0e07a Use TestedDrmCommandStreamReceiver in DrmMemoryManager tests
Related-To: NEO-4512
Change-Id: If8ee746d11ffaf8c2b95a13289e15bf1064b4588
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-30 11:55:56 +02:00
Jaime Arteaga 1e6337c61e Correctly use deviceIndex in CommandContainer initialization
Change-Id: I2377597e16f957428495251d7d788328307d2a9f
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-03-30 11:23:27 +02:00
Michal Mrozek d99160c9f3 Remove not needed BufferObject constructor.
Change-Id: I9b79699a041dc24ee542f7ae949b92327670d4b2
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2020-03-30 10:17:24 +02:00
Mateusz Jablonski d64c46a932 Minor cleanup in cmake files
don't use runtime folder in opencl
correct folders in VS solution

Change-Id: I1da0bfdf417b4603835093831d4e5f671181b2cf
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-30 10:08:12 +02:00
ocldev c96de8ff11 igc revision update
Change-Id: I4a921a2e433d6bba2c586f3992bf6951de860677
2020-03-30 09:30:30 +02:00
Jablonski, Mateusz a409368fa3 Use nondefault rootDeviceIndex in DrmMemoryManagerWithExplicitExpectationTests
Related-To: NEO-4512
Change-Id: I5089980a705cfc0dfaaa54c9053458e7a86c2930
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-03-30 09:16:41 +02:00
Mateusz Jablonski 441ff1fcdf Don't use the entire std namespace
Change-Id: I2014117a154fb2c1a61af5c31baa228b4fb3dbc2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-27 19:57:11 +01:00
Adam Cetnerowski 6de2b4e1cd ULT renaming: Base objects tests
Related-To: NEO-2236

Change-Id: I37c5e4418d1d1daf66460df1a9b375766f14580d
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-03-27 19:44:58 +01:00
Bartosz Dunajski 3ce4aed78d Use unique_ptr for drm query
Change-Id: I7dc67ff33abc56b4525a90cfc41013fd530b3fa2
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-27 19:34:24 +01:00
Mateusz Hoppe 6dc5810c7f Add more cmdlist tests
Related-To: NEO-4515

Change-Id: Idc0e0cdab97cb1a2437c212cbe8ae2bcf673125f
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-27 18:26:47 +01:00
Adam Cetnerowski 000f8bdd65 ULT renaming: Memory alignment tests
Related-To: NEO-2236

Change-Id: I47ef07092ed5c37dbb355e0d5b3b6c3bf1862160
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-03-27 18:23:33 +01:00
Dongwon Kim 6f6d64569d Optionally enable external ocl offline compiler
Expand commit af78548e80 to
scheduler's build configuration

Change-Id: I04a5fc5f85d15bac040ad699df4c39cc2e0182aa
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
2020-03-27 16:37:37 +01:00
Bartosz Dunajski e2b7f599b9 Add missing override
Change-Id: Ife3cd59e43d315ecf3604e57b4cb1d4bea0c45d7
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-27 14:53:05 +01:00
Mateusz Jablonski 8fa206b73b Reduce include paths in ULT
Change-Id: I05be75ec94c20076da3c821048a2a150b1fccf03
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-27 14:11:45 +01:00
Jablonski, Mateusz 0c67b0cb57 Reconfigure DrmMemoryManager tests to use non-default root device index
pass rootDeviceIndex to TestedDrmCommandStreamReceiver

Related-To: NEO-4512

Change-Id: I7257e5b9f63a1b6e5bba9b6ca48583e95deae606
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-03-27 12:59:28 +01:00
Zbigniew Zdanowicz 49d3c39fae Refactor direct submission
Related-To: NEO-4338

Change-Id: Ic858a9324e5f892532d39c98a4029df9d2a64e46
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-27 12:43:05 +01:00
Krzysztof Gibala 5caa8bc28d Add detailed tests for ReadBuffeRect scenario
Related-To: NEO-4013
Change-Id: I3d43aec3c63f8cfb11a7bb2e601f41ce5b191166
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2020-03-27 10:53:58 +01:00
Aravind Gopalakrishnan 6c4621f2ec Fix issue in events
alloc was previously potentially never used

Change-Id: I9da9aeb51dcf7881d51bb62ef35c9427c8cc3ef0
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@intel.com>
2020-03-26 23:02:57 +01:00
Mateusz Jablonski 1e074545db Correct DrmMemoryManager tests
create context with device from fixture
use only one memory manager
correct ioctl expectations

Related-To: NEO-4512
Change-Id: Id6d4f9f90065e58c512f464d00b8cd0c0ca8048f
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-26 17:27:31 +01:00
Maciej Plewka 5de8f3ac3d Unify setting compute mode
Change-Id: I8fd5a0cf1a121498efbbf1edb332920578d91598
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-03-26 16:08:29 +01:00
Andrzej Swierczynski b36fb6c0bf Remove peekGmmHelper() and peekGmmClientContext() from platform
Related-To: NEO-4207

Change-Id: Id4caec45b24ae5c7790f283b0cbf78c17e60d74e
Signed-off-by: Andrzej Swierczynski <andrzej.swierczynski@intel.com>
2020-03-26 14:44:57 +01:00
Adam Cetnerowski 0e87eb92c9 ULT renaming: Array Count tests
Related-To: NEO-2236

Change-Id: Id17f8d41b5bd26df6a101d4fa4214347106c7d0d
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-03-26 14:06:55 +01:00
Zbigniew Zdanowicz 2dde71fa74 Add flags to control addresing mode of direct submission allocations
Related-To: NEO-4338

Change-Id: I40ff0110d0f414a0e2d0167e86d9a148b17a0921
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-26 13:05:50 +01:00
Mateusz Jablonski b9ffd012be Improve DrmMemoryManager tests - use rootDeviceIndex variable
Related-To: NEO-4512
Change-Id: I8a33cfa5cd9309ba07dabe83963d527fd7161d29
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-26 12:48:46 +01:00
Pawel Cieslak 0ec2a6ecd6 Update infra.
Change-Id: Ia47be8b232d6454c51285ad6d569a76001913e4b
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-03-26 12:34:25 +01:00
Mateusz Jablonski 57fb96341a Correct wddm test, don't compare structure using memcmp
Change-Id: I40612c75ee404efa10c8c1f43054928cd9252f21
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-26 12:10:38 +01:00
Mateusz Jablonski 0f0a42de89 Pass root device index to all MockAllocationProperties constructors
Related-To: NEO-4512, NEO-3691
Change-Id: I631228191ca472e883b5233cb41ae8b6254588e9
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-26 11:34:47 +01:00
Piotr Zdunowski b3553c36dc Revert "Disable cl_khr_subgroups extension on gen12."
This reverts commit f99aaf4795.

Change-Id: Iee3434ecd8b235719ff7e4b6bad9fb0cc2deaf59
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-03-26 09:58:58 +01:00
Mateusz Hoppe 9ad71b47b6 Add unit tests for level zero CommandList
Change-Id: Ie6dc0fb9177188873aef96670d7e933a15af75cf
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-26 09:13:11 +01:00
Mateusz Jablonski 4e4d160efd Extend MockAllocationProperties constructor, pass root device index
Related-To: NEO-4512, NEO-3691
Change-Id: I1af3e513ae272e5baae116a176445e6e6af297fb
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-25 21:48:36 +01:00
Pawel Cieslak 7c9a4fcd54 Update infra.
Change-Id: I57f6a1ca1c819b144297319b4553e9360014aa88
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2020-03-25 18:05:08 +01:00
Piotr Zdunowski f99aaf4795 Disable cl_khr_subgroups extension on gen12.
Resolves: NEO-3622

Change-Id: Iaf94e262c8342c70c1b8c0f966020b3159a3cccf
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-03-25 17:48:35 +01:00
Jacek Danecki ae8e83b900 ci: set noninteractive frontend on Ubuntu 20.04
- to install tzdata on Travis

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/285

Change-Id: I09a58e8398bc1f4457dc5ae24b416a25c9d14670
2020-03-25 17:02:51 +01:00
Jacek Danecki f179986850 ci: limit number ninja jobs to 1
on Fedora 32 on Semaphore CI to workaround memory limit

Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>

https://github.com/intel/compute-runtime/pull/286

Change-Id: I2c571596100be9f141cec30e1de686920151e70d
2020-03-25 16:50:31 +01:00
Filip Hazubski b1ab1f0fe6 Update MockClDevice
Change-Id: Ic9a3e01ee309344b1fce450ae362503382095aa5
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-03-25 16:40:17 +01:00
Artur Harasimiuk a086310a4e cmake: fix GTEST_SHUFFLE setup
Change-Id: I1a6cc40445afafbcf6c13dce292a6a7cf6b1ec5f
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-03-25 16:18:35 +01:00
Dongwon Kim 557aff4610 Add new CML workstation devices
Change-Id: Iabce222b2faacd161e01a6f93129f31c43235b70
Signed-off-by: Dongwon Kim <dongwon.kim@intel.com>
2020-03-25 14:43:15 +01:00
Pawel Wilma 45d7e6f691 Re-enable disabled AUB tests
Change-Id: I4ad368b7174401496993a6372aeb1034d0ead89e
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-03-25 13:53:54 +01:00
Mateusz Hoppe 5954dbdda4 Move tests_configuration.h to shared
- add ult configuration to level zero core tests

Change-Id: Ie291395adb607df8c558b924e32ce2cedbce3f93
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-03-25 13:03:06 +01:00
Zbigniew Zdanowicz 4bc680477c Improve Wddm Residency logging
Related-To: NEO-4338

Change-Id: I5fefa1da6188befe27928b6bbfcc7bac89a6aef2
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-03-25 11:58:59 +01:00
Jaime Arteaga d96e462754 Reorganize Level Zero Core API files
Change-Id: I95750b90748dd65310fa72b030ea3ab2f72d3f24
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-03-25 11:21:43 +01:00
Jablonski, Mateusz fdde7232fd Correct usage of rootDeviceIndex in DrmMemoryManager::populateOsHandles
Related-To: NEO-3691
Change-Id: Id7ac60fd8f4f1949508f1ac000de40f58e1878c0
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-03-25 10:18:37 +01:00
Adam Cetnerowski 42cc9e3563 ULT renaming: Program tests [n/n]
Related-To: NEO-2236

Change-Id: I46bc58ac0579d148a9b657e168a1ba1d3d7e4800
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-03-25 09:03:19 +01:00
Mateusz Jablonski 0379ad9f67 Remove platformDevices variable
Resolves: NEO-4499
Change-Id: I7197c416fb81571a5929cf611f3da32c5b24fe46
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-25 07:09:14 +01:00