Compute-Runtime-Validation
77b6918f30
Revert "LOCI-3365: Cleanup MediaInterfaceDescriptorLoad logic in command enco...
...
This reverts commit cb3f7234f0
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-11-12 16:05:11 +01:00
Compute-Runtime-Validation
4d2948d312
Revert "Use device ID from ProductConfigHelper"
...
This reverts commit 60a8bcb3d7
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-11-11 10:56:33 +01:00
Tratnack, Geoffrey
cb3f7234f0
LOCI-3365: Cleanup MediaInterfaceDescriptorLoad logic in command encoder
...
Add a patch to command encoder for samplers when DSH is dirty.
Signed-off-by: Tratnack, Geoffrey <geoffrey.tratnack@intel.com>
Related-To: LOCI-3365
2022-11-10 23:28:58 +01:00
Zbigniew Zdanowicz
be1c1e89cb
Add option to signal and synchronize using all available event packets
...
Related-To: NEO-7469
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-11-10 23:28:43 +01:00
Jaime Arteaga
2c698fb5a1
Add debug key to disable SET_PAIR functionality
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-11-10 22:45:37 +01:00
Zbigniew Zdanowicz
5d79a84448
Enable front end tracking on xe_hp+ platforms
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-11-10 21:14:46 +01:00
Mateusz Jablonski
dffe5fd604
Propagate flush error to initializeDeviceWithFirstSubmission method
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-10 19:33:38 +01:00
Dunajski, Bartosz
5266a95c03
Debug flag to control auto grf mode
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-10 19:25:58 +01:00
Zbigniew Zdanowicz
596c9026f0
Enable state compute mode tracking on xe_hp+ platforms
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-11-10 18:57:14 +01:00
Kacper Nowak
4e3e55d111
Patchtokens: remove unused code
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-11-10 18:56:40 +01:00
Dunajski, Bartosz
002184586c
Add command buffer helpers: Conditional BB_START and GPR Inc/Dec
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-10 18:56:24 +01:00
Andrzej Koska
9aeb0116d7
Do not expose RCS on DG2
...
The RCS is no longer exposed under windows and linux on DG2
Related-To: NEO-7224
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2022-11-10 18:02:10 +01:00
Michal Mrozek
508ad66313
Align GPU VA to previous power of 2.
...
Aligning to next power of 2 was excessive.
We really need previous power of 2.
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-11-10 16:57:57 +01:00
Igor Venevtsev
1fb036a3b4
Add version guards to regset types enum
...
Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
2022-11-10 16:54:23 +01:00
Katarzyna Cencelewska
e75d62af5d
Set as default use of device based timestamps
...
Related-To: NEO-7042
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-11-10 16:39:56 +01:00
Kamil Kopryk
002a90c717
Move hwHelper ownership to RootDeviceEnvironment 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
UseRootDeviceEnvironment getHelper<CoreHelper> for:
- getMaxBarrierRegisterPerSlice
- getPaddingForISAAllocation
2022-11-10 16:39:39 +01:00
Mateusz Jablonski
10c12bb3a7
Reduce creating files when running ocloc tests
...
Add a new listener to track created files
Related-To: NEO-7126
Co-authored-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-10 15:58:29 +01:00
Mateusz Hoppe
5206fd1b9a
L0Debug - interrupt stopped events for newly stopped threads
...
- do not mark interrupt as complete when thread was stopped
before handling ATT event
- if no newly stopped threads reported in ATT event, interrupt
trigger thread unavailable event
Related-To: NEO-7501
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-11-10 15:25:24 +01:00
Kamil Kopryk
c82038565e
Unify isTimestampWaitSupportedForEvents helper function
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
No need to keep isTimestampWaitSupportedForEvents function
in hwHelper and in hwInfoConfig helper, move it to hwInfoConfig instead.
2022-11-10 15:24:14 +01:00
Warchulski, Jaroslaw
e4d10e5460
Cleanup includes 4
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2022-11-10 14:22:18 +01:00
Zbigniew Zdanowicz
b7203d9ce5
Enable pipeline select tracking for all xe_hp+ platforms
...
Related-To: NEO-5019
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-11-10 13:19:53 +01:00
Dunajski, Bartosz
2e98fa9b60
Remove not needed BB chaining
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-11-10 11:27:26 +01:00
Compute-Runtime-Validation
c0ce5f4684
Revert "Set as default use of device based timestamps"
...
This reverts commit 2d229f3fea
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2022-11-10 11:21:00 +01:00
Jaime A Arteaga Molina
192f02785d
Use PRELIM_DRM_I915_QUERY_FABRIC_INFO for canAccessPeer when available
...
When available, PRELIM_DRM_I915_QUERY_FABRIC_INFO is used to query
connectivity between two devices. If not, then a copy is performed.
Signed-off-by: Jaime A Arteaga Molina <jaime.a.arteaga.molina@intel.com>
2022-11-10 07:30:32 +01:00
Joshua Santosh Ranjan
aa3ddc8203
Fix destination address programming
...
This patch fixes destination address programming
for MI_FLUSH_DW
Related-To: LOCI-2125
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-11-10 03:20:39 +01:00
Lukasz Jobczyk
5011046a17
Add sfence when stop ring buffer
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-11-09 20:02:03 +01:00
Kamil Kopryk
eed70b07a0
Remove incorrect exclude
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-11-09 18:18:17 +01:00
Kamil Kopryk
af3f370ff0
Correct event reset
...
Related-To: NEO-7391
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-11-09 17:20:22 +01:00
Mateusz Hoppe
623f471321
Do not call waitUserFence under lock
...
Related-To: NEO-7454
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-11-09 15:48:19 +01:00
Katarzyna Cencelewska
f71f6c564d
Move hw_helper tests to shared folder
...
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com>
2022-11-09 15:18:00 +01:00
Lukasz Jobczyk
ff500e0de6
Add support for external hostptr in shared allocations
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2022-11-09 14:48:01 +01:00
Kacper Nowak
4d6bb9a807
fix(zebin): use arg type name without size
...
OpenCL expects args type names without additional information (type size).
- Use only the part up to the delimiter, without quotes
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-11-09 14:34:24 +01:00
Kacper Nowak
481cf36ad1
Add recompilation warning to debug messages
...
In case of recompilation from IR, apart from updating build log,
print debug message with recompilation warning.
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com>
2022-11-09 14:19:54 +01:00
Mateusz Jablonski
57cea7365e
Return submission status from flushTagUpdate method
...
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-09 14:04:16 +01:00
John Falkowski
6b64c1b04b
Return error from DeviceImp::createImage call when images are not supported
...
Signed-off-by: John Falkowski <john.falkowski@intel.com>
2022-11-09 13:36:08 +01:00
Jaime Arteaga
623c9afdfa
Return same fd handle on multiple calls to peekHandle
...
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
2022-11-09 13:35:52 +01:00
Krystian Chmielewski
f0f545eee7
refactor(ocl tests): program get build info tests
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-11-09 13:09:09 +01:00
Zbigniew Zdanowicz
3169b4afd6
Enable command list heap sharing on xe_hp+ platforms
...
Related-To: NEO-7142
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
2022-11-09 12:58:23 +01:00
Kamil Kopryk
474a860c49
Remove not needed getInterfaceDescriptorDataSize helper function
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-11-09 12:56:22 +01:00
Mateusz Jablonski
5da1617bb3
Mute debug messages in ULT output
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-09 12:40:00 +01:00
Joshua Santosh Ranjan
6a2e016d7f
Add support for UUID
...
Related-To: LOCI-3304
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com>
2022-11-09 12:29:32 +01:00
Kamil Kopryk
46098e0e17
Introduce getHelper - common getter for HwInfoConfig and HwHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Added getHelper common getter for hwInfoConfig and hwHelper
and use it as CoreHelper(HwHelper) and ProductHelper(HwInfoConfig)
2022-11-09 12:18:31 +01:00
Mateusz Jablonski
eb349484f1
Zero-initialize HardwareIpVersion members
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-11-09 12:07:03 +01:00
Szymon Morek
c9fad505d7
Replicate CONSTANT_SURFACE across tiles
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2022-11-08 20:35:43 +01:00
Michal Mrozek
d9762c0337
Add debug flag to control alignment.
...
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2022-11-08 19:42:19 +01:00
Maciej Bielski
c06ddfc7b8
Allocate kernel private memory for xehp and later
...
Add missing allocation of kernel private memory for the scenario when
the private memory is not allocated within `KernelImp::initialize()` but
deferred until `appendLaunchKernelWithParams()` instead.
One kernel can never allocate more private/scratch memory than
`globalMemorySize`, that ends up in `ZE_RESULT_ERROR_OUT_OF_DEVICE_MEMORY`
being returned. However, several separate kernels can exceed the
`globalMemorySize` and then, the private region of each such kernel is
allocated at later stage, in `appendLaunchKernelWithParams()`.
Such mechanism was present on pre-xehp platforms and it is now added to
xehp-and-later.
See:
* ModuleImp::checkIfPrivateMemoryPerDispatchIsNeeded()
* Module::shouldAllocatePrivateMemoryPerDispatch()
Related-To: NEO-7398
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2022-11-08 19:10:26 +01:00
Krystian Chmielewski
62ed04d5c1
feat(zebin): add platform compatibility check
...
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
2022-11-08 19:05:06 +01:00
Kamil Kopryk
4a48077a9f
Correct typo - executionEnvironment
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-11-08 18:23:07 +01:00
Dominik Dabek
30fe24aa79
Avoid cmpexchg due to CPU Hardware limitation
...
Limit the amount of times compare_exchange_weak is called,
to avoid issues with contention when multiple cpu cores request
the same address.
Related-To: NEO-7030
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2022-11-08 17:11:52 +01:00
Mateusz Hoppe
f77f47099c
OCL: Fix error for too big dimensions
...
- cases with null lws should only fail when computed
lws sizes result in too big number of workgroups
Related-To: NEO-6976
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2022-11-08 16:11:41 +01:00