Commit Graph

5617 Commits

Author SHA1 Message Date
Filip Hazubski
b60c02d597 fix: Add asserts to ensure NonCopyable and NonMovable n/n
Related-To: NEO-14068

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-19 11:36:24 +01:00
Maciej Plewka
6263425cc9 fix: pass args to obtainCommandStream in correct order
Related-To: NEO-13987
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-02-18 20:22:01 +01:00
Filip Hazubski
4be1153253 fix: Remove pragma once from inl files
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-18 20:19:15 +01:00
Bartosz Dunajski
c1f2ff1ad6 fix: disable batched dispatch mode in aub csr
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-02-18 13:45:15 +01:00
Filip Hazubski
c651209617 fix: Add asserts to ensure NonCopyable and NonMovable 2/n
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-18 13:08:00 +01:00
Damian Tomczak
8333ba3e6c test: fix timeout when heapless and taskCount bigger than tag
Related-to: NEO-12737

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-02-18 12:52:16 +01:00
Michal Mrozek
e9edae067a test: adapt tests
- arguments may be inline, in such case ioh is not updated
- scratch pointer may be optional

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-02-18 09:59:34 +01:00
Filip Hazubski
6b2b42972a fix: Add asserts to ensure NonCopyable and NonMovable 1/n
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-18 09:41:20 +01:00
Mateusz Hoppe
9c962cdbc8 test: fix error message in opencl ULTs
- opencl ults do not require changing directory
- fix base execution directory for all aub test modes

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-02-18 02:44:02 +01:00
Kamil Kopryk
b1ffe640bb refactor: correct typo
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-17 23:31:27 +01:00
Mateusz Jablonski
5866a2157a test: remove empty line
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-17 20:34:47 +01:00
Filip Hazubski
4c7900008f refactor: Change wording from NonCopyableOrMovable to NonCopyableAndNonMovable
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-02-17 14:19:10 +01:00
Mateusz Jablonski
28be16771d test: add test for creating separate platform per product family in OCL path
Related-To: NEO-14062
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-17 13:59:07 +01:00
Fabian Zwoliński
ad968550e8 fix: separate isUsmPoolAllocatorSupported for host and device
Related-To: NEO-12287, HSD-18041505773

Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-02-17 11:47:34 +01:00
Maciej Bielski
6924a48ca6 refactor: prepare CLOS logic for extension
Prepare cache setup and reservation logic to be extended w.r.t other
cache-levels.

Conceptually this change is like adding a switch-statement, in several
places, in which existing code makes a single (and only) case. This is
caused by splitting larger development to ease the review. Further cases
will be added in following steps. Such approach sometimes creates code
which may seem redundant but it is meant to simplify plugging following
extensions in an easy way.

Related-To: NEO-12837
Signed-off-by: Maciej Bielski <maciej.bielski@intel.com>
2025-02-17 10:43:08 +01:00
Damian Tomczak
9f3a95b7d6 test: fix when heapless is enabled incorrect initial tag value provided
Related-to: NEO-12737

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-02-17 10:12:20 +01:00
Lukasz Jobczyk
8be2199465 performance: Disable BCS for ULLS light
Related-To: NEO-13922

Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2025-02-17 10:12:05 +01:00
Alicja Lukaszewicz
52ac3d8cf0 fix: add check for SVM allocated host ptr in clCreateBuffer
Related-To: NEO-13988

Signed-off-by: Alicja Lukaszewicz <alicja.lukaszewicz@intel.com>
2025-02-14 18:07:37 +01:00
Kamil Kopryk
c2387954e9 fix: disable 3d and media sharing support on PVC
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-14 17:37:05 +01:00
Marcel Skierkowski
e518acea15 test: mock Filesystem in IOQTaskTestsMt ULTs
The MockZebin module is used, which has prepared CopyBuffer kernel,
so it does not need to be fetched from a file

Related-To: NEO-14058
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-02-14 14:59:46 +01:00
Szymon Morek
d477efeb40 fix: disable staging when cpu copy is allowed
Related-To: NEO-14027

If buffer cpu copy is allowed, it means that whole
transfer can be done on cpu memcpy.
In that case, disable staging as it's less performant.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-02-14 14:05:06 +01:00
Venevtsev, Igor
3a8f748d55 fix: return correct error code for deprecated clSetCommadQueueProperties
Resolves: NEO-14046
Signed-off-by: Venevtsev, Igor <igor.venevtsev@intel.com>
2025-02-14 13:41:40 +01:00
Kamil Kopryk
899abf3aac feature: add NonCopyableOrMovable and NonCopyable concepts
Inheriting from NonCopyableOrMovableClass or NonCopyableClass
does not prevent derived classes from accidentally defining
their own copy or move constructors, violating the intended design.

This commit introduces two concepts:
- NonCopyableOrMovable
- NonCopyable

Using static asserts with these concepts will guarantee the intended
copy and move limitations.

Related-To: NEO-14068
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-14 03:55:50 +01:00
Maciej Plewka
4ed25da5fa refactor: refactor mcs surface handling on xe2 and later
Related-To: NEO-13290
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-02-13 23:00:54 +01:00
Mateusz Jablonski
6ec92ac082 refactor: move groupDevices logic to shared code
update platforms used in unit test

Related-To: NEO-14062
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-13 21:42:43 +01:00
Kamil Kopryk
2b6442b7a3 refactor: correct matchers and typenames for non-heapless ults
This change includes:
- added corresponding matchers for non-heapless unit tests
- added matcher for binding table state
- corrected type names for the interface descriptor and compute walker


Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-13 19:47:57 +01:00
Szymon Morek
be2ac667fc performance: enable staging for reads from image
Related-To: NEO-14026

Also, provide performance hint if ptr from
user does not meet restrictions.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-02-13 18:15:59 +01:00
Damian Tomczak
488ac4bb6a test: timestampPacketSurface exists only when heapless is disabled
Related-to: NEO-12737

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-02-12 17:51:47 +01:00
Szymon Morek
8152241693 fix: don't override user data during staging read
Related-To: NEO-13574

User can read image with row pitch larger than region width.
In such cases, don't override memory which is out of region
but within row pitch.

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-02-12 16:22:48 +01:00
Pawel Cieslak
184378e4df fix: silence new issues with clang-tidy 18 on windows
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2025-02-11 13:55:29 +01:00
Fabian Zwoliński
4b0473718e fix: configure UsmMemAllocPool params based on productHelper
When is2MBLocalMemAlignmentEnabled() returns true,
increase device USM pool parameters:
- Pool size from 2MB to 16MB
- Max serviced size from 1MB to 2MB

Host USM pool parameters remain unchanged.

Related-To: NEO-12287

Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-02-11 13:51:41 +01:00
Kamil Kopryk
b8723458e4 test: update ults to respect minimal simd
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-11 07:57:16 +01:00
Chandio, Bibrak Qamar
7149743162 fix: Set vmbind user fence when makeMemoryResident
Related-To: NEO-11977, GSD-10293

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
2025-02-10 14:20:09 +01:00
Dominik Dabek
b987877712 fix: remove patchtoken fallback
Related-To: NEO-14028

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-02-10 12:29:45 +01:00
Compute-Runtime-Validation
9b968066f2 Revert "test: update ults to respect minimal simd"
This reverts commit 4cb9baa2fc.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-02-08 00:06:29 +01:00
Maciej Plewka
5ef1ff574b fix: Don't check aux capable in case of MSAA surface on xe2 and later
Related-To: NEO-13290
Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
2025-02-07 16:47:33 +01:00
Fabian Zwoliński
1eb8e0efd9 fix: configure small buffers params based on productHelper
Refactor buffer pool allocator to support configurable
SmallBuffersParams based on product helper capabilities.

This patch enables setting custom pool
parameters instead of using fixed static values.

For devices with 2MB local memory alignment enabled
(is2MBLocalMemAlignmentEnabled),
use larger pool configuration:
- Pool size: 16MB (up from 2MB)
- Threshold: 2MB (up from 1MB)
- Alignment: 64KB (unchanged)
- Starting offset: 64KB (unchanged)

This improves memory utilization for devices supporting larger memory
alignments
while maintaining original parameters for other devices.

Key changes:
- Moved params from static template to instance member
- Added SmallBuffersParams struct with default/large configs
- Added constructor and setter methods for params configuration

Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-02-07 12:01:23 +01:00
Damian Tomczak
ef961df421 test: adjust CopyBufferToImage builtin type
Related-to: NEO-12737

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-02-07 09:38:31 +01:00
Kamil Kopryk
4cb9baa2fc test: update ults to respect minimal simd
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-07 09:32:42 +01:00
Michał Pryba
9119a1e802 refactor: adjust file names after pre-gen12 removal 6/n
Related-To: NEO-12681
Signed-off-by: Michał Pryba <michal.pryba@intel.com>
2025-02-06 14:00:01 +01:00
Michał Pryba
2cdd9f46cd refactor: adjust file names after pre-gen12 removal 5/n
Related-To: NEO-12681
Signed-off-by: Michał Pryba <michal.pryba@intel.com>
2025-02-06 08:24:40 +01:00
Kamil Kopryk
cd728f78bb test: add more libraries to ocl ults pch
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-05 16:32:48 +01:00
Kamil Kopryk
b8504913e3 fix: allow for image array type if array size is 1 for Xe2 and later
This commit enabled the use of the array image type with array size 1
from Xe2.
Additinally, it removes two incorrect unit tests, as array size of 0 is not
correct with the OpenCL specification.

Related-To: NEO-13976
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-02-05 13:50:05 +01:00
Szymon Morek
b11322332c performance: enable staging write for cl buffers
Related-To: NEO-13529

Also, add size threshold on iGPU on Linux,
and disable staging if imported host ptr could
be reused

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-02-05 09:41:17 +01:00
Mateusz Jablonski
d7b0495c90 test: remove usage of IGFX_BROADWELL in tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-04 19:07:34 +01:00
Mateusz Jablonski
756c540275 refactor: remove pre-gen9 code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-04 12:29:05 +01:00
Naklicki, Mateusz
9aad7750be fix: adjust IGC hwinfo for related tests
Also update builtin kernels


Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-02-04 10:05:08 +01:00
Mateusz Jablonski
0a068ce96a fix: add pipe control before scratch register write
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-03 18:13:18 +01:00
Michał Pryba
75bc74089b refactor: adjust file names after pre-gen12 removal 2/3
Related-To: NEO-12681
Signed-off-by: Michał Pryba <michal.pryba@intel.com>
2025-02-03 15:31:51 +01:00
Naklicki, Mateusz
860b940edf fix(ocloc): add 'asm' and 'disasm' support for PTL
Related-To: NEO-12803
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-02-03 15:04:46 +01:00