Patryk Wrobel
50efd09ad8
Improve code coverage of binary encoder and decoder
...
This change contains ULTs, which improve the
coverage of BinaryEncoder and BinaryDecoder
classes.
Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-04-04 17:20:01 +02:00
Mateusz Jablonski
95103c3a33
Correct getters in generated commands
...
cast to uint64_t before shifting value
Related-To: NEO-6475
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-04 16:35:17 +02:00
Filip Hazubski
d2462ff8fb
Add debug flag to control ISA allocation padding
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-04-04 15:12:30 +02:00
Mateusz Hoppe
8e98b586ed
Cleanup shared test files - xe_hpc_core
...
- move test files from shared/test/common directory to
shared/test/unit_test
- cleanup cmakelists.txt files
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-04 14:18:40 +02:00
Mateusz Jablonski
817ba40771
Stop accessing task count from out-of-bound in opencl and shared ult
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-04 11:29:54 +02:00
Mateusz Hoppe
7c068cb05b
Add PVC hwinfo config test for Thread Eu ratio
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-04 11:03:36 +02:00
Mateusz Jablonski
7f6296174c
Add PVC device ids
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-04 10:48:59 +02:00
Michal Mrozek
787c74ce7a
Do not make dynamic allocations in hot calls.
...
std::stringstream does memory allocation even though it is not used.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-04-01 20:23:59 +02:00
Mateusz Jablonski
b45ffdb334
Move drm command stream fixture to shared
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-01 15:58:37 +02:00
Bartosz Dunajski
779bca39a7
Debug flag to add sfence instruction prior to DirectSubmission dispatch
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-04-01 15:53:03 +02:00
Mateusz Hoppe
beff0019d1
SBA tracking for single address space
...
Related-To: NEO-6539
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-01 15:24:11 +02:00
Mateusz Hoppe
4374197c9d
Fixes for bindless configuration
...
- enhance ults code, do not inject memory manager
- fix some issues related to bindless global heap
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-01 15:08:43 +02:00
Mateusz Jablonski
7910567a76
Handle missing tag address in getting completion address
...
rename test fixture to comply one definition rule
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-01 15:00:35 +02:00
Patryk Wrobel
9cba46e5bf
Improve code coverage of MultiCommand class
...
This change introduces ULTs for untested
parts of MultiCommand class. Furthermore,
it contains MockMultiCommand class, which
allows white-box testing.
Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-04-01 14:04:16 +02:00
Filip Hazubski
88193cc242
Minor fixes
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-31 20:02:11 +02:00
Mateusz Jablonski
9d502dea25
Refactor waitOnCompletionFence method in DrmMemoryManager
...
get completion address and value from command stream receiver
Related-To: NEO-6643
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-31 19:30:16 +02:00
Michal Mrozek
0c0603966b
Add debug functionality to track dynamic allocations.
...
- available only via manual build with ENABLE_DYNAMIC_MEMORY_TRACKING.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-03-31 13:24:15 +02:00
Dominik Dabek
308f9ccfff
Do not allocate dynamic state heap if not needed
...
Dynamic state heap is only used for sampler data.
Related-To: NEO-6821
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-03-31 12:13:13 +02:00
Kacper Nowak
afd71beee9
Add slm_alignment entry to .zeInfo payload_arguments section
...
This commit adds suport for parsing "slm_alignment" entry in .ze_info
section.
- Set requiredSlmAlignment for addresing mode slm
- Enable optional passed slm alignment parsing (with default value=16
left).
Related-To: NEO-6817
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-03-31 12:00:16 +02:00
Jobczyk, Lukasz
a285712cc4
Add missing download allocation calls
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-31 09:49:22 +02:00
Sebastian Luzynski
01e76998d4
Remove unused CPU features
...
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2022-03-30 18:20:08 +02:00
Daniel Chabrowski
5350553f72
Use PrelimHelper for isDebugAttachAvailable
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-03-30 16:17:05 +02:00
Bartosz Dunajski
08e3853982
Debug flag to add extra MI_MEM_FENCE for DirectSubmission
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-30 16:07:25 +02:00
Compute-Runtime-Validation
91cfd3cd1a
Revert "Unify command/ring/semaphore buffers placement"
...
This reverts commit e035199de4 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-30 14:05:47 +02:00
Krystian Chmielewski
6023a5b58e
Zebin: don't fail when extfunc caller cannot be found
...
This commit removes early fail in linking with zebin and external
functions which happens when, there's a relocation to external functions
section, but it's not modifying any external function. And only treats
GLOBAL FUNC symbols pointing to external functions section as external
function symbols.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-03-30 13:53:25 +02:00
Milczarek, Slawomir
7cd4ca5ce7
Fixed AUB capture in HW mode for umd-migrated shared allocations
...
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-03-30 12:04:58 +02:00
Naklicki, Mateusz
bce96e666f
Use updated macro names
...
Related-To: NEO-6730
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-03-30 10:44:59 +02:00
Sebastian Luzynski
cf906030ac
Add neon intrinsics for aarch64
...
Related-To: NEO-6452
Signed-off-by: Sebastian Luzynski <sebastian.jozef.luzynski@intel.com >
2022-03-29 18:22:32 +02:00
Rafal Maziejuk
c7d8915dd4
Add debug variable to print XY_BLOCK_COPY_BLT command details
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-03-29 18:15:13 +02:00
Mateusz Jablonski
e035199de4
Unify command/ring/semaphore buffers placement
...
put them all to the same memory location
Related-To: NEO-6698
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-29 17:55:48 +02:00
Mateusz Hoppe
681c09d314
Extend LinearStream with gpuBase
...
- added methods to set and query gpu base address
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-03-29 15:15:53 +02:00
Bartosz Dunajski
68351249d1
Add debug flag to read back command buffer pointer
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-29 13:08:18 +02:00
Daria Hinz
88c16542a1
Ocloc: Set DeviceId in HwInfo
...
User can pass a heximal value of device id via -device param.
This change makes the setting of this value in hwInfo.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-03-29 11:17:23 +02:00
Filip Hazubski
0fa923dff6
Add check for open syscall in case it fails
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-29 10:17:26 +02:00
Zbigniew Zdanowicz
9858438121
Limit multiple partition count to compute command lists
...
Related-To: NEO-6811
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-03-29 07:29:08 +02:00
Dominik Dabek
fccda460d6
Optimize zeCommandListCreate
...
Do not allocate heap if command list is copy only.
Related-To: NEO-6821
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
Co-authored-by: Michal Mrozek <michal.mrozek@intel.com >
2022-03-28 16:31:10 +02:00
Konstanty Misiak
174c27eb31
Fix CFEFusedEUDispatch debug flag
...
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2022-03-28 12:32:05 +02:00
Jobczyk, Lukasz
d77a6cbe4b
Enable task count update from wait
...
Signed-off-by: Jobczyk, Lukasz <lukasz.jobczyk@intel.com >
2022-03-28 11:09:55 +02:00
Filip Hazubski
3123ab5bf9
Correct media compression format for planar images
...
Set most significant bit for chroma planes.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-26 21:54:08 +01:00
Filip Hazubski
586e8510de
Remove unneeded include
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-03-26 09:55:25 +01:00
Patryk Wrobel
14c9c57e0c
Test buildFatBinaryForTarget()
...
This change contains ULTs for buildFatBinaryForTarget().
They are intented to cover untested code. Moreover,
the function signature has been changed to avoid copying
of std::vector of arguments.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-03-26 08:15:35 +01:00
Compute-Runtime-Validation
c8116b713f
Revert "Account for hwInfo when checking for implicit scaling support"
...
This reverts commit f6c5995219 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-25 21:41:51 +01:00
Mateusz Jablonski
3ac0581f2e
Add debug flags to read back cmd/ring buffer before unblocking semaphore
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-25 20:36:29 +01:00
Mateusz Jablonski
e11eb46bff
Unify logic for programming mocs in post sync struct
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-25 17:01:51 +01:00
Patryk Wrobel
41a8972772
Test functionality of Source helper class
...
This change introduces unit tests for Source class,
which is a helper of ocloc_arg_helper.
The original functionality has been improved to preserve
last line even if it does not contain trailing new line sign.
Moreover, empty lines are skipped since this change.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-03-25 13:52:40 +01:00
Bartosz Dunajski
be50afb930
Add and enable Direct Submission ring switch tag update WA
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-25 12:26:29 +01:00
Zbigniew Zdanowicz
bb753784cc
Optimize post sync operations for fence and task count update
...
Related-To: NEO-6242
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-03-25 10:57:10 +01:00
Daria Hinz
efa57f734b
Reset GT_SYSTEM_INFO values in ocloc
...
For AOT compilation, we don't want to set random/default values.
The uploaded structure to IGC will be reset.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-03-25 10:17:18 +01:00
Lukasz Jobczyk
a230f267e1
Poll task count indefinitely on high throttle command queue
...
Resolves: NEO-6781
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-25 10:06:16 +01:00
Compute-Runtime-Validation
0c064ccf4c
Revert "Enable task count update from wait"
...
This reverts commit 5118a5d3a6 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-25 00:09:52 +01:00