Zbigniew Zdanowicz
4238679078
Refactor implicit scaling device support
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-18 13:08:43 +01:00
Kacper Nowak
fc224202d6
Create debug zebin in OCL
...
This commit adds debug zebin creation in OCL.
- Added returning debug zebin in build/linking paths in OCL if
corresponding device binary format was detected.
- Refactored getZebinSegments() method - added common ctor for both
L0/OCL paths
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-01-17 14:27:23 +01:00
Igor Venevtsev
d9aae805c7
Do not apply L0 debugger WA (Disable L3 cache) for highest DG2 steppings
...
Related-To: NEO-6320
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-01-17 13:46:40 +01:00
Zbigniew Zdanowicz
c36c083812
Refactor implicit scaling parameters for surface state
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-17 09:30:58 +01:00
Zbigniew Zdanowicz
b78bb26cbf
Refactor partitioning of state base address
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-14 19:06:24 +01:00
Neil R Spruit
79bf9401ef
Fallback to buildFromSpirV given < 2 static link targets
...
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2022-01-14 02:17:52 +01:00
Zbigniew Zdanowicz
9c4f05387b
Refactor partitioning of dispatched kernels
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-13 22:54:07 +01:00
Compute-Runtime-Validation
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
Bartosz Dunajski
8c3e9ace69
Update default thread arbitration policy
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-01-13 16:24:11 +01:00
Rafal Maziejuk
201c3347ff
Rename dispatchBlitCommandsRegion to dispatchBlitCommandsForImageRegion
...
As this function no longer applies to buffers it needed to be renamed.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-01-13 15:42:12 +01:00
Zbigniew Zdanowicz
caa19489fc
Tweak dispatch kernel args structure
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-13 15:06:12 +01:00
Zbigniew Zdanowicz
9785ab7828
Refactor encode dispatch kernel class interface
...
Related-To: NEO-6589
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-13 12:08:38 +01:00
Igor Venevtsev
71746a2fff
Register zebin binary in L0 debugger
...
Related-To: NEO-5571
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2022-01-12 23:17:59 +01:00
Maciej Plewka
e39a09e6db
Unify core and product commandList structures
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-01-12 22:33:11 +01:00
Raiyan Latif
394c0e90e1
Return error when failing on submission
...
Signed-off-by: Raiyan Latif <raiyan.latif@intel.com >
2022-01-12 16:42:30 +01:00
Katarzyna Cencelewska
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
Jaime Arteaga
f182259a97
Return user size on zeMemGetAddressRange
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-01-11 23:12:23 +01:00
Aravind Gopalakrishnan
8030b7001c
Fix magic value used to skip odd packets for timestamps
...
Related-To: LOCI-2718
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-01-11 20:21:52 +01:00
Rafal Maziejuk
8729521769
Use dispatchBlitCommandsForBufferRegion when copying buffers in L0
...
First step to separate dispatch blit commands for buffers
from dispatch blit commands for images.
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
Related-To: NEO-6134
2022-01-11 13:52:56 +01:00
Compute-Runtime-Validation
b249c10e09
Revert "Add ze_eu_count_t to get total number of EUs"
...
This reverts commit 635c02e1ff .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-10 20:06:52 +01:00
Zbigniew Zdanowicz
5e626a15bf
Add untyped flush to level zero barrier command
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-01-10 16:42:30 +01:00
Compute-Runtime-Validation
3c1ee0aaa5
Revert "Fix magic value used to skip odd packets for timestamps"
...
This reverts commit 7968823b3c .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-01-07 08:01:12 +01:00
Spruit, Neil R
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
Jaime Arteaga
635c02e1ff
Add ze_eu_count_t to get total number of EUs
...
Related-To: LOCI-2667
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-01-06 17:38:56 +01:00
Jaime Arteaga
40ea30be0b
Update list of supported extensions
...
Add compression hint and free policies extensions to the list.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-01-05 19:11:08 +01:00
Aravind Gopalakrishnan
7968823b3c
Fix magic value used to skip odd packets for timestamps
...
Related-To: LOCI-2718
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-01-05 17:12:56 +01:00
Young Jin Yoon
32ccf30c61
Add support for pci_ext_properties_t
...
Added API definition in ze_device.cpp, and added function declaration of
getPciProperties() in device.h and device_imp.cpp
Initially returns -1 for all values of ze_pci_speed_ext_t for now, simply
because we do not have function to retrieve the information of the PCI
speed.
Related-To: LOCI-2669
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2022-01-05 10:43:54 +01:00
Filip Hazubski
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
Aravind Gopalakrishnan
882ae8088f
Skip L3Flush event packets during timestamp calculation
...
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2021-12-29 20:03:48 +01:00
Maciej Plewka
615688336f
Program all fields in SCM
...
Related-To: NEO-6432
This change applies WA that always programs all fields in SCM for
gen12lp. Also for those platforms Force Non-Coherent is set to 0x2.
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-12-28 16:30:47 +01:00
Jaime Arteaga
3b497270c8
Add support for memory free policies
...
Add support for ZE_DRIVER_MEMORY_FREE_POLICY_EXT_FLAG_BLOCKING_FREE
added in v1.3.
Related-To: LOCI-2672
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-12-28 08:27:50 +01:00
Young Jin Yoon
c9f6460d9f
Revert "Fix truncation issues from size_t to uint32_t"
...
This reverts commit 314d549b003a26066a3290db8d87eef59fb347f9.
This revert is to avoid errors and performance regressions on
specific platforms.
Related-To: LOCI-2558
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2021-12-27 19:00:58 +01:00
Maciej Plewka
df7723411f
Patch image descriptor fields with dword width
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-12-27 17:55:42 +01:00
Patryk Wrobel
3599e7aeda
Add warning when device binary had to be recompiled
...
Introduced a new warning, which is printed to build log, when the
binary needs to be recompiled. Added a new flag -Wno-recompiled-from-ir
to allow suppression of that message. Removed a bug related to memcpy_s
from ModuleBuildLogImp::getString() and aligned it with specification.
Related-To: NEO-5819
Signed-off-by: Patryk Wrobel <patryk.wrobel@intel.com >
2021-12-23 16:13:59 +01:00
Jaime Arteaga
7364288ed9
Revert "Use correct enum values for sampler in clamp mode"
...
This reverts commit c8737c6b4b3c67a81f7b4d1ea0918a5f9daac87d.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-12-22 22:17:57 +01:00
Mateusz Jablonski
896e01c1cb
Require exact revision when getting binary builtin for PVC
...
this change also implements logic for recompilation of builtin from spv in L0
in case when binary resource is not available
Related-To: NEO-6170
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-12-22 19:56:54 +01:00
Maciej Plewka
c92a4acc01
Use correct enum values for sampler in clamp mode
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-12-22 19:40:30 +01:00
Filip Hazubski
f4c151cce5
Refactor PipeControlArgs struct
...
Remove struct PipeControlArgsBase
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-22 17:13:16 +01:00
Filip Hazubski
9a450d1b74
Pass hwInfo to appendMiFlushDw
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-22 15:22:47 +01:00
Jaime Arteaga
dfe2be6e1a
Remove EnableCrossDeviceAccess
...
And rely now on querying the KMD for support.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-12-22 09:13:11 +01:00
Jaime Arteaga
e5415dad5d
Use base pointer when looking for peer allocations
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-12-22 06:03:31 +01:00
Neil R Spruit
64ca4b3456
Allow Explicit RTDispatch args and remove multi free of rtMemoryBackedBuffer
...
Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com >
2021-12-21 20:09:36 +01:00
Zbigniew Zdanowicz
6ab4b566aa
Shift csr factory initialization to shared library
...
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2021-12-21 18:43:31 +01:00
Filip Hazubski
0fd685541d
Add isDcFlushAllowed function to HwInfoConfig
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-21 18:29:43 +01:00
Filip Hazubski
6d439f88bb
Explicitly set dcFlushEnable value
...
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-21 12:21:11 +01:00
Mateusz Hoppe
17f82bbe12
Fix double ISA transfer for user kernels in L0
...
Related-To: NEO-6555
- ISA should only be copied once, after linking phase is complete
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-21 07:54:51 +01:00
Young Jin Yoon
702faca7a9
Fix truncation issues from size_t to uint32_t
...
Related-To: LOCI-2558
Signed-off-by: Young Jin Yoon <young.jin.yoon@intel.com >
2021-12-21 00:07:52 +01:00
Kamil Diedrich
6940fbf387
Program private 2 scratch in L0
...
Related-To: NEO-5427
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2021-12-20 23:25:09 +01:00
Filip Hazubski
461e6d841d
Remove redundant thread arbitration policy variables for SCM
...
Remove CommandStreamReceiver::lastSentThreadArbitrationPolicy
Remove CommandStreamReceiver::requiredThreadArbitrationPolicy
Related-To: NEO-5995
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com >
2021-12-17 19:47:59 +01:00
Michal Mrozek
62faecf6d5
Optimize virtual calls #2 .
...
Optimize frequently used virtual cost.
Compiler cannot inline those which causes overhead.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com >
2021-12-16 16:26:59 +01:00