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
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
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
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
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
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
e2b7f599b9
Add missing override
...
Change-Id: Ife3cd59e43d315ecf3604e57b4cb1d4bea0c45d7
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-03-27 14:53:05 +01:00
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
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
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
5caa8bc28d
Add detailed tests for ReadBuffeRect scenario
...
Related-To: NEO-4013
Change-Id: I3d43aec3c63f8cfb11a7bb2e601f41ce5b191166
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
20.13.16352
2020-03-27 10:53:58 +01:00
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
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
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
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
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
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
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
0ec2a6ecd6
Update infra.
...
Change-Id: Ia47be8b232d6454c51285ad6d569a76001913e4b
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2020-03-26 12:34:25 +01:00
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
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
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
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
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
7c9a4fcd54
Update infra.
...
Change-Id: I57f6a1ca1c819b144297319b4553e9360014aa88
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com >
2020-03-25 18:05:08 +01:00
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
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
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
b1ab1f0fe6
Update MockClDevice
...
Change-Id: Ic9a3e01ee309344b1fce450ae362503382095aa5
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2020-03-25 16:40:17 +01:00
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
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
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
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
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
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
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
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
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
fb0f74dc5a
Remove platformDevices from shared, fixtures and mocks
...
Related-To: NEO-4499
Change-Id: If835ad7a3f21682bce8abe446867857c4e42cadc
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 23:18:00 +01:00
94bd9af6e2
Remove platformDevices from ULT
...
Related-To: NEO-4499
Change-Id: I0949f6fd9897b970314a82db7bae6f700fbf31d3
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 22:48:20 +01:00
43668ce55b
Remove platformDevices from ULT
...
command_queue, command_stream, device, event, execution_environment
Related-To: NEO-4499
Change-Id: I83f0e749a6cd14c7b572e9af1502e288528c136b
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 22:32:42 +01:00
3acc6b0aab
Remove platformDevices from helpers, kernel, memory_manager
...
Related-To: NEO-4499
Change-Id: Ic875857ced2a793bf300164d44db2dbc99d33572
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 22:22:40 +01:00
25aea40e84
Remove platformDevices from os_interface, platform, program, sharings
...
and source_level_debugger
Related-To: NEO-4499
Change-Id: I09c28e8c167b00b80eaff8f86c8e58cea78ed3b1
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 22:09:57 +01:00
7d37c5a5d9
gmmlib revision update
...
Change-Id: I0f78902af46eb776f543254806ff0ca559282e81
2020-03-24 18:53:21 +01:00
7c489ac60d
Implement zetSysmanDeviceReset
...
Implemented function level reset.
Implementation is:
Make sure we are root (otherwise, return insufficient permissions)
Make sure no one has the device open
(otherwise, return hande object in use)
Close our file handle
Unbind the device from the kernel driver
Make sure no one still has the device open
(otherwise, kill them)
Perform function level reset (FLR)
Rebind the device to the kernel driver
Change-Id: Ic57b95487e73b5a5f2d03e619d813bf4199adf40
Signed-off-by: Bill Jordan <bill.jordan@intel.com >
2020-03-24 18:26:45 +01:00
47e3e7c8eb
Remove platformDevices [3/n]
...
Replace platformDevices[0]-> with defaultHwInfo->
Related-To: NEO-4499
Change-Id: I9a2607abe866512eef518ea6e34efb1d1d2069cf
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 17:19:57 +01:00
a651625473
Correct validation during creating command queue
...
check if device is associated with context
Related-To: NEO-3691
Change-Id: I7dfe12376bb2bb2c764b471315072a29068a0cb7
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 17:05:31 +01:00
70d50616d0
Fix execution mask programming for SIMD1
...
Change-Id: I50a9acb8ec5f9875085bb54eea1c154ed50f22af
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-03-24 15:47:55 +01:00
bcecb99006
Remove redundant copy of hardwareInfo in main.cpp
...
Change-Id: I0c741bd953c3db7f9e6b8603f2fd23a16583bdf0
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2020-03-24 15:28:02 +01:00
7a2310163e
Remove platformDevices [2/n]
...
replace **platformDevices with *defaultHwInfo
replace *platformDevices[0] with *defaultHwInfo
Related-To: NEO-4499
Change-Id: If973ceb44ede2e940969f9c666f85d9a939fbff8
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2020-03-24 15:26:34 +01:00