Commit Graph

9305 Commits

Author SHA1 Message Date
d2818aaea2 Remove device enqueue part 5
-remove scheduler and builtin_kernels_simulation

Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-13 14:15:26 +01:00
86161a8a4f Fix OpenCL driver version when building rpm packages
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-01-13 12:20:14 +01:00
9785ab7828 Refactor encode dispatch kernel class interface
Related-To: NEO-6589

Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-13 12:08:38 +01:00
0a4554ab23 Simplify internal options initialization
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6075
2022-01-13 11:03:04 +01:00
4fc365acca Create EngineInfo without MemoryInfo
Allow to create EngineInfo even if memoryInfo is
nullptr.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-01-13 10:03:34 +01:00
71746a2fff Register zebin binary in L0 debugger
Related-To: NEO-5571

Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-01-12 23:17:59 +01:00
5b3e20a2aa Add some missing ULTs for device_imp.cpp
Related-To: LOCI-2834

Signed-off-by: Barigou, Youcef <youcef.barigou@intel.com>
2022-01-12 23:07:52 +01:00
e39a09e6db Unify core and product commandList structures
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2022-01-12 22:33:11 +01:00
4d165f4747 Update infra
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
22.03.22192
2022-01-12 17:57:56 +01:00
394c0e90e1 Return error when failing on submission
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com>
2022-01-12 16:42:30 +01:00
38f9df26dd Correct enqueueHandlerHook in ults
Related-To: NEO-6582
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-01-12 16:13:54 +01:00
44ebe800df Move MockWddm body to WddmMock
This commit cleans the code after previously removed GMock from the
MockWddm(GmockWddm) class by merging MockWddm class into WddmMock.

Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-01-12 16:08:46 +01:00
37c78b9ef7 Disable bliter on DG1 Linux
move dg1 hw info config tests to shared

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-12 15:10:14 +01:00
c52223e642 Remove device enqueue part 4
-remove structs, class and tests with REQUIRE_DEVICE_ENQUEUE_OR_SKIP

Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-12 14:54:58 +01:00
45ae4fe881 Remove device enqueue part 3
- isSchedulerKernel

Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-12 13:50:18 +01:00
af7cb3ff35 Test closing GEM worker is blocking during cleanup
Added test checking if closing GEM worker during
DRM memory manager clean up is blocking.

Related-To: NEO-6213

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-01-12 12:48:05 +01:00
dc534c84d7 Revert thread arbitration policy changes
This reverts commit eddac7451099fed9dd9838117983d85b15ccc602.

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-12 11:33:52 +01:00
f182259a97 Return user size on zeMemGetAddressRange
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-01-11 23:12:23 +01:00
8030b7001c Fix magic value used to skip odd packets for timestamps
Related-To: LOCI-2718

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
2022-01-11 20:21:52 +01:00
7604a15abd Enable local memory for images for DG2 + WSL
Change GMM resource info params, so that buffers
remain in system memory while images are being
routed to local memory additionally, fixes single
sku builds


Related-To: NEO-6391

Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-01-11 20:06:53 +01:00
429fa1fbdd Delay releasing memory in createAllocWithAlignment
When padding memory is needed, store it and release only when
the related allocation is being released.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2022-01-11 20:02:43 +01:00
22588edf86 Add -force-stos-opt for stateful builtins
Related-To: NEO-6582
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-01-11 17:57:34 +01:00
5943113a01 Remove device enqueue part 2
Clear "SUPPORT_DEVICE_ENQUEUE" from cmakes

Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-11 15:58:21 +01:00
a9ebb49fb5 Remove device enqueue part 1
Remove:
-tests with matcher for device enqueue
-classes: MockDeviceQueueHw, DeviceQueueHw, SchedulerSimulation,
DeviceQueueHwTest, KernelArgDevQueueTest
-functions: forceDispatchScheduler, processDeviceEnqueue, dispatchScheduler

Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-11 15:29:49 +01:00
61e5e0687d Patch all implicit args relocations within every kernel
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-11 14:34:28 +01:00
0089cb698f OclocInvoke suppress print to stdout if has output
Suppressing output could be achieved with quiet option "-q",
but some information was gone because of it.
Call to oclocInvoke with output parameters passed should not
print message to stdout. All messages should be stored,
and returned to the user via output as stdout.log file.
This commit turns off printing messages to stdout when
output parameters are present.

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-01-11 14:21:23 +01:00
2194b647e9 PVC: Dont override default thread arbitration policy
This reverts commit 5af9dff74d.

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-11 14:16:17 +01:00
967d8a56fe Don't reduce LWS if SIMD32 is being used
Don't divide max kernel work group size by 2
if it's using SIMD 32

Resolves: NEO-6429

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-01-11 14:03:49 +01:00
8729521769 Use dispatchBlitCommandsForBufferRegion when copying buffers in L0
First step to separate dispatch blit commands for buffers
from dispatch blit commands for images.

Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com>
Related-To: NEO-6134
2022-01-11 13:52:56 +01:00
325ae63d05 Sort program headers by virt addr
When encoding ELF binary sort program headers by
virtual addresses incrementally.
This change is needed for compatibility with GDB.

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-01-11 13:23:59 +01:00
34856747b4 Add implementation for reading logical subDevice from builtin
Related-To: NEO-6258
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-01-11 13:06:15 +01:00
aa6e3bbef5 Revert "dependencies update"
This reverts commit 3ef1ab88a4.

Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-01-11 12:26:40 +01:00
3ef1ab88a4 dependencies update
Signed-off-by: ocldev <ocldev@intel.com>
2022-01-10 22:39:50 +01:00
b249c10e09 Revert "Add ze_eu_count_t to get total number of EUs"
This reverts commit 635c02e1ff.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-10 20:06:52 +01:00
5e626a15bf Add untyped flush to level zero barrier command
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-10 16:42:30 +01:00
014fd1fb26 Enable BCS by default on supported platforms
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2022-01-10 15:36:48 +01:00
26a24e8fde Query engine info with distances
If prelim kernel is being used, query distances
and set correctly number of available engines

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-01-10 13:30:26 +01:00
54d377d025 Fix clang-tidy issue
Fix clang-tidy issues about adding override keyword for MockClasses

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-01-10 10:56:25 +01:00
3c1ee0aaa5 Revert "Fix magic value used to skip odd packets for timestamps"
This reverts commit 7968823b3c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-07 08:01:12 +01:00
02f075c541 Power Saving Hint Support for Level Zero in Windows
- Added Functionality to pass ze_power_saving_hint_type_t to zeContextCreate
included in the pNext extensions in ze_context_desc_t.
- Enables handling a hint value 0-100 with 0 being no power savings
and 100 being maximum power savings.
- ZE_RESULT_ERROR_INVALID_ENUMERATION is returned given an invalid hint.

Related-To: LOCI-2567

Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
2022-01-06 23:56:59 +01:00
635c02e1ff Add ze_eu_count_t to get total number of EUs
Related-To: LOCI-2667

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-01-06 17:38:56 +01:00
8ec74558ea Temporarily disabling local memory for DG2 in WSL
Forcing system memory pool for all allocations in WSL for DG2
while local memory support is being implemented

Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
2022-01-06 11:15:25 +01:00
7fc9b2c3dc Implement UUID using pcie bdf
This patch implements the fallback method for Device UUID
using the BDF of the device for all product families.


Related-To: LOCI-2827

Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-01-05 23:31:00 +01:00
40ea30be0b Update list of supported extensions
Add compression hint and free policies extensions to the list.

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-01-05 19:11:08 +01:00
7968823b3c Fix magic value used to skip odd packets for timestamps
Related-To: LOCI-2718

Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com>
22.02.22151
2022-01-05 17:12:56 +01:00
e9dbd86f3d Update lint revision
Related-To: NEO-5855
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-01-05 14:48:29 +01:00
1d48e97649 Remove GMock from MockAubCsr, GmockAubFileStream, AsyncEventsHandlerTests...
GMock Removed from:
- MockAubCsr
- GmockAubFileStream
- AsyncEventsHandlerTests
- AsyncEventsHandlerTests::MyEvent
- MockGmmPageTableMngr
- GmockWddm

Additionally:
- GmockAubFileStream body moved to MockAubFileStream class
- Deleted unused GmockAubFileStream class
- Deleted NiceMocks from AsyncEventsHandlerTests
- Renamed GmockWddm to MockWddm

Related-To: NEO-4914
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2022-01-05 14:45:13 +01:00
f8c1fe53db Update infra
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-01-05 13:53:12 +01:00
7aa9c827d2 Update infra
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-01-05 11:21:40 +01:00
32ccf30c61 Add support for pci_ext_properties_t
Added API definition in ze_device.cpp, and added function declaration of
getPciProperties() in device.h and device_imp.cpp
Initially returns -1 for all values of ze_pci_speed_ext_t for now, simply
because we do not have function to retrieve the information of the PCI
speed.

Related-To: LOCI-2669
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com>
2022-01-05 10:43:54 +01:00