Mateusz Jablonski
67e1da1c07
Reorder members of Hardware Info to achieve optimal struct padding
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-08 14:54:18 +01:00
Dunajski, Bartosz
918d7b1da4
Helper for MI_SET_PREDICATE programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-08 14:20:01 +01:00
Kamil Kopryk
c027d2c494
Remove not needed isL3Configurable helper function
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Remove isL3Configurable function from
- HwHelper
- PreambleHelper
2022-11-08 14:11:23 +01:00
Kacper Nowak
a12251d464
feat(zebin): code improvements
...
- Set initial value for ArgIndexT index in
KernelArgMiscInfoT struct
- Add check for arg index in extended metadata in order to avoid OOB
accesses
- Fix missing: populating ArgTypeTraits + refactor ULTs in order to
check it
- Add missing ULTs for Program::callPopulateZebinExtendedArgsMetadataOnce
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-08 14:10:55 +01:00
Katarzyna Cencelewska
2d229f3fea
Set as default use of device based timestamps
...
Related-To: NEO-7042
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-11-08 13:34:58 +01:00
Daria Hinz
60a8bcb3d7
Use device ID from ProductConfigHelper
...
This commit switches the device ID logic from the deprecated
to the new one, so that if the user passes a hex value to the -device
parameter, ocloc will use the new implementation in the product config
helper.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7487
2022-11-08 12:40:54 +01:00
Mateusz Hoppe
a30cc94708
Zebin - fix program headers
...
- do not add CPU segment LOAD in debug zebin
Resolves: NEO-7481
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-11-08 12:32:19 +01:00
Wrobel, Patryk
4c05a54c2b
Use correct heap when opening device memory IPC handle
...
This change extends the logic of opening IPC
memory handles and fills the gap between this
logic and allocation of USM device buffers.
When HEAP_EXTENDED is available, then it is
preferred.
Signed-off-by: Wrobel, Patryk <patryk.wrobel@intel.com >
2022-11-08 12:08:04 +01:00
Kamil Kopryk
eafea5e2fe
Move HwInfoConfig ownership to RootDeviceEnvironment 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
- Added HwInfoConfig getter in RootDeviceEnvironment,
which temporarily takes HwInfoConfig from the global array
- use HwInfoConfig from RootDeviceEnvironment to
call ConfigureHardwareCustom function
- Added getHwInfoConfig in DeviceFixture
- ConfigureHardwareCustom function and few others changed to const
- Small code cleanup
2022-11-08 10:52:08 +01:00
Kamil Kopryk
0b02e7a48b
Remove not needed HwHelper functions
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Remove not needed HwHelper functions
- getBindingTableStateSurfaceStatePointer
- getBindingTableStateSize
- getBindingTableStateAlignement
2022-11-08 09:16:28 +01:00
Cetnerowski, Adam
b579bf645b
Debug variable documentation cleanup (1/n)
...
- Apply common style
- Clarify definition
- Clarify usage
Related-to: NEO-6968
Signed-off-by: Cetnerowski, Adam <adam.cetnerowski@intel.com >
2022-11-08 09:13:13 +01:00
Daria Hinz
0b3edc662e
Remove unnecessary platform name translation
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-11-08 00:33:39 +01:00
Kamil Kopryk
bf64769807
Remove not needed std::vector copies
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-11-07 23:25:14 +01:00
Jim Snow
48ba0554db
Allocate RTDispatchGlobals as array-of-structures.
...
This fixes several bugs in previous (reverted) implementation.
We use correct RTStack pointer offset, and a larger RTStack size.
Related-To: LOCI-2966
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2022-11-07 21:25:32 +01:00
Mateusz Jablonski
04a66d2b61
Move helpers tests to shared
...
ray tracing tests
engine node helper xehp and later tests
hw helper tests
move shared ult from command queue to helpers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-07 15:36:22 +01:00
Mateusz Jablonski
5b11a4a5fa
Return submission status from flushHandler function
...
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-07 15:09:33 +01:00
Warchulski, Jaroslaw
6cbb3cfb05
Cleanup includes 3
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 14:52:31 +01:00
Mateusz Jablonski
ac426f7fdc
ULT: move sip tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-07 14:04:10 +01:00
Mateusz Jablonski
2e06634d91
ULT: Move aub mem dump tests to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-07 13:05:45 +01:00
Dunajski, Bartosz
67af920281
Unify programming of ending commands in direct submission path
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-07 10:56:36 +01:00
Warchulski, Jaroslaw
fb25f96081
Cleanup includes 2
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 10:36:50 +01:00
Bellekallu Rajkiran
2c71df0957
Fix urecoverable abort upon detach event
...
Unrecoverable abort will be invoked when drm ioctls fail during
device destruction.
Remove abort for case where i915 is unbinded.
Related-To: LOCI-3139
Signed-off-by: Bellekallu Rajkiran <bellekallu.rajkiran@intel.com >
2022-11-07 08:39:00 +01:00
Compute-Runtime-Validation
ddbaa5e8c9
Revert "Cleanup MediaInterfaceDescriptorLoad logic in command encoder"
...
This reverts commit 349af0bd5e .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-07 02:20:27 +01:00
Tratnack, Geoffrey
349af0bd5e
Cleanup MediaInterfaceDescriptorLoad logic in command encoder
...
Add a patch to command encoder for samplers when DSH is dirty.
Signed-off-by: Tratnack, Geoffrey <geoffrey.tratnack@intel.com >
Related-To: LOCI-3365
2022-11-06 03:27:23 +01:00
Katarzyna Cencelewska
5cfb59c27e
Disable timestamp shift for gen9
...
also move hwhelper tests from opencl to shared folder
Related-To: HSD-18025130857
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-11-05 11:58:14 +01:00
Compute-Runtime-Validation
d91d22d1fe
Revert "Replicate CONSTANT_SURFACE across tiles"
...
This reverts commit 9a4467f368 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-05 07:16:15 +01:00
Kacper Nowak
dba54846a1
Zebin: enhance clBuildProgramTests ULTs
...
- Do not use precompiled binaries in clBuildProgramTests.
This change is required in order to enable zebin switch by default.
Related-To: NEO-7281
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-04 19:23:23 +01:00
Mateusz Jablonski
33e1b3a717
Command stream receiver: handle flush method failure when flushing BCS task
...
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 18:38:32 +01:00
Zbigniew Zdanowicz
27d042107a
Add feature to estimate number of event packets
...
Related-To: NEO-7469
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-04 18:38:17 +01:00
Warchulski, Jaroslaw
ef95bfb45e
Cleanup includes
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-04 18:04:13 +01:00
Mateusz Jablonski
1c3d5c3892
Prepare mechanism for returning GPU execution error on OCL API
...
translate task count value to OCL error
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 15:54:19 +01:00
Mateusz Jablonski
ab6af4247e
Add missing tests for hw info config dg1
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 14:22:45 +01:00
Mateusz Jablonski
930ca001a1
Add a layer to translate exec buffer error to SubmissionStatus value
...
handle errors: EWOULDBLOCK, ENOSPC, ENOMEM, ENXIO
Related-To: NEO-7144, NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 10:32:54 +01:00
Brandon Yates
76ef0bfb0a
L0debug - Canonize SBA in single address space mode
...
Signed-off-by: Brandon Yates<brandon.yates@intel.com >
2022-11-03 21:58:06 +01:00
Compute-Runtime-Validation
83f63e0008
Revert "Ocloc - fix binary output filename with "-output_no_suffix""
...
This reverts commit 3ca628c388 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-03 21:28:39 +01:00
Szymon Morek
9a4467f368
Replicate CONSTANT_SURFACE across tiles
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-11-03 18:36:18 +01:00
Mateusz Hoppe
3ca628c388
Ocloc - fix binary output filename with "-output_no_suffix"
...
Resolves: NEO-7474
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-11-03 18:27:02 +01:00
Luzynski, Sebastian Jozef
91c69e0fe7
Patch global variables and constants once
...
This change replaces mechanism of patching global constants and
variables in kernel per relocation to patching them only once. This
would improve linking time performance for kernels with multiple global
symbols.
Signed-off-by: Luzynski, Sebastian Jozef <sebastian.jozef.luzynski@intel.com >
2022-11-03 17:45:09 +01:00
Maciej Plewka
9fa6f1075e
Use globalMemSize from deviceInfo to compare private/scratch size
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-03 16:13:05 +01:00
Zbigniew Zdanowicz
6a6ab80113
Add option to compact event L3 flush packet
...
Related-To: NEO-7434
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-03 14:23:42 +01:00
Kacper Nowak
709e322a4a
feat(zebin): get extended args metadata on clGetKernelArgInfo API call
...
This commit adds support for retrieving extended args metadata passed in
.kernel_misc_info zeInfo's section on clGetKernelArgInfo call.
Related-To: NEO-7372
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-03 13:15:09 +01:00
Mateusz Jablonski
8ddc889c1d
Store hardware IP version in hardware info
...
Query HW IP version using ioctl helper prelim
Related-To: NEO-7457
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-03 09:57:08 +01:00
Compute-Runtime-Validation
49c828e481
Revert "L0debug - Canonize SBA in single address space mode"
...
This reverts commit f067145137 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-03 09:41:50 +01:00
Warchulski, Jaroslaw
f0a9533c83
Improve error reporting in ocloc
...
Related-To: NEO-6425
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-03 09:29:46 +01:00
Mateusz Jablonski
d45d62ef0e
Add debug flag to force nonblocking exec buffer calls when using prelim kernel
...
Related-To: NEO-7144
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-03 09:10:31 +01:00
Aravind Gopalakrishnan
3b4695460a
Fix misaligned pointer returned in heap allocator
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-11-03 00:23:24 +01:00
Krystian Chmielewski
52b1d92193
Mock debug program instead of using binaries
...
Removes usage of precompiled binaries in debug program tests.
Related-To: NEO-7383
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-02 17:50:42 +01:00
Krystian Chmielewski
69bef975f0
OCL cache per thread data
...
Add caching mechanism for local ids in OCL.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-02 17:07:29 +01:00
Dominik Dabek
4f9498476d
Re-enable tg dispatch size heuristic
...
Related-To: NEO-6989
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-11-02 14:12:46 +01:00
Cencelewska, Katarzyna
a094a9bafe
Fix convert timestamp to use double values
...
to avoid division by 0
Resolves: HSD-18025033373
Signed-off-by: Cencelewska, Katarzyna <katarzyna.cencelewska@intel.com >
2022-11-02 13:02:45 +01:00