188bf3c6fa
Remove not needed relocation name for implicit args
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-04-26 17:29:54 +02:00
9959896957
Add RT calls support to Kernel descriptor
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2022-04-22 16:33:59 +02:00
c7e76ce109
Add support for a new relocation name for implicit args
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-15 12:03:51 +01:00
45100d15ff
Revert "Correct implicit args relocation name"
...
This reverts commit b840737b73
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-03-14 18:51:49 +01:00
b840737b73
Correct implicit args relocation name
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-03-14 14:20:29 +01:00
cf1bc3a2ba
Disable EU fusion based on kernel properties from compiler
...
Related-To: NEO-6633
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com >
2022-02-28 18:50:38 +01:00
82e3b10c5a
Fix typo
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-25 18:10:41 +01:00
a2386ad216
Correct programming of implicit args on pre-XeHp platforms
...
On pre-XeHp platforms implicit args aren't at the beginning of indirect data,
GPU address of implicit args buffer is programmed within cross thread data
Related-To: NEO-5081, IGC-4710
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-24 20:52:04 +01:00
8860fcc868
Handle patch token for implicit args buffer
...
Related-To: NEO-5081, IGC-4710
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-23 12:04:54 +01:00
ea6f089e17
Unify implicit args programming across APIs
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-23 11:52:47 +01:00
4994eb18c2
Remove device side enqueue info from kernel descriptor
...
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-02-22 14:18:44 +01:00
4f71aaf595
Handle SIMD-1 scenario when programming local ids for implicit args
...
according to implicit args design for SIMD-1 local ids are one-by-one
Resolves: NEO-6692
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-17 17:48:54 +01:00
cd9cc53159
Correct setting usesStringMap flag in printf
...
This commit fixes setting usesStringMap flag for printf, taking into
account using indirect functions in legacy (non-zebinary) path. It also
adds new field to kernelDescriptor, specifying the binary type
(legacy/zebin).
Related-To: NEO-6604
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-02-15 15:39:10 +01:00
b697d75695
Correct dimension order in local ids generated for implicit args
...
when local ids are generated by HW, use same dim order for runtime generation
move common logic to separated file
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-02-04 12:46:59 +01:00
6f62a784e1
Revert "Check IndirectStatelessCount from igc"
...
This reverts commit 5e62df4f8e
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-02-04 12:15:37 +01:00
5e62df4f8e
Check IndirectStatelessCount from igc
...
If kernel has no stateless indirect accesses don't set the
kernelHasIndirectAccess flag.
Don't make resident or migrate if kernel has no indirect accesses.
Changed initial values in KernelAttributes.
Related-To: NEO-6597
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-02-02 12:28:30 +01:00
07c75c2de3
Revert "Check IndirectStatelessCount from igc"
...
This reverts commit 01f368ac147d99fd0dcb4d71a9a2543cd215adfd.
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-01-27 16:06:13 +01:00
63f406a58c
Check IndirectStatelessCount from igc
...
If kernel has no stateless indirect accesses don't set the
kernelHasIndirectAccess flag.
Don't make resident or migrate if kernel has no indirect accesses.
Changed initial values in KernelAttributes.
Related-To: NEO-6597
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-01-26 11:10:04 +01:00
20f17f775e
Remove device enqueue part 8
...
- remove hasDeviceEnqueue
Related-To: NEO-6559
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-01-19 11:16:35 +01:00
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
2dfb7df63b
Add RTDispatchGlobals allocation for ray tracing
...
If a kernel has ray tracing calls, we allocate and initialize
per-device RTDispatchGlobals if needed, and hand off pointer to
the same into a running kernel via an implicit parameter.
Related-To: NEO-5384
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2021-12-08 09:44:13 +01:00
9483070b18
Enable bindless aub in L0
...
- update crossthreaddata size according to argument offsets
when processing patchtoken binary when DATA PARAMETER STREAM SIZE
is lower than size required for arguments
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-12-07 17:28:31 +01:00
6519aa1822
ZEbin: add inline_data_payload_size field
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-11-23 11:22:04 +01:00
ec89b4eae7
Consume HasStackCalls info from IGC
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-11-15 20:30:51 +01:00
98eb086160
Don't generate local ids if not needed
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-11-08 13:10:00 +01:00
f20cdac7d3
Zebin: add support for has_dpas
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-10-28 09:59:21 +02:00
9614d435c5
Simplify code
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2021-10-20 11:29:49 +02:00
a63b9b1273
move common files to shared/
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2021-09-27 11:10:20 +02:00
5a59a6ad2e
Add support for implicit args in L0
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-09-15 11:12:23 +02:00
9ccf43e441
Correct branch_dir_suffix in cmake
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Related-To: NEO-6245
2021-09-14 16:00:20 +02:00
e193589582
Add implicit args support for OCL
...
Related-To: NEO-5081
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2021-09-13 10:54:19 +02:00
9f5b3efa73
L0: Add xe_hp_core unit tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-07-23 17:57:10 +02:00
2acc0fb3f6
Add memory backed buffer allocation for L0 ray tracing.
...
This allocates the buffer on a per-device basis and enables ray
tracing on devices that support it when given a kernel with ray
tracing calls.
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2021-07-02 11:56:18 +02:00
96d14967ac
Partial support for XE_HP_SDV
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2021-06-24 18:35:54 +02:00
d62049035a
printf support with ZEBinary
...
Resolves: NEO-5657
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-06-21 20:53:58 +02:00
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com >
2021-05-17 20:38:19 +02:00
bd32518d31
Add extra parameters to EncodeComputeMode::adjustComputeMode() method
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com >
2021-03-31 16:51:55 +02:00
41f3bd00ff
Remove PatchTokens from KernelInfo
...
Use KernelDescriptor instead of patchTokens stored in KernelInfo's
patchInfo.
Removed: SPatchMediaInterfaceDescriptorLoad, SPatchAllocateLocalSurface,
SPatchMediaVFEState(slot 0), SPatchMediaVFEState(slot 1),
SPatchInterfaceDescriptorData, SPatchSamplerStateArray,
SPatchBindingTableState, SPatchDataParameterBuffer,
SPatchDataParameterStream, SPatchThreadPayload,
SPatchKernelAttributesInfo, SPatchAllocateStatelessPrivateSurface,
SPatchAllocateSyncBuffer,
SPatchAllocateStatelessConstantMemorySurfaceWithInitialization,
SPatchAllocateStatelessGlobalMemorySurfaceWithInitialization,
SPatchAllocateSystemThreadSurface.
Related-To: NEO-4729
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2021-03-09 17:09:13 +01:00
6dd0f0c728
Relocate debug data
...
Related-To: NEO-4769
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2021-02-16 14:59:30 +01:00
1aca16a7ac
Add experimental_properties for indirect access
...
Read zebin experimental properties indicating whether a kernel has
indirect access and if so, ignore calls to zeKernelSetIndirectAccess.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2021-02-10 14:23:43 +01:00
8c2cb54a3f
Set correct bindless offset in arg descriptor
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-01-22 15:56:13 +01:00
4c50a9e147
Zebin - Improving binding table generation
...
Allowing N:1 kernel_arg:bti mappings
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com >
2021-01-20 18:37:45 +01:00
24a88d22aa
Fix scratch in bindless mode
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2021-01-18 15:46:18 +01:00
4948c39d39
Remove executionEnvironment from KernelInfo
...
Related-To: NEO-3739
2020-12-16 14:56:57 +01:00
37cd49330c
Implement ZE_CACHE_CONFIG_FLAG_LARGE_DATA for zeKernelSetCacheConfig
...
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2020-12-16 07:00:13 +01:00
79d4af28de
Switch to c++17
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2020-12-03 15:15:32 +01:00
28de4068c9
Read bindless offset from patch token
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2020-11-18 17:04:00 +01:00
345e56a151
Zebin improvements
...
* cleaning-up per-thread buffer size calculations
* fixing default slm alignment to 16
* adding scratch space slots
* renaming slm addressing mode
* adding support for zeinfo version
Change-Id: I0450353788b8488a685976d7f1dd26a44360383c
2020-10-29 16:33:21 +01:00
1926ef8319
is_simt_thread token support
...
Change-Id: I8cee6ff26229f0f492ba0d1e5e61d6e46e0c2486
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-10-21 14:14:43 +02:00
c672c2cd91
Dont reload GRF config if not applicable
...
Change-Id: I37388b3d43251d930136fde154b7861072a5abec
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com >
2020-08-21 14:29:13 +02:00