Daniel Chabrowski
eaba246464
Test prelim command stream and clos cache
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-04-05 16:48:00 +02:00
Krystian Chmielewski
2ae3f3e521
Allow for zebin rebuild when IR is present
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-04-05 10:25:06 +02:00
Daniel Chabrowski
090a79f3f9
Test local memory DRM allocations
...
Signed-off-by: Daniel Chabrowski daniel.chabrowski@intel.com
Related-To: NEO-6591
2022-04-04 17:30:05 +02:00
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
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
Dominik Dabek
ff240c66db
Update cmake for dynamic allocation tracking
...
If cmake variable ENABLE_DYNAMIC_MEMORY_TRACKING is true:
- add preprocessor definition to enable tacking
- change linker options to export all symbols
Related-To: NEO-6837
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-04-04 12:34:22 +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 Jablonski
7f6296174c
Add PVC device ids
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-04 10:48:59 +02:00
Lukasz Jobczyk
9ace9356f8
Use timestamp wait only if cache flush not needed
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-04-04 09:36:03 +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 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
Zbigniew Zdanowicz
f2a18370e8
Split command queue hw tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-04-01 08:35:40 +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
Bartosz Dunajski
e32f624bf4
Update extension name
...
Resolves: NEO-6831
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-31 17:17:33 +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
Lukasz Jobczyk
aa46dd9cdf
Assign data only to unused barrier timestamps
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-30 16:56:06 +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
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
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
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
Lukasz Jobczyk
1aeb097a63
Download timestamp allocation before checking completion
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-28 15:02:04 +02:00
Patryk Wrobel
a0e7dce57a
Test arguments parsing in OfflineCompiler class
...
This change contains ULTs for OfflineCompiler::parseCommandLine()
method. The goal was to improve code coverage.
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-03-28 12:51:51 +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
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
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
Kacper Nowak
5477cb6b8c
Correct typo
...
- Replace "aligMent" with correct "aligNMent"
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-03-24 17:46:49 +01:00
Rafal Maziejuk
dea671a04c
Correct IMAGE1D_BUFFER width size calculation in BCS
...
Buffer's default bytesPerPixel value always equals 1 and as
IMAGE1D_BUFFER is originally an image, X coordinate needs to be
multiplied by bytesPerPixel (implied by image format)
in both copySize and (src/dst)Size.
Signed-off-by: Rafal Maziejuk rafal.maziejuk@intel.com
Related-To: NEO-6134
2022-03-24 17:15:38 +01:00
Kacper Nowak
cc0c98e974
Enable ocloc disasm for .gen files
...
This commit allows to use "disasm"
ocloc option to be used with .gen files.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-03-24 12:53:22 +01:00
Artur Harasimiuk
52da8f7260
allow external definition of NEO_KERNELS_BIN_DIR
...
Related-To: NEO-6783
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-03-24 12:00:46 +01:00
Kamil Kopryk
c56046fd29
Move pvcSteppingBits to PVC struct
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6738
2022-03-24 11:56:39 +01:00
Mateusz Jablonski
8a8b4866cb
XeHPC: force local memory for command/ring/semaphore buffer
...
require 48bit resource for ring/semaphore buffer
for multi tile allocations select first tile
for single tile allocation select preferred tile
Related-To: NEO-6698
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-24 10:54:26 +01:00
Kamil Kopryk
f9e22d96a9
Correct xe_hpc excludes
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6738
2022-03-23 14:56:43 +01:00
Kamil Kopryk
30ca074f73
Compile gen specific kernels
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6738
2022-03-23 14:37:11 +01:00
Milczarek, Slawomir
f03f530327
Extend zeCommandListAppendMemoryPrefetch to migrate to associated device
...
Related-To: NEO-6740
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-03-23 14:21:17 +01:00