4882f51721
Cleanup includes in mock_device.h
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-16 17:22:44 +01:00
0cea7fe6d1
Fix allocating small buffers from pool
...
Wait for engine completion before freeing from pool
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-11-16 17:22:28 +01:00
d9d706d747
Enable compaction of event packets for kernel split and l3 flush operations
...
Related-To: NEO-7490
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-16 17:22:12 +01:00
59b3d3fbea
Move code from header files to cpp files
...
Moved code from:
- shared/test/common/mocks/mock_execution_environment.h
- shared/test/common/fixtures/mock_aub_center_fixture.h
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-16 15:06:07 +01:00
0a3a5913ae
Enable event packet count estimation
...
Related-To: NEO-7490
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-16 14:51:04 +01:00
610480b5aa
Refactor: Dont include os_agnostic_hw_info_config_* files in namespace NEO
...
use namespace NEO explicitly in these files
Related-To: NEO-4446
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-16 13:32:19 +01:00
7c050291bf
Fix fabric ras errors accumulated to all devices
...
This patch fixes the issue that fabric ras errors
from all devies are reported for all devices.
Related-To: LOCI-3548
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-11-16 12:03:50 +01:00
d942660b20
Set destination vm id in vm prefetch call
...
Use rsvd in prelim_drm_i915_gem_vm_prefetch to pass vm id to prefetch to
Related-To: NEO-6740
Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com >
2022-11-16 11:26:41 +01:00
083168dafb
Revert "Add support for USM shared in WSL for dGPU"
...
This reverts commit b0c97e49ea
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-16 10:09:42 +01:00
e3ce1711d0
Add Mem Fence for Wait On Memory extension
...
Add fence with acquire type to ensure PCIe write orders
Signed-off-by: Aravind Gopalakrishnan <aravind.gopalakrishnan@intel.com >
2022-11-16 08:24:47 +01:00
d86839855c
[L0] Report sharing extension
...
Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com >
2022-11-16 07:35:35 +01:00
ef9a4fffcd
Revert "Fix for '-q' option in ocloc"
...
This reverts commit e9f0cb30e7
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-16 06:27:31 +01:00
6f4e7b98dc
Unify IDD DenormMode programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-15 20:06:45 +01:00
a66e69abc9
Prealloc cmd buffer for CSR only when being used
...
Related-To: NEO-7361
Currently additional command buffer is
preallocated for all CSRs, even for those which
won't be used by application. This PR changes that
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-11-15 20:06:29 +01:00
3a58579bbe
Move memory properties helper tests from opencl to shared project
...
Related-To: NEO-7092
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-11-15 19:29:09 +01:00
88ed486f6b
Move L0HwHelper ownership to RootDeviceEnvironment 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<L0CoreHelper> for
- getAttentionBitmaskForSingleThreads
- getThreadsFromAttentionBitmask
2022-11-15 17:30:15 +01:00
0e47bcde1d
Move ClCoreHelper ownership to RootDeviceEnvironment 4/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<ClCoreHelper> for
- isSupportedKernelThreadArbitrationPolicy
- getSupportedThreadArbitrationPolicies
2022-11-15 17:24:11 +01:00
6648adef15
Handle error in register memory allocation methods
...
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-15 17:23:55 +01:00
d76f5f4c01
Remove dead code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-15 16:04:12 +01:00
146e18d9a4
Move L0HwHelper ownership to RootDeviceEnvironment 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<L0CoreHelper> for
- imageCompressionSupported
- usmCompressionSupported
- forceDefaultUsmCompressionSupport
2022-11-15 15:49:55 +01:00
9564af14f5
Move ClCoreHelper ownership to RootDeviceEnvironment 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<ClCoreHelper> for
- getQueueFamilyName
- getKernelPrivateMemSize
- preferBlitterForLocalToLocalTransfers
2022-11-15 15:45:33 +01:00
5f8cc9b99b
Remove commented code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-15 14:20:17 +01:00
6541f283c7
Remove DebuggerDisableSingleAddressSbaTracking
...
All problems with single address space mode have
been resolved and this Debug Key is no longer needed.
Related-to: NEO-7191
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-11-15 14:15:19 +01:00
ca06046f84
Move ClCoreHelper ownership to RootDeviceEnvironment 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<ClCoreHelper> for
- allowCompressionForContext
- getAdditionalDisabledQueueFamilyCapabilities
2022-11-15 14:02:16 +01:00
a17df8fa86
Return SubmissionStatus from processResidency method
...
it allows to return non-binary status to API layer
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-15 13:17:43 +01:00
966aa460f7
feat(yaml_parser): Correct parsing whitespaces-separated strings
...
Fix given scenarios in yaml parsings:
- Correct reading string containing multiple words separated by a
whitespace (space/tab) on token value retrieving
- Remove any unnecessary whitespaces from the end of a string on token
value retrieving
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-15 12:48:17 +01:00
bddf1bbe76
Return SubmissionStatus from printBOsForSubmit method
...
it allows to return non-binary status to API layer
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-15 12:43:21 +01:00
1d4240a0c8
Move ClCoreHelper ownership to RootDeviceEnvironment 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<ClCoreHelper> for
- requiresNonAuxMode
- requiresAuxResolves
2022-11-15 10:35:22 +01:00
05aea7ebc8
Move hwHelper ownership to RootDeviceEnvironment 3/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<CoreHelper> for
- getComputeUnitsUsedForScratch
- getPitchAlignmentForImage
2022-11-15 10:22:48 +01:00
c7b7039fc3
Unify naming - hSignalEvent
...
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-11-15 10:04:19 +01:00
8c8f5e22f9
dependencies update
...
Signed-off-by: ocldev <ocldev@intel.com >
2022-11-15 09:54:57 +01:00
6490d031aa
L0: handle flushTagUpdate error before performing cpu memcpy
...
Add helper to convert submission status to L0 API error code
Related-To: NEO-7412, NEO-7507
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-15 08:30:00 +01:00
aaa4e90ad4
Move L0HwHelper ownership to RootDeviceEnvironment 1/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<L0CoreHelper> for
- setAdditionalGroupProperty
- createEvent
- isResumeWARequired
2022-11-15 08:24:23 +01:00
1bcceb1071
Move hwHelper ownership to RootDeviceEnvironment 5/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
UseRootDeviceEnvironment getHelper<CoreHelper> for
- isFenceAllocationRequired
Move common implementation to pvc_and_later file.
2022-11-15 08:24:08 +01:00
211cc8552a
Move hwHelper ownership to RootDeviceEnvironment 4/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
UseRootDeviceEnvironment getHelper<CoreHelper> for:
- isLocalMemoryEnabled
- getSipKernelType
- is1MbAlignmentSupported
2022-11-15 08:23:53 +01:00
62db166cee
Debug flag to force ComputeWalker->PostSync flushing bits
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-15 01:34:50 +01:00
3281dea1fe
Allow debug allocs to use copyMemoryToAllocation
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-11-14 17:50:32 +01:00
1e0a2b897f
Introduce getHelper - helper getter for ClHwHelper and L0HwHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-11-14 15:54:45 +01:00
9b1d89575a
Add extra compilation check for not supported helper types
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-11-14 15:26:18 +01:00
80ac263a06
Adjust tg dispatch size heuristic
...
Decrease available thread count for large grf
(in addition to normal calculation)
Related-To: NEO-6989
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-11-14 15:22:56 +01:00
e9f0cb30e7
Fix for '-q' option in ocloc
...
Related-To: NEO-6425
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-14 15:04:08 +01:00
0a07ea94c7
Enable bcs split for H2H transfers
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-11-14 14:23:02 +01:00
ffcca3ba53
Use physical subdeviceId for sysman ras, freq and standby module
...
Related-To: LOCI-2925, LOCI-2926, LOCI-3236
Signed-off-by: Mayank Raghuwanshi <mayank.raghuwanshi@intel.com >
2022-11-14 14:10:23 +01:00
aac8754e67
Create reusable list per immediate cmd list
...
Related-To: NEO-7361
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-11-14 14:09:35 +01:00
25a5ed0dca
Allocate buffers in local memory for PVC multi root device platforms (1/n)
...
PVC platform with no support for atomic operations on system memory
must always allocate buffers in local memory to avoid atomic access violation.
Note: the feature is being implemented under the new registry key
AllocateBuffersInLocalMemoryForMultiRootDeviceContexts (disabled by default)
Related-To: NEO-7092
Signed-off-by: Milczarek, Slawomir <slawomir.milczarek@intel.com >
2022-11-14 13:56:50 +01:00
b0c97e49ea
Add support for USM shared in WSL for dGPU
...
This patch force KMD allocation path for USM shared
Related-To: NEO-6913
Signed-off-by: Kamil Diedrich kamil.diedrich@intel.com
2022-11-14 13:56:22 +01:00
f27dcbfb85
Unify RCS exposure
...
The goal is to standardize RCS exposure for all types of hardware
Related-To: NEO-7224
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com >
2022-11-14 13:12:08 +01:00
4aa1697e3c
Move hwInfoConfig ownership to RootDeviceEnvironment 2/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<ProductHelper> for
- adjustSamplerState
- adjustPlatformForProductFamily.
2022-11-14 13:04:31 +01:00
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
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