Commit Graph

4568 Commits

Author SHA1 Message Date
bd247d725b AppendLaunchKernel tests
RelatedTo: NEO-4515

Change-Id: I1f719ea1f60f313fba44d49f84fe2caf6ea4e5c4
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-06 15:46:04 +02:00
884ae6fbab remove MT tests from igdrcl_tests target
these tests are executed as part of igdrcl_mt_tests

Change-Id: I907bbe99b1283962db2b5ad5fae1e4c848683ff1
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2020-04-06 15:25:55 +02:00
847fd71500 igc revision update
Change-Id: I915cf1d63ab9d9eeec02eb156c352d0443c78132
2020-04-06 15:16:29 +02:00
8ddf7aff1f Fix some clang-tidy warnings
Change-Id: Id13c787d6a5a129505d5934c4d488999ecd671eb
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-04-06 14:39:23 +02:00
e92d297e99 ULT renaming: Get Info tests
Related-To: NEO-2236

Change-Id: I356adb82619733d165d515ab23ac16500298cd54
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-06 14:35:10 +02:00
a56c27799b Constructors cleanup
Change-Id: I3b69c3951929588f346ad8557ca9a7808afe1c84
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-06 14:06:22 +02:00
11154bd9a1 Add more data to log in residency and direct submission
Related-To: NEO-4338

Change-Id: I146d6f6caddea540a6d48f86b07ad37d4045269e
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-04-06 12:37:45 +02:00
74cb8dd41e Add isInlineDataRequired() to DispatchKernelEncoderI
Change-Id: I0baaeddc16fe068f6c1ddd6c6697d447c4411055
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-06 11:16:19 +02:00
b285d65d1d Removed unused function from L0::Device
Change-Id: Ia5ebf6be81efcdcbcca8cbe6c2a6c2fd358ecfe3
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-04-03 21:22:33 -07:00
91b2758f05 Add UltDeviceFactory
Change-Id: Ib35bb6132f69e887fad3db282d7c0206d35515b7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-03 20:16:13 +02:00
bb5df7afb9 CommandList constructors cleanup
Change-Id: I47b17cc657f44ca54daece0a570ee40cfd10e8f1
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-03 19:31:04 +02:00
32e1b7d1a7 Add helper for encoding memory prefetch
Change-Id: I481ec11b66ad392ba9748bb5bbb6fd0ad3ce7f12
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-03 18:34:39 +02:00
62a87f644c ULT renaming: File I/O tests
Related-To: NEO-2236

Change-Id: Ia264914da381d8ebcdd2485f723569b5e85085c7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-03 17:27:08 +02:00
f2c11eb870 Update sub device internal ref counts
Change-Id: I82eea99bbb3d1edc32d09c0b703dee30b62f6b76
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-03 15:10:11 +02:00
6d4832fe24 Correct root device index in SBA programming
Related-To: NEO-3691
Change-Id: I568072d0f915484cc81a1d336f6efd86cba76f62
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-04-03 14:36:23 +02:00
4786f1a6c2 Refactor HardwareCommandsHelper
Change-Id: I15dcbf445565228a0e520b25265a1752ead70a28
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
20.14.16441
2020-04-03 12:53:19 +02:00
9dc7e2cfaf Initalizing the memoryProperties structure
Change-Id: I2ce5a0e1bfc54c9d21746a5bb6ebe6260370fc1c
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-03 05:51:29 -04:00
52704236bd Disable cl_khr_subgroups extension on gen12.
Resolves: NEO-3622

Change-Id: Idab55e5fb6a51ea0a08714f447bb9fce85f1dbcd
Signed-off-by: Piotr Zdunowski <piotr.zdunowski@intel.com>
2020-04-03 11:27:24 +02:00
3e881aed57 Rename hardware_commands_helper files to align with naming convention
Change-Id: I4a417cab5f14608228d2e4f0db456d0dad69524c
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-03 11:07:56 +02:00
be45e23d91 igc revision update
Change-Id: I567da4b4fea0e8ed802f2ea465b743c4eb4a742f
2020-04-03 10:59:38 +02:00
1b884e3ea9 Add Wddm residency logging to upper layers
Related-To: NEO-4338

Change-Id: Ib36f4c8da5a2ea9d4f81063faa718a29fbc4b8d8
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-04-03 09:48:38 +02:00
43dba9de4a Move MockDevice to shared
Change-Id: If3a4ea2bb3f47bcb8176516977a626517f25a49f
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-03 08:23:06 +02:00
8f5533dafc Correctly rename Level Zero functions as kernels
Change-Id: I8bc079a737171246fa62c759f594c3e841a2fcf8
Signed-off: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2020-04-03 07:59:58 +02:00
a52aaca401 Move glDllHelper out of windows directory and rename
Change-Id: I87a4ee3108465efa9b73f43f31dec06f4042cbf8
Signed-off-by: Maciej Dziuban <maciej.dziuban@intel.com>
2020-04-03 07:55:25 +02:00
a0c13490e5 Memory API's boilerplate for Level Zero Sysman
- Implementing MemoryGet, MemoryGetProperites & MemoryGetState
boilerplate  for Level Zero Sysman

Change-Id: I46661aac9cd6974af986aede7484fd59688046a4
Signed-off-by: SaiKishore Konda <saikishore.konda@intel.com>
2020-04-03 02:35:14 +02:00
7fc44aa60e Support for clLink with spec constants
Resolves: NEO-4537

Change-Id: Ic9a9ea8a7d4a83e6a308735b653bdd334cb88bf9
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
2020-04-03 00:21:33 +02:00
f096d71a75 Add diagnostic mode to direct submission
Related-To: NEO-4338

Change-Id: Ibcdc1b6a1762827337e4ff5364a972702130195a
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2020-04-02 17:50:59 +02:00
a2a7501b79 zetSysmanStandbySetMode is not settable from L0
Change-Id: I05d60f960c9cb89b3d53259067e05e8f20e9b602
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-04-02 17:40:24 +02:00
bf702c274d Rename duplicated filenames
Change-Id: Idccfc149dda13a9932699c7c376b11d8bc1d4198
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-04-02 17:39:47 +02:00
9831fde42c doc: remove information about Ubuntu 19.04
as it's EOL since January 2020

Change-Id: Ib52e8d667305538ac88de2ad5df64eb9b65364ad
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2020-04-02 17:14:42 +02:00
05c29816c8 Minor fixes for private memory in KernelImmutableData
correct root device index of allocation
fix typo in KernelImmutableData destructor

Related-To: NEO-3691
Change-Id: I8633dace1863521514e29c32a8033e8f7bb04dac
Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
2020-04-02 16:50:49 +02:00
36eec1fe8b Add more cmdList unit tests
Related-To: NEO-4515

Change-Id: I0bb41e108731c605b820fe4a63fb818c9ad67abe
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-02 16:34:18 +02:00
08546b65c7 Reset kernel properties before filing with proper values
Change-Id: I039659d3c5a7146fd9fe8251259f715923df3a82
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2020-04-02 16:10:46 +02:00
07dc91df72 Use proper FamilyType template argument
Change-Id: I0f2d132d0e0c9831e1c13266e5131db6123f473d
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-04-02 16:10:11 +02:00
62ef24c52a getExtensionFunctionAddress - use lookup map
Change-Id: I8fac8d65da12a2703129419d87ad6592260dce5a
2020-04-02 14:44:49 +02:00
d0527e1049 Rename memory_constants.h to constants.h
Change-Id: I05b5d20bac12935dc6625b94adc3a03c98c19b49
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-02 14:19:39 +02:00
4d80f21dac Reuse mapAllocation for memory transfer during buffer creation
Change-Id: Idcdabb4a9c61b5cbf69164c51ca1690a64665a26
Signed-off-by: Pawel Wilma <pawel.wilma@intel.com>
2020-04-02 14:07:20 +02:00
a2e58ed707 Add API commandList tests
- introduce mock_cmdlist

RelatedTo: NEO-4515

Change-Id: Ic267b28e780d0c65565ed29a1fb659c41843cf48
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-04-02 13:43:21 +02:00
385482e3fc Move VariableBackup to shared
Change-Id: Ib7e316f8d497f1854d977b6420f8c978de58c9ab
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-02 13:42:41 +02:00
5587670c4f Implement expect memory for AUB tests in TBX mode
Related-To: NEO-4459

Change-Id: I7ab64ff124f19baabb00cbad50b1a2065379b0c6
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com>
2020-04-02 13:22:09 +02:00
41e18a9616 fix compilation with clang 10
Add flag -Wno-deprecated-copy only for clang >= 10.0

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

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

Change-Id: I40cbc40a245f82a5dc9798851a276ead9e9ab74b
2020-04-02 12:25:03 +02:00
c6cd582f78 Enable Performance Counters for OCL and L0.
Change-Id: I1920b9d406c092fbc26fc6ca27766db297a1958b
2020-04-02 12:04:56 +02:00
9b14911f8b ULT renaming: Dispatch Info Builder tests
Related-To: NEO-2236

Change-Id: Ie94c590025edf0605717f77bb89a730ab8c8e6e7
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-02 11:40:32 +02:00
c294747979 Move methods from DriverHandle to Device
allocateMemoryFromHostPtr
allocateManagedMemoryFromHostPtr

add mock driver handle

Related-To: NEO-3691
Change-Id: Iee8a167e248871b3b5fc495bd79b3b5654fb1bbc
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-04-01 20:37:43 +02:00
a7e4ad4eba Add unspecifiedDeviceIndex constant
Change-Id: I146e9c80ce0d18aae5e56fadf83f5e1603173fd7
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-01 20:37:05 +02:00
214585eb1b Add REQUIRE_SVM_OR_SKIP helper macro for tests
Change-Id: I07fbde14a0d3be801087561b8460b15b857c3f2e
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-01 15:59:18 +02:00
8bb4be1689 Add Context::getSubDeviceByIndex function
Change-Id: I9a41b99521e705da008a614daa88c051b3687352
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2020-04-01 11:13:59 +02:00
57cf4f00c3 ULT renaming: Dispatch Info tests
Related-To: NEO-2236

Change-Id: Ief677f8bcbf7832e18521f0e4d2e135b2c7dfe2c
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-04-01 10:59:32 +02:00
d1bc7199de Switch to 3D pipeline to program selected commands - part 2
Resolves: NEO-4447

Change-Id: I1dd6a9694cdf3be19aadec1cd139c466baecbcd7
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2020-04-01 10:42:55 +02:00
5d756b7b15 Add FsAccess::getFileMode and SysfsAccess::getFileMode methods
Change-Id: I4dddf1b3983e63ef6ad664009ebd20d474c8cc17
Signed-off-by: Bill Jordan <bill.jordan@intel.com>
2020-04-01 09:14:40 +02:00