Kamil Kopryk
785b9eeece
Rename CompilerHwInfoConfig -> CompilerProductHelper
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
2022-12-05 11:25:49 +01:00
Rafal Maziejuk
16636b82ff
Move device caps gen tests to shared
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-12-02 15:14:21 +01:00
Warchulski, Jaroslaw
bf6dfa6b94
Fix for '-q' option in ocloc
...
Related-To: NEO-6425
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-12-02 11:37:00 +01:00
Dunajski, Bartosz
85da0ee184
Enable flushTask path for BCS
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-12-01 20:10:21 +01:00
Jaime Arteaga
99655d34f9
Return a unique pointer for multiple calls to openIpcHandle
...
This to follow specification, which says:
zeMemOpenIpcHandle:
- Multiple calls to this function with the same IPC handle will return
unique pointers.
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com >
2022-12-01 18:42:54 +01:00
Rafal Maziejuk
af82557e55
Move device caps tests to shared
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-12-01 17:57:13 +01:00
Spruit, Neil R
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
Jaime Arteaga
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
Lukasz Jobczyk
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
Warchulski, Jaroslaw
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
Rafal Maziejuk
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
Dunajski, Bartosz
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
Mateusz Jablonski
f7c11e8a94
Fix typos
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-29 17:12:10 +01:00
Rafal Maziejuk
f7cb924d2d
Move HwHelper tests to shared
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-11-29 17:06:41 +01:00
Compute-Runtime-Validation
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
Rafal Maziejuk
3fe394ecbe
Delete redundant getDefaultRevisionId method from HwHelper
...
Signed-off-by: Rafal Maziejuk <rafal.maziejuk@intel.com >
2022-11-29 13:35:12 +01:00
Dominik Dabek
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
Mateusz Jablonski
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
Warchulski, Jaroslaw
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
Zbigniew Zdanowicz
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
Maciej Plewka
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
Naklicki, Mateusz
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
Krystian Chmielewski
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
Mateusz Jablonski
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
Yates, Brandon
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
Daria Hinz
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
Mateusz Jablonski
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
Daria Hinz
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
Dunajski, Bartosz
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
Mateusz Jablonski
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
Compute-Runtime-Validation
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
Jaime Arteaga
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
Andrzej Koska
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
Dunajski, Bartosz
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
Dominik Dabek
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
Fabian Zwolinski
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
Mateusz Jablonski
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
Warchulski, Jaroslaw
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
Compute-Runtime-Validation
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
Warchulski, Jaroslaw
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
Dominik Dabek
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
Kamil Kopryk
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
Kamil Kopryk
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
Lukasz Jobczyk
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
Kamil Kopryk
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
Mateusz Hoppe
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
Mateusz Jablonski
4882f51721
Cleanup includes in mock_device.h
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-16 17:22:44 +01:00
Dominik Dabek
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
Mateusz Jablonski
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
Compute-Runtime-Validation
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