d81b0b14a1
L0 Virtual Memory Reservation support
...
- Enable support for L0 Virtual Memory reservation on Linux and Windows.
- Excludes support for Linux to allow pStart option
Related-To: LOCI-3397, LOCI-1543
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com >
2022-12-01 00:55:19 +01:00
4dfdbd612d
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-30 20:59:02 +01:00
7ea11f9e44
Remove 2MB alignment from host part of shared allocation
...
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com >
2022-11-30 17:04:24 +01:00
dfa65bd358
Cleanup includes 9
...
Related-to: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-30 14:48:50 +01:00
811db4d575
Move engine node helper tests to shared
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-11-30 12:58:13 +01:00
20b6c76298
RelaxedOrdering: Disable feature for BCS
...
Related-To: NEO-7458
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-11-29 17:45:40 +01:00
f7c11e8a94
Fix typos
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-29 17:12:10 +01:00
f7cb924d2d
Move HwHelper tests to shared
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-11-29 17:06:41 +01:00
c322bc3578
Revert "fix(ocl zebin): do not expose functions as kernel"
...
This reverts commit 359b9278b8
.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-11-29 13:51:50 +01:00
3fe394ecbe
Delete redundant getDefaultRevisionId method from HwHelper
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-11-29 13:35:12 +01:00
408a2e3e92
Add asserts to timestamp ults
...
Add asserts to avoid OOB array accesses when no semaphores are used
Related-To: NEO-7321
Signed-off-by: Dominik Dabek <dominik.dabek@intel.com >
2022-11-29 12:32:50 +01:00
d7e4117dcf
Compile builtins and test kernels per product family
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-29 11:52:21 +01:00
4100e1aa72
Cleanup includes 7
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-28 17:01:48 +01:00
c0c9ce548a
Validate level zero events in TBX mode
...
Related-To: NEO-7545
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com >
2022-11-28 16:45:02 +01:00
4b42b066f8
Use dedicated using type for TaskCount
...
Related-To: NEO-7155
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-28 16:44:44 +01:00
914939c377
Fix execution of cooperative kernels on multi-tile device
...
Add flag for forcing execution of kernels on single tile
Force cooperative kernels to use only single tile
Related-to: NEO-6729
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com >
2022-11-28 14:36:21 +01:00
359b9278b8
fix(ocl zebin): do not expose functions as kernel
...
Do not expose dummy kernel containing functions' ISAs as kernels.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-28 14:29:32 +01:00
27cb39ef25
Refactor: pass root device environment to gmm client context
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-28 13:26:29 +01:00
4bd5765a06
L0 Debug - Fix imm cmdlist mode on windows
...
Single Address Space SBA programming was using incorrect BB
level and not loading GPR15
Related-to: NEO-7517
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-11-25 20:37:14 +01:00
9e6d3d93e7
Fix ocloc decoder ULTs for IGA
...
This PR fixes the decoder tests in ocloc to improve single SKUs.
In tests, checking the existence of the platform in IGA has been added.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7509
2022-11-25 10:53:15 +01:00
7d4d592381
Pass root device environment to AubCenter
...
Related-To: NEO-6853
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-25 09:58:00 +01:00
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