01a719cf33
Allow for zebin rebuild when IR is present
...
This commits adds rebuilding zebin binary.
If zebin is built for different device and has SPIRV, then new ze binary
will be built using SPIRV.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-04-12 08:05:25 +02:00
e9ebd10ab8
Revert "Correct ShaderChannelSelect value for images using CL_LUMINANCE"
...
This reverts commit 6f9ce94a17
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-04-12 06:47:24 +02:00
6f9ce94a17
Correct ShaderChannelSelect value for images using CL_LUMINANCE
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-04-11 17:13:57 +02:00
ce645f13b7
Encode PRODUCT_CONFIG value into fatbinary
...
Change modifies the encoding entry in fatbinary for platforms.
If numbering in -device is used, the value PRODUCT_CONFIG will be encoded.
The functionality that returns the correct product config values has
also been added.
Related-To: NEO-6744
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-04-11 15:09:17 +02:00
9e7703a578
Fix Wddm DirectSubmission unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-04-11 12:42:58 +02:00
6f911ba840
Add unit tests for MultiCommand class
...
This change improves code coverage of MultiCommand class.
Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-04-08 22:05:16 +02:00
667594e8eb
Revert "Improve multi storage handling."
...
This reverts commit 81739c0265
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-04-08 13:07:27 +02:00
2c1bfbb5b2
Encode number barriers
...
When programming number of barriers use BARRIER_SIZE enumeration.
Resolves: NEO-6785
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-04-08 10:32:23 +02:00
81739c0265
Improve multi storage handling.
...
- color always basing on granularity
- align all chunks to granularity size
- make all chunks equal in size
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2022-04-08 10:21:34 +02:00
4d4ccfd128
Remove cache info base class
...
There is only one implementation of said class and we don't
even adhere to the interface it provides.
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com >
2022-04-07 18:15:57 +02:00
fc4eaa1894
Refactor passing GlobalFenceAllocation to DirectSubmission
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-04-07 16:08:07 +02:00
76349b8030
Improve code coverage of OfflineCompiler class
...
This change introduces unit tests related to
member functions of OfflineCompiler class.
OfflineCompiler::initialize() is not covered
and it will be added in a separate commit.
Related-To: NEO-6834
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2022-04-07 13:58:52 +02:00
db9c0d1103
Refactor and enable MI_MEM_FENCE programming for DirectSubmission dispatch
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-04-07 12:53:56 +02:00
fd45ac133d
Unify append calls
...
Related-To: NEO-6242
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-04-07 10:18:55 +02:00
5b175ebb4a
Fix Scratch surface state programming on PVC
...
- program max num of threads in surface state
Resolves: NEO-6850
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-04-07 07:44:23 +02:00
7a3976ad64
Revert "Force 64KB page size for cpu alignment in dual storage allocation"
...
This reverts commit 7ff6a5c1fa
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-04-07 00:45:07 +02:00
64d3f95410
Revert "Allow for zebin rebuild when IR is present"
...
This reverts commit 2ae3f3e521
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-04-06 23:17:22 +02:00
7ff6a5c1fa
Force 64KB page size for cpu alignment in dual storage allocation
...
There is no need to force 2MB alignment for CPU allocation in dual
storage usage. Additionaly for WSL this will allow to avoid usage of
malloc in driver path.
Relates-To: NEO-6620
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-04-06 15:28:17 +02:00
f4407064a4
Refactor store register mem encoder to include partition parameter
...
Related-To: NEO-6811
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-04-06 14:00:56 +02:00
76289be8c1
Avoid unnecessary allocation in enqueueHandler
...
Related-To: NEO-6837
kernelObjsForAuxTranslation will allocate only if needed
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-04-06 13:03:41 +02:00
9e1bd1005b
Disable aub test
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2022-04-06 09:06:26 +02:00
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
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
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
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
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
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
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
7f6296174c
Add PVC device ids
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-04 10:48:59 +02:00
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
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
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
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
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
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
f2a18370e8
Split command queue hw tests
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-04-01 08:35:40 +02:00
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
e32f624bf4
Update extension name
...
Resolves: NEO-6831
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-03-31 17:17:33 +02:00
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
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
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
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
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
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
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
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
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
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
1aeb097a63
Download timestamp allocation before checking completion
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-03-28 15:02:04 +02:00
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