Commit Graph

532 Commits

Author SHA1 Message Date
Compute-Runtime-Validation
a0d1a88f96 Revert "performance: move host/device memUsmAllocPool init to platform/contex...
This reverts commit f0f869ed42.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-20 07:34:13 +02:00
Aleksander Czerwionka
f0f869ed42 performance: move host/device memUsmAllocPool init to platform/context init
Related-To: NEO-16059

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-09-18 16:41:47 +02:00
Compute-Runtime-Validation
10c37fbb78 Revert "fix: correctly set unpacked device binary prior decoding"
This reverts commit 60d5484e6b.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-17 05:06:35 +02:00
Mateusz Hoppe
60d5484e6b fix: correctly set unpacked device binary prior decoding
- add parsing Intel GT notes from elf when unpacking binary
- set indirectAccessBufferMajorVersion with correct value

Related-To: NEO-15211, IGC-12385

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-16 07:33:40 +02:00
Compute-Runtime-Validation
69f46c79c5 Revert "fix: correctly set unpacked device binary prior decoding"
This reverts commit c4c3ec3291.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-13 02:53:14 +02:00
Mateusz Hoppe
8074560e8a fix: return 0 as PARTITION MAX SUBDEVICES in expose single device mode
Related-To: NEO-16116

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-12 16:40:27 +02:00
Mateusz Hoppe
c4c3ec3291 fix: correctly set unpacked device binary prior decoding
- add parsing Intel GT notes from elf when unpacking binary
- set indirectAccessBufferMajorVersion with correct value

Related-To: NEO-15211, IGC-12385
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-12 11:44:49 +02:00
Compute-Runtime-Validation
c65de3df7f Revert "fix: correctly set unpacked device binary prior decoding"
This reverts commit f7188038b4.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-09-10 03:52:20 +02:00
Mateusz Hoppe
f7188038b4 fix: correctly set unpacked device binary prior decoding
- add parsing Intel GT notes from elf when unpacking binary
- set indirectAccessBufferMajorVersion with correct value

Related-To: NEO-15211, IGC-12385

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-09-09 18:18:01 +02:00
Kamil Kopryk
1f862b3ee7 refactor: flush L3 after post sync
Related-To: NEO-13163
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-09-09 12:56:50 +02:00
Grochowski, Stanislaw
36614e614f fix: partially remove cl_khr_spir reporting
Related-To: NEO-15215

Signed-off-by: Grochowski, Stanislaw <stanislaw.grochowski@intel.com>
2025-09-02 14:40:31 +02:00
Aleksander Czerwionka
3ed0fd15c5 test: add missing override keyword and correct naming
Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-09-02 14:03:27 +02:00
Aleksander Czerwionka
e52235b8ff feature: move host mem alloc pool from context to platform
Related-To: NEO-13247

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-09-01 15:33:35 +02:00
Mateusz Jablonski
4bf4b93a21 test: add missing checks for device support in test for multiple platforms
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-28 17:33:23 +02:00
Ben Ashbaugh
563615202e feature: implementation of cl_khr_spirv_queries
Related-To: NEO-15093

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2025-08-26 10:45:23 +02:00
Kindracki, Jakub Tomasz
056eeec4a7 test: Fix minor compiler errors in ULTs when optimizations enabled
Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
2025-08-21 16:46:41 +02:00
Mateusz Jablonski
79905e8ec1 test: remove not needed macro
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-08-13 16:43:27 +02:00
Jaroslaw Warchulski
580e5cb140 fix: propagate error from cpuDataTransferHandler
Related-To: NEO-14638
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-08-11 13:42:08 +02:00
Aleksander Czerwionka
6bc9ea3ddb feature: move svmAllocsManager and staggingBufferManager to platform
Related-To: NEO-13247

Signed-off-by: Aleksander Czerwionka <aleksander.czerwionka@intel.com>
2025-08-08 14:01:44 +02:00
Ben Ashbaugh
3f1f3697ba feature: update cl_intel_unified_shared_memory to revision 1.2
Related-To: NEO-15644

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2025-08-06 21:33:30 +02:00
Compute-Runtime-Validation
9318ed2668 Revert "feature: implementation of cl_khr_spirv_queries"
This reverts commit d2fda52121.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-07-30 03:15:40 +02:00
Ben Ashbaugh
d2fda52121 feature: implementation of cl_khr_spirv_queries
Related-To: NEO-15093

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2025-07-29 15:39:37 +02:00
Bartosz Dunajski
74552606bf fix: clear temp allocation storage during clMemBlockingFreeINTEL
Related-To: GSD-11404

Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2025-07-29 11:19:48 +02:00
Chodor, Jaroslaw
fcc2038def refactor: modernizing NEO::Range->std::span
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-07-17 01:27:11 +02:00
Ben Ashbaugh
72b727e70e fix: SVM corner cases where size equals zero
Allow clEnqueueSVMMemFill with a size equal to zero.  Additionally,
allow a NULL svm_ptr when the size is equal to zero.
Set the event command type properly when enqueueing a marker for
clEnqueueSVMMemcpy with a size equal to zero.

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2025-07-14 16:47:13 +02:00
Mateusz Jablonski
8b6aaceab4 refactor: remove not needed code related to cl accelerator
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-07-10 18:08:32 +02:00
Krzysztof Gibala
5840dc09cd fix: getNumKernels returns kernel count for built device
The `getNumKernels` function now returns the kernel count based on the
actual device (`rootDeviceIndex`) the program was built for, ensuring
accurate kernel enumeration in multi-device scenarios. The
`rootDeviceIndex` is determined using `getDevicesInProgram`.

Related-To: NEO-15441

Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
2025-07-10 11:42:47 +02:00
Mateusz Hoppe
703497b067 fix: read ONEAPI_PVC_SEND_WAR_WA env
- disable optimization with compiler internal option when env is set to
zero

Related-To: NEO-15378, GSD-10884

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-07-09 16:22:18 +02:00
Oskar Hubert Weber
1c722ddb7c test: mock filesystem in ULTs 2/n
Remove USE_REAL_FILE_SYSTEM() macro uses from API, program, kernel and
gtpin tests.

Related-To: NEO-15069

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2025-07-03 09:44:06 +02:00
Marcel Skierkowski
f0d5cf7530 test: StreamCaptureStdErr on pipes
Store data in a pipe instead of a temporary file like gtest
resulting in faster test execution

Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-07-01 11:52:43 +02:00
Ben Ashbaugh
25d0daf754 feature: support SPIR-V 1.4 and 1.5
Related-To: NEO-14312

Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
2025-06-30 17:05:12 +02:00
Naklicki, Mateusz
f710cbc3f6 test: cleanup header includes 2/n
Related-To: NEO-15383
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
2025-06-30 10:47:39 +02:00
John Falkowski
764fd33a46 refactor: clSetKernelArgSVMPtr ptr error if debug var set
Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-06-18 20:55:48 +02:00
Damian Tomczak
a7c9bfafb3 test: ImageHelper rename to ImageHelperUlt
Related-to: NEO-13669

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-06-04 12:02:29 +02:00
Mateusz Jablonski
88820a414f fix: include all devices when creating OCL context from type
Related-To: NEO-15086, GSD-11201
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-29 17:04:53 +02:00
Kamil Kopryk
b7681a2e7b refactor: redirect flush L3 host usm to external by default
Related-To: NEO-13163

Rename ForceL3FlushAfterPostSync to EnableL3FlushAfterPostSync
Rename DisableFlushL3ForHostUsm to RedirectFlushL3HostUsmToExternal

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-05-28 08:50:01 +02:00
John Falkowski
468c62086e refactor: Gate shared system mem caps with KMD cap
If KMD not capable then set sharedSystemAllocCapabilities=0

Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-05-19 11:08:19 +02:00
Aleksandra Nizio
fa1e3fd6a2 fix: Remove old aub_mem_dump logic and related tests
Related-To: NEO-14718

Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-05-13 08:38:59 +02:00
Compute-Runtime-Validation
7167f45199 Revert "refactor: Gate shared system mem caps with KMD cap"
This reverts commit 8e59ac7576.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-08 11:26:52 +02:00
Michal Mrozek
afdc04975f refactor: remove ftrSvm variable
- it is true on all platforms.

Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
2025-05-07 16:16:42 +02:00
John Falkowski
8e59ac7576 refactor: Gate shared system mem caps with KMD cap
Enabled only by setting EnableSharedSystemUsmSupport=1 flag

Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-05-07 06:38:01 +02:00
Compute-Runtime-Validation
d477935ab9 Revert "refactor: Gate shared system mem caps with KMD cap"
This reverts commit f38fae3b18.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-06 12:43:16 +02:00
John Falkowski
f38fae3b18 refactor: Gate shared system mem caps with KMD cap
Related-To: NEO-12988

Signed-off-by: John Falkowski <john.falkowski@intel.com>
2025-05-06 07:28:59 +02:00
Compute-Runtime-Validation
3fa9229483 Revert "performance: copy misaligned leftover in staging"
This reverts commit 13610d3473.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-05-06 02:12:48 +02:00
Szymon Morek
13610d3473 performance: copy misaligned leftover in staging
Related-To: NEO-14646

Signed-off-by: Szymon Morek <szymon.morek@intel.com>
2025-05-05 16:56:27 +02:00
Oskar Hubert Weber
7639429a22 test: mock filesystem in ULTs 1/n
- Removed some of the USE_REAL_FILE_SYSTEM macro uses remaining after
previous changes mocking filesystem
- Introduced MockZebinWrapper to reduce redundant code
- copybuffer.cl, CopyBuffer_simd16.cl, etc. files will be removed in next PR

Signed-off-by: Oskar Hubert Weber <oskar.hubert.weber@intel.com>
2025-05-05 12:18:57 +02:00
Mateusz Hoppe
41efee1e7c feature: add mode to expose single root device
- simplify API to expose and use only single root device. Disallow
returning subdevices. This is experimental mode.

Related-To: NEO-14559

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-04-25 13:20:56 +02:00
Michał Pryba
edfc512d3b test: adjust test machers after pre-gen12 removal
Related-To: NEO-12681
Signed-off-by: Michał Pryba <michal.pryba@intel.com>
2025-04-23 14:30:21 +02:00
Kamil Kopryk
dd3d294f87 performance: cache MOCS values
This change caches the most used MOCS values:

* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER_CONST);
* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER);
* getMOCS(GMM_RESOURCE_USAGE_OCL_BUFFER_CACHELINE_MISALIGNED);
inside gmmHelper class during initialization to avoid repeated
calls of virtual functions, branches and/or gmm lib access.

and adds more readably corresponding getters:
* getL1EnabledMOCS
* getL3EnabledMOCS
* getUncachedMOCS

If force all resources uncached is called,
these 3 cached mocs values are reinitialized

It also changes the order of gmmHelper members, to avoid
not needed padding after addressWidth
and simplifies logic in getMocsIndex function
for xehp and later products.

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-04-14 14:12:48 +02:00
Marcel Skierkowski
5d01677454 refactor: Mock file system in ULTs
Functions: fileExists and loadDataToFile
use IO functions from namespace IoFunctions

Now tests that use these functions
are mocked by default,
but some still require access to real files
and have been restored the ability to read files.
They will be mocked in next PRs.

Related-To: NEO-7006
Signed-off-by: Marcel Skierkowski <marcel.skierkowski@intel.com>
2025-04-09 19:51:46 +02:00