Commit Graph

4751 Commits

Author SHA1 Message Date
Alicja Lukaszewicz
f45a229802 fix: add dependency on previous binary outputs
Related-To: NEO-11916

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2024-08-20 12:45:39 +02:00
Mateusz Jablonski
556496e162 test(ocloc): Add tests for propagating return code in case of fallback
Related-To: NEO-12273
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-20 10:52:53 +02:00
Mateusz Jablonski
579af57161 refactor: don't call OsLibrary::load directly, use function pointer
this allows mocking this call in ULT

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-20 08:59:26 +02:00
Kamil Kopryk
a9e23130d1 refactor: correct typo
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-16 15:44:54 +02:00
Kamil Kopryk
a753d2a9cc test: adjust fillBuffer ults if heapless enabled
Related-To: NEO-10641

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-16 11:33:46 +02:00
Compute-Runtime-Validation
9b652f4a34 Revert "feature: Improving information transfer about the copy engine"
This reverts commit 17ffdff4f1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-15 22:06:31 +02:00
Kamil Kopryk
c2be925419 test: adjust copyBuffer ults if heapless enabled
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 18:46:59 +02:00
Kamil Kopryk
96642b69cc test: use walker variant in ults 11/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 17:34:00 +02:00
Kamil Kopryk
dc75b01c8d test: use walker variant in ults 10/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 17:25:16 +02:00
Kamil Kopryk
47f89af9fe test: fix WhenEnqueingKernelThenIndirectDataIsAdded test
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 17:19:17 +02:00
Mateusz Jablonski
c27febb52e test(ocloc): add tests for incorrect former ocloc name
Related-To: NEO-12273
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-14 16:52:16 +02:00
Kamil Kopryk
11d3257a08 test: skip if heapless is enabled in inappropriate ults 9/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 11:38:09 +02:00
Kamil Kopryk
f3498d8a1a test: skip if heapless is enabled in inappropriate ults 7/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 11:33:59 +02:00
Andrzej Koska
17ffdff4f1 feature: Improving information transfer about the copy engine
Related-To: NEO-11934

Signed-off-by: Andrzej Koska <andrzej.koska@intel.com>
2024-08-14 11:28:29 +02:00
Mateusz Jablonski
922edfd68d fix(ocloc): correct ocloc name in supported devices query
previous approach was to version ocloc library but it was deprecated
right now there will be 2 known libraries:
- libocloc.so - for mainstream
- libocloc-legacy1.so for legacy platforms

Related-To: NEO-12273, NEO-9630
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-14 11:05:28 +02:00
Kamil Kopryk
b063c3c62b test: add getInlineDataSize helper function
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 10:57:18 +02:00
Kamil Kopryk
fbf84c4077 test: add getWalkerPartitionEstimateSpaceRequiredInCommandBuffer helper
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 10:45:29 +02:00
Kamil Kopryk
d191f8f6a2 test: add getWalkerSize helper function
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-14 10:00:57 +02:00
Mateusz Jablonski
0eec0cdf57 refactor: define ocloc current and former names in shared ocloc file
ensure both names are different

Related-To: NEO-12273
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-08-13 14:40:55 +02:00
Ben Ashbaugh
32f80e1131 feature: add support for the cl_khr_extended_bit_ops extension
Related-To: NEO-10337

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2024-08-12 17:44:31 +02:00
Kamil Kopryk
20389888bb test: skip if heapless is enabled in inappropriate ults 8/n
Related-To: NEO-10641

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-12 16:50:00 +02:00
Kamil Kopryk
6d65d24641 test: skip if heapless is enabled in inappropriate ults 6/n
The tested property is set in handleFrontEndStateTransition which
is not relevant in heapless

Related-To: NEO-10641

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-12 14:43:25 +02:00
Maciej Plewka
27488a8315 fix: Add option to use divergent paths for barriers
Related-To: NEO-12159, IGC-9846, HSD-16024235164, HSD-15014782386

Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2024-08-12 12:15:54 +02:00
Maciej Bielski
a4060013de refactor: move CLOS-related steps from core- to product-helper
Future HW will not support cache reservation uniquely for the whole
platform. Implementation of some functions may vary between products.

Related-To: NEO-10158
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-08-12 09:27:04 +02:00
Bartosz Dunajski
d76ac1d1de fix: scratch controller residency
Related-To: HSD-18039519400

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-09 14:47:56 +02:00
Filip Hazubski
22a382b7a2 test: Minor test fixes related to alignment
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-08-08 08:26:12 +02:00
Dominik Dabek
ad229377b9 fix: disable indirect detection if any stack calls
Don't know if kernels will be initialized in the order needed to check
for indirect accesses in stack calls.

Remove now unused functionPointerWithIndirectAccessExists and reading
this value from zebin.

Related-To: NEO-12235

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-07 14:48:58 +02:00
Szymon Morek
d4c1631ac7 performance: don't wait for paging fence on user thread
Related-To: NEO-12197

Currently for new resources user thread must wait before submitting
actual workload. With this commit, instead of waiting on user thread,
request is sent to background ULLS controller thread and additional
semaphore is programmed. ULLS controller will perform actual wait
and signal semaphore when paging fence reaches required value.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2024-08-07 08:30:51 +02:00
Bartosz Dunajski
24cfd203ab fix: dont download tbx allocations on heapless first device submission
Related-To: HSD-18039476929

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-06 14:03:42 +02:00
Kamil Kopryk
52126153fd test: disable heapless in inappropriate ults 5/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-02 15:58:09 +02:00
Bartosz Dunajski
ec34656e0e fix: debug flag to defer first device submission
Related-To: HSD-18039343751

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-02 09:31:25 +02:00
Kamil Kopryk
ee2a688323 test: add flushTaskStateless mocks
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-01 14:37:34 +02:00
Kamil Kopryk
2918d1f0c8 test: use walkerVariant in ults 9/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-08-01 10:45:18 +02:00
Bartosz Dunajski
fa4812f963 fix: add alignment flag support in svm path
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2024-08-01 10:40:47 +02:00
Kamil Kopryk
24e02ca239 test: use walkerVariant in ults 8/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 20:50:03 +02:00
Kamil Kopryk
4557d4f3a0 test: use findWalkerTypeCmd method 2/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 20:14:53 +02:00
Kamil Kopryk
8256fa613b test: disable heapless or heapless state init in inappropriate ults 5/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 20:08:08 +02:00
Michal Mrozek
47009cec90 refactor: remove not needed code
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-07-31 17:07:56 +02:00
Kamil Kopryk
1971a87da2 test: disable heapless or heapless state init in inappropriate ults 2/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-31 12:45:39 +02:00
Maciej Bielski
790bb84841 refactor: decouple ClosCacheReservation from Drm
The dependency towards `Drm` is unnecessary and only makes testing more
difficult. Instead, dependency towards `IoctlHelper` alone only is
sufficient.

Related-To: NEO-10158
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2024-07-31 10:38:35 +02:00
Fabian Zwoliński
b1a50104a8 fix: include dynamic SLM in clGetKernelWorkGroupInfo and zeKernelGetProperties
Current implementation only takes static slmInlineSize into account.
With this change we also include dynamic SLM passed as a kernel arguments.

Related-To: NEO-5761
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-07-30 17:59:45 +02:00
Kamil Kopryk
ec8037c1ea test: correct used builtIns in ults
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-30 17:11:00 +02:00
Michal Mrozek
e668b4965c performance: demote unrecoverable to debug_break
Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2024-07-30 16:51:00 +02:00
Kamil Kopryk
2735b06206 test: add getCommandWalkerCount method
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-30 16:21:12 +02:00
Kamil Kopryk
d52330b5aa test: use walkerVariant in ults 7/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-29 18:15:29 +02:00
Wenbin Lu
e2f1735cc5 test: use realistic values in topology query tests
Related-To: NEO-9489

Signed-off-by: Wenbin Lu <wenbin.lu@intel.com>
2024-07-29 16:34:22 +02:00
Kamil Kopryk
6796f41c77 test: adjust fillBuffer builtIn type for heapless
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-29 16:03:11 +02:00
Kamil Kopryk
2d1d74cf38 test: skip tests if heapless is enabled
CopyBufferToBuffer builtin is not supported in heapless mode

Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-29 12:35:55 +02:00
Kamil Kopryk
d5ee3bd871 test: use walkerVariant in ults 6/n
Related-To: NEO-10641
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2024-07-29 12:24:16 +02:00
Compute-Runtime-Validation
b1bc4f4cad Revert "fix: Add missing fp64 extensions in caps initialization"
This reverts commit 9a486dd5a1.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-07-26 14:47:02 +02:00