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
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
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
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
eb349484f1
Zero-initialize HardwareIpVersion members
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-09 12:07:03 +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
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 Jablonski
67e1da1c07
Reorder members of Hardware Info to achieve optimal struct padding
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-08 14:54:18 +01:00
Kamil Kopryk
c027d2c494
Remove not needed isL3Configurable helper function
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Remove isL3Configurable function from
- HwHelper
- PreambleHelper
2022-11-08 14:11:23 +01:00
Daria Hinz
60a8bcb3d7
Use device ID from ProductConfigHelper
...
This commit switches the device ID logic from the deprecated
to the new one, so that if the user passes a hex value to the -device
parameter, ocloc will use the new implementation in the product config
helper.
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
Related-To: NEO-7487
2022-11-08 12:40:54 +01:00
Kamil Kopryk
0b02e7a48b
Remove not needed HwHelper functions
...
Related-To: NEO-6853
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com >
Remove not needed HwHelper functions
- getBindingTableStateSurfaceStatePointer
- getBindingTableStateSize
- getBindingTableStateAlignement
2022-11-08 09:16:28 +01:00
Daria Hinz
0b3edc662e
Remove unnecessary platform name translation
...
Signed-off-by: Daria Hinz <daria.hinz@intel.com >
2022-11-08 00:33:39 +01:00
Jim Snow
48ba0554db
Allocate RTDispatchGlobals as array-of-structures.
...
This fixes several bugs in previous (reverted) implementation.
We use correct RTStack pointer offset, and a larger RTStack size.
Related-To: LOCI-2966
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2022-11-07 21:25:32 +01:00
Warchulski, Jaroslaw
6cbb3cfb05
Cleanup includes 3
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 14:52:31 +01:00
Warchulski, Jaroslaw
fb25f96081
Cleanup includes 2
...
Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com >
2022-11-07 10:36:50 +01:00
Katarzyna Cencelewska
5cfb59c27e
Disable timestamp shift for gen9
...
also move hwhelper tests from opencl to shared folder
Related-To: HSD-18025130857
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-11-05 11:58:14 +01:00
Mateusz Jablonski
33e1b3a717
Command stream receiver: handle flush method failure when flushing BCS task
...
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 18:38:32 +01:00
Mateusz Jablonski
1c3d5c3892
Prepare mechanism for returning GPU execution error on OCL API
...
translate task count value to OCL error
Related-To: NEO-7412
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-04 15:54:19 +01:00
Maciej Plewka
9fa6f1075e
Use globalMemSize from deviceInfo to compare private/scratch size
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-03 16:13:05 +01:00
Mateusz Jablonski
8ddc889c1d
Store hardware IP version in hardware info
...
Query HW IP version using ioctl helper prelim
Related-To: NEO-7457
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com >
2022-11-03 09:57:08 +01:00
Krystian Chmielewski
69bef975f0
OCL cache per thread data
...
Add caching mechanism for local ids in OCL.
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-11-02 17:07:29 +01:00
Maciej Plewka
7f38c5e633
Revert "Return error code for unsuported image arg in gen12lp"
...
This reverts commit bbc31e6aac
Signed-off-by: Maciej Plewka maciej.plewka@intel.com
2022-11-02 12:57:16 +01:00
Maciej Plewka
ff01b9361e
Return error code when there is no space for scratch/private
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-11-02 11:55:18 +01:00
Katarzyna Cencelewska
bbd75959d5
Calculate CS timestamp based on OA timestamp and frequencies ratio
...
Changes affect cores up to xe_hpg
Resolves: NEO-7346
Signed-off-by: Katarzyna Cencelewska <katarzyna.cencelewska@intel.com >
2022-10-28 16:26:53 +02:00
Dunajski, Bartosz
fad7f10b7b
Remove fallback path for PAT index programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-25 16:24:43 +02:00
Maciej Plewka
bbc31e6aac
Return error code for unsuported image arg in gen12lp
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-10-24 16:54:10 +02:00
Jim Snow
f976c7a313
Revert "Allocate RTDispatchGlobals as unboxed array"
...
This reverts commit eaa4965ae8 .
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2022-10-24 05:16:03 +02:00
Artur Harasimiuk
9ad3f6190f
do not sleep in ULTs
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com >
2022-10-21 19:37:52 +02:00
Krystian Chmielewski
c224fd0666
Require LWS to be in ascending format X >= Y >= Z
...
This change fixes problem with memory locality.
When calculating work group size do not take into account
work group sizes where there's bigger number of elements in
higher dimensions namely: Y>X or Z>Y.
Related-To: NEO-5719
Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com >
2022-10-18 13:23:57 +02:00
Compute-Runtime-Validation
7c6783c4a1
Revert "Return error when image arg does not support media block commands"
...
This reverts commit e56d18b69f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-12 03:58:33 +02:00
Joshua Santosh Ranjan
6944baaca8
Add check to verify UUID platform support
...
Related-To: LOCI-3495
Signed-off-by: Joshua Santosh Ranjan <joshua.santosh.ranjan@intel.com >
2022-10-12 01:44:57 +02:00
Maciej Plewka
e56d18b69f
Return error when image arg does not support media block commands
...
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com >
2022-10-11 15:47:27 +02:00
Szymon Morek
3f5ac0b4d0
Reuse heaps for immediate cmd lists
...
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-10-11 13:02:13 +02:00
Dunajski, Bartosz
ad2d3d0289
Remove not used method
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-10-05 17:10:51 +02:00
Szymon Morek
17655e3ed3
[L0][XE_HPC]Perform memcpy on CPU by default
...
Related-To: NEO-7237
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-10-05 14:12:39 +02:00
Compute-Runtime-Validation
cfd96980a0
Revert "[L0][XE_HPC]Perform memcpy on CPU by default"
...
This reverts commit 383f33b482 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-10-05 08:17:23 +02:00
Szymon Morek
383f33b482
[L0][XE_HPC]Perform memcpy on CPU by default
...
Related-To: NEO-7237
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-10-04 11:39:30 +02:00
Yates, Brandon
71bef6094d
Use max enabled slice in debugger thread mapping
...
Signed-off-by: Yates, Brandon <brandon.yates@intel.com >
2022-10-03 18:11:50 +02:00
Dunajski, Bartosz
48824acab2
Improve SBA programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-30 12:07:16 +02:00
Compute-Runtime-Validation
9a1102bb7a
Revert "Add debug flag to enable specific PIPE_CONTROL fields"
...
This reverts commit 2e7c90e58f .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-29 10:22:25 +02:00
Compute-Runtime-Validation
dc68cf0fe2
Revert "[L0][XE_HPC]Perform memcpy on CPU by default"
...
This reverts commit 7ded401615 .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-29 08:07:46 +02:00
Krzysztof Gibala
2e7c90e58f
Add debug flag to enable specific PIPE_CONTROL fields
...
FlushSpecificCache equivalent in value:
dcFlushEnable 0b000000000001
renderTargetCacheFlushEnable 0b000000000010
instructionCacheInvalidateEnable 0b000000000100
textureCacheInvalidationEnable 0b000000001000
pipeControlFlushEnable 0b000000010000
vfCacheInvalidationEnable 0b000000100000
constantCacheInvalidationEnable 0b000001000000
stateCacheInvalidationEnable 0b000010000000
tlbInvalidation 0b000100000000
hdcPipelineFlush 0b001000000000
unTypedDataPortCacheFlush 0b010000000000
compressionControlSurfaceCcsFlush 0b100000000000
Setting multiple cache at once for example:
constantCacheInvalidationEnable
textureCacheInvalidationEnable
vfCacheInvalidationEnable 0b000001101000
Related-To: NEO-6049
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com >
2022-09-28 11:17:03 +02:00
Jim Snow
eaa4965ae8
Allocate RTDispatchGlobals as unboxed array
...
Previously we used an array-of-pointers approach, but using an
array-of-structures is in some ways simpler.
We also split out the RTStack as a separate allocation.
Related-To: LOCI-2966
Signed-off-by: Jim Snow <jim.m.snow@intel.com >
2022-09-28 03:42:14 +02:00
Szymon Morek
7ded401615
[L0][XE_HPC]Perform memcpy on CPU by default
...
Related-To: NEO-7237
Enable copy on cpu by default.
This commit also changes barrierCounter to bool
barrierCalled
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-09-27 17:32:56 +02:00
Szymon Morek
ec04de61a7
[L0][XE_HPC]Perform memcpy on CPU for non-usm ptrs
...
Related-To: NEO-7237
If size is small enough, it is more efficient to
perform copy through locked ptr on CPU.
This change also introduces experimental flag to
enable this.
Signed-off-by: Szymon Morek <szymon.morek@intel.com >
2022-09-26 13:20:40 +02:00
Compute-Runtime-Validation
f5575a1370
Revert "Remove fallback path for PAT index programming"
...
This reverts commit faf8d51f6d .
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com >
2022-09-23 20:46:31 +02:00
Dunajski, Bartosz
6175a3e785
Debug flag to force stateless mocs encryption bit
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-23 15:19:26 +02:00
Maciej Bielski
56cb1f757b
programStateBaseAddress: improve code reuse
...
Another step towards cleaner callers of
StateBaseAddressHelper<>::programStateBaseAddress.
Export programming state base address into a separate function to
improve code reuse and reduce copy-pasted fragments, which make code
modifications or maintenance more and more difficult over time. Use
specialization for gen-specific variations.
Related-To: NEO-6774
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com >
2022-09-21 11:54:57 +02:00
Dunajski, Bartosz
faf8d51f6d
Remove fallback path for PAT index programming
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com >
2022-09-21 10:46:43 +02:00