Katarzyna Cencelewska
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
Krystian Chmielewski
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
Bartosz Dunajski
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
Jaime Arteaga
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
Aravind Gopalakrishnan
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
Kamil Diedrich
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
Filip Hazubski
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
Kamil Kopryk
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
Katarzyna Cencelewska
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
Katarzyna Cencelewska
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
Mateusz Jablonski
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
Krystian Chmielewski
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
Bartosz Dunajski
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
Szymon Morek
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
Rafal Maziejuk
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
Krystian Chmielewski
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
Kamil Diedrich
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
Pawel Cieslak
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
ocldev
3ef1ab88a4
dependencies update
...
Signed-off-by: ocldev <ocldev@intel.com>
2022-01-10 22:39:50 +01:00
Compute-Runtime-Validation
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
Zbigniew Zdanowicz
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
Bartosz Dunajski
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
Szymon Morek
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
Joshua Santosh Ranjan
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
Compute-Runtime-Validation
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
Spruit, Neil R
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
Jaime Arteaga
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
Kamil Diedrich
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
Joshua Santosh Ranjan
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
Jaime Arteaga
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
Aravind Gopalakrishnan
7968823b3c
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-05 17:12:56 +01:00
Pawel Cieslak
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
Fabian Zwolinski
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
Pawel Cieslak
f8c1fe53db
Update infra
...
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-01-05 13:53:12 +01:00
Pawel Cieslak
7aa9c827d2
Update infra
...
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2022-01-05 11:21:40 +01:00
Young Jin Yoon
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
Szymon Morek
ade43e29a5
Optimize vector usage
...
Don't reallocate memory.
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-01-04 15:51:32 +01:00
Vilvaraj, T J Vivek
4d5d31d80d
sysman: simplify ULT for device reset
...
device reset is heavily dependant on gmock for ULT
reduce depencency on GMock.
Signed-off-by: Vilvaraj, T J Vivek <t.j.vivek.vilvaraj@intel.com>
2022-01-04 13:26:56 +01:00
Katarzyna Cencelewska
388adcca77
Force setting SUPPORT_DEVICE_ENQUEUE
...
fix problem with cached value
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-04 13:21:16 +01:00
Jaime Arteaga
343e68d926
Add STATUS to "Prebuilt kernels are linked to Level Zero" message
...
This so it is printed with "--" as other messages during cmake config.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-01-04 12:28:44 +01:00
Szymon Morek
6258575e5e
Use queryEngineInfo with prelim ioctls
...
If prelim kernel is being used, query engines
with prelim ioctls.
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-01-04 12:15:04 +01:00
Dominik Dabek
a18c706408
Move neo device caps tests to shared
...
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-01-03 18:05:11 +01:00
Artur Harasimiuk
7708557b05
infra update
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2022-01-03 17:59:56 +01:00
Katarzyna Cencelewska
534280fad6
Disable device enqueue
...
on icllp, cfl, kbl, skl
Resolves: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-01-03 17:34:30 +01:00
Zbigniew Zdanowicz
0cbc320e57
Move memory fixtures to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-01-03 16:47:02 +01:00
Grzegorz Choinski
997d28f6b2
infra update
...
Removing legacy linter.
Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
2022-01-03 14:33:47 +01:00
Kopryk, Kamil
7d18b845fa
Remove not needed argument from appendExtraInternalOptions function
...
Signed-off-by: Kopryk, Kamil <kamil.kopryk@intel.com>
2022-01-03 10:35:47 +01:00
Compute-Runtime-Validation
06b436f120
Revert "Enable engines round robin assign"
...
This reverts commit d52b7e599d
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-01-03 10:29:44 +01:00
Mateusz Jablonski
0db4821996
Correct linter tests
...
Update to 2022 year
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-01-03 09:30:29 +01:00
Dominik Dabek
6c40c712d8
Check workDim when enqueueing kernel
...
Return CL_INVALID_WORK_DIMENSION when workDim is more than
maxWorkItemDimensions.
Related-To: NEO-6159
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2021-12-31 15:42:09 +01:00