31deb4fd63
Add support for new acronyms in disasm
...
The "disasm" option in ocloc was not validate new acronyms.
despite handling them in "compile".
This PR is fixing the issue - ocloc disasm supports new & deprecated
acronyms.
https://github.com/intel/compute-runtime/issues/582
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7509
2022-11-23 16:53:54 +01:00
bc619fcbec
Queue stall mode for RelaxedOrdering
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-23 12:09:52 +01:00
bb308c04ed
Refactor aubstream include interface
...
set include path to third_party/aub_stream
rename third_party/aub_stream/headers -> third_party/aub_stream/aubstream
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-23 10:30:13 +01:00
565d44e59c
Revert "Fail when handle cannot be obtain for an allocation"
...
This reverts commit 4391ad21bb
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-23 05:45:01 +01:00
4391ad21bb
Fail when handle cannot be obtain for an allocation
...
If a handle cannot be obtained, like PRIME_HANDLE_TO_FD, then
properly check for the error and propagate it upwards.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-11-22 19:29:19 +01:00
90034d4173
Added scratch size check
...
Related-To: NEO-7508
Signed-off-by: Andrzej Koska <andrzej.koska@intel.com >
2022-11-22 14:14:33 +01:00
bc5d9d149d
Task VA tracking for RelaxedOrdering mode
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-21 17:35:08 +01:00
67bfebb25e
Add additional create buffer arguments
...
Allow to: disable performance hints, make allocation lockable
Used in BufferPoolAllocator
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-11-21 16:19:53 +01:00
f6eb2e753a
Error check total SLM size not only inline
...
Related-To: NEO-7280
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com >
2022-11-21 15:30:25 +01:00
0b3582a93b
Update aubstream interface: use product family from aubstream
...
don't build aub tests when aubstream is not available
use only mock aub manager in ULTs
Related-To: NEO-4446
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-21 15:30:09 +01:00
1c03361273
Cleanup includes 6
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-21 12:02:14 +01:00
074a1e8583
Revert "Make small buffer allocations lockable"
...
This reverts commit 9b9b0f10ef
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-19 18:04:32 +01:00
f35f59b573
Cleanup includes 5
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-18 22:46:38 +01:00
9b9b0f10ef
Make small buffer allocations lockable
...
Allocations of buffers <= 64KB will be lockable, to
allow copying through locked pointer.
Related-To: NEO-7332
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-11-18 16:07:50 +01:00
3b97ca8709
Move ClCoreHelper ownership to RootDeviceEnvironment 6/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<ClCoreHelper> for
- allowImageCompression
- isFormatRedescribable
2022-11-18 15:35:10 +01:00
4aee34702e
Move HwInfoConfig & HwHelper ownership to RootDeviceEnvironment
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<ProductHelper> for
- configureHwInfoWddm
- configureHwInfoDrm
Use RootDeviceEnvironment getHelper<CoreHelper> for
- getMaxNumSamplers
- adjustDefaultEngineType
2022-11-17 17:05:25 +01:00
e197736b6f
Ensure base ptr is passed to PageFaultManager::removeAllocation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-11-17 16:12:31 +01:00
7a9450b0a3
Move ClCoreHelper ownership to RootDeviceEnvironment 5/n
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Use RootDeviceEnvironment getHelper<ClCoreHelper> for
- getDeviceIpVersion
- getSupportedDeviceFeatureCapabilities
2022-11-17 12:25:31 +01:00
f19abda0e2
Set root device index in OsContext
...
- correclty choose default engine context accounting for root device
index and subdevices bitfield
Related-To: NEO-7516
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com >
2022-11-16 23:02:19 +01:00
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
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
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
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
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
d76f5f4c01
Remove dead code
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-15 16:04:12 +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
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
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
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
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
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
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
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
dffe5fd604
Propagate flush error to initializeDeviceWithFirstSubmission method
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-10 19:33:38 +01:00
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
4e3e55d111
Patchtokens: remove unused code
...
Signed-off-by: Kacper Nowak <kacper.nowak@intel.com >
2022-11-10 18:56:40 +01:00
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
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
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
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
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
2e98fa9b60
Remove not needed BB chaining
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-10 11:27:26 +01:00