79c8605ed2
Fix checking required DSH Size
...
This change simplifies calculating required DSH Size
and replaces wrong debug break conditiong causing
debug assertion fails in many tests with simple
check "calculatedDSHSize > allocatedDSHSize".
Related-To: NEO-6077
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-01-15 00:24:46 +01:00
ff79c84115
Correct INTERFACE_DESCRIPTOR_DATA definitions for XeHp and later
...
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-01-14 19:06:55 +01:00
53482e6821
Allow ocloc to link files
...
Added 'link' option to ocloc CLI, which allows linking of
several IR files to single output file. Supported formats
of output file are ELF and LLVM BC.
Related-To: NEO-6163
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-01-14 16:18:36 +01:00
c282a78b14
Fix parent MemObj dereference.
...
Don't dereference parent obj multiple
times (per gfxAllocation). Dereference it once
Related-To: NEO-6418
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-01-14 14:54:59 +01:00
eedc77e1ec
Disable waiting on timestamps.
...
Not yet ready for full enabling.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-01-14 13:35:14 +01:00
e7f2676d5e
Fix ThreadArbitrationMode programming
...
For non-kernel submission, TAM was incorrectly reprogrammed to default
mode. Correct programming should reuse value from previous submission.
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-14 13:09:11 +01:00
182042b04d
Revert "Update default thread arbitration policy"
...
This reverts commit 8c3e9ace69
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-13 21:32:29 +01:00
8c3e9ace69
Update default thread arbitration policy
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-13 16:24:11 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
0cbc320e57
Move memory fixtures to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-03 16:47:02 +01:00
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
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
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
5774f68d8b
Correct rkl unit test
...
Signed-off-by: Kopryk, Kamil <kamil.kopryk@intel.com >
2021-12-31 14:57:56 +01:00
d52b7e599d
Enable engines round robin assign
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-31 11:59:52 +01:00
7ab6d2801a
Check if direct submission available once
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-31 11:53:29 +01:00
2047fc88f9
Move execution environment helper to shared
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-31 11:36:44 +01:00
38ad58bce3
Dont print error on IOCTL entry after success
...
This to reduce verbosity and avoid confusions when reading logs.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-12-31 09:49:08 +01:00
5be9d2d584
Add assignRegionsFromDistances logic
...
If prelim kernel is being used, use distances
logic to assign memory regions.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2021-12-30 17:48:16 +01:00
0c2f83579c
Do not force programming SCM when hasSharedHandles is true
...
This is a part of refactor of logic around programming SCM.
SCM should not be programmed just because of hasSharedHandles being true.
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-30 17:12:28 +01:00
5be4d89b73
Rename function
...
Rename MemorySynchronizationCommands::isDcFlushAllowed
to MemorySynchronizationCommands::getDcFlushEnable
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-30 17:03:22 +01:00
187120f44e
Program Media Sampler DOP Clock Gate Enable on Xe Hp Sdv
...
remove skipped tests
Related-To: NEO-6466
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-30 16:45:40 +01:00
a43834609d
Enable timestamp wait mechanism
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-30 13:15:14 +01:00
b5ffad2fec
Revert "Check if direct submission available once"
...
This reverts commit 70a7840da3
.
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-30 10:31:00 +01:00
418a8854b2
Skip timestamp wait when enqueue non kernel operation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2021-12-30 10:02:07 +01:00