Commit Graph

38 Commits

Author SHA1 Message Date
Jaroslaw Warchulski
195bf66a49 refactor: fix typos
Signed-off-by: Jaroslaw Warchulski <jaroslaw.warchulski@intel.com>
2025-09-22 12:46:41 +02:00
Aleksandra Nizio
5eddca89c4 fix: Add support for blitterMask argument in AUB tests
Related-To: NEO-14449
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
2025-08-26 17:13:41 +02:00
Damian Tomczak
3ab74c7fba feature: add heapless ult builtins compilation
Related-to: NEO-14489

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-08-14 11:21:57 +02:00
Mateusz Jablonski
98bf872fdd fix: return error when cannot obtain debug surface size
remove default max debug surface size
check state save area size only for debug scenarios
reduce state save area size in unit tests - rely on values from mock

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-23 14:48:08 +02:00
Mateusz Jablonski
8353f68307 feature(internal): add debug key to override max debug surface size
reduce the value in unit tests

Related-To: NEO-14097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-05-21 14:57:41 +02:00
Dominik Dabek
9eb8e1812c feature: flag to log usm reuse operations
If flag "LogUsmReuse" is set, usm reuse will log operations to csv file.
Each line will contain: timestamp, host/device, operation type,
allocation size, true/false whether operation succeeded.

This data can then be used to produce graphs and help in analyzing
usm reuse in a particular workload.

Related-To: NEO-6893

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2025-03-06 11:06:27 +01:00
Mateusz Hoppe
ff962c7531 build: add option to disable alarm in ults from cmake
- modify settings files to disable alarm by default

Related-To: NEO-14153

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-02-20 14:08:42 +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
Mateusz Hoppe
76da9e0faf test: fix reading config in aub tests
- debug key prefixes must be initialized to read config correctly

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-02-10 18:07:34 +01:00
Mateusz Jablonski
41ce79b7cc fix: reduce preemption surface size in aub tests
Related-To: NEO-12648

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-23 16:32:15 +01:00
Mateusz Hoppe
850e6c02eb test: allocate sip allocation for all contexts in initSipKernel
- some tests initialize sip kernel but do not free it
- this is causing memory leaks
- as a solution mock sip listener is added that will release allocated
sip kernel

Related-To: NEO-13789

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2025-01-20 15:46:05 +01:00
Mateusz Jablonski
c867a5ed5d refactor: remove redundant flag levelZeroSupported
all platforms are supported by L0

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-01-03 11:28:11 +01:00
Chodor, Jaroslaw
54a2006759 test: refactor - remove NDEBUG from regex WA
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-12-24 11:12:31 +01:00
Chodor, Jaroslaw
dd3d5c6460 feature: Add logic for reading loaded library's version
getLoadedLibVersion is intended for reading version of a library that was
already loaded into the process prior to this call (i.e. new instance of
the library willnot be loaded).
Note: Currently, only windows version of this functionality is implemented.
Related-To: GSD-10248

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-12-20 17:29:19 +01:00
Compute-Runtime-Validation
5899e926fa Revert "fix: reduce preemption surface size in aub tests"
This reverts commit 8daae7e8ae.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-11 18:17:29 +02:00
Mateusz Jablonski
8daae7e8ae fix: reduce preemption surface size in aub tests
Related-To: NEO-12648

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-10 15:36:49 +02:00
Compute-Runtime-Validation
43cf7abf65 Revert "fix: reduce preemption surface size in aub tests"
This reverts commit e56b2b257f.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-10-04 02:45:42 +02:00
Mateusz Jablonski
0e2b400554 test: fix clang-tidy issues
- don't use out of scope enum values
- ensure std::string is not created from nullptr

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-03 18:52:15 +02:00
Mateusz Jablonski
e56b2b257f fix: reduce preemption surface size in aub tests
Related-To: NEO-12648

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-03 08:29:45 +02:00
Mateusz Jablonski
c7ae732a2a test: enable global mock sip in tests
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-30 18:19:57 +02:00
Mateusz Jablonski
cfd5f0c9b3 fix: use .spv for intermediate representation
Related-To: NEO-7785
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-11 12:06:57 +02:00
Compute-Runtime-Validation
f4106ca44c Revert "fix: use .spv for intermediate representation"
This reverts commit 6c9bca8cdc.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-06-11 05:57:05 +02:00
Mateusz Jablonski
6c9bca8cdc fix: use .spv for intermediate representation
Related-To: NEO-7785
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-10 15:38:50 +02:00
Lukasz Jobczyk
4ebb668d76 performance: Stop direct submission before removing host ptrs
Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
2024-06-03 14:40:55 +02:00
Chodor, Jaroslaw
e053f3a839 feature: Add support for legacy acronyms in ocloc's ids query
Expands support for deprecated acronyms to ids query.
Additionally, this commit changes default devices for legacy
acronyms.

Related-To: NEO-10190

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-05-28 10:18:29 +02:00
Mateusz Jablonski
4067b899cc test: don't create aub files when --null_aubstream flag is passed
Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-17 14:47:06 +02:00
Mateusz Jablonski
cb2b572e94 feature: add support for null aub mode
In this mode AUB csr will be created, however, no aub file will be created

Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-09 16:59:42 +02:00
Mateusz Hoppe
5e15543b14 test: improve unit tests - use virtual file system
- use virtualFileSystem in ULTs, writeDataToFile() does not create file
but instead saves filename. Call to fileExists() checks if file was
previously written

Related-To: NEO-7006

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-03-08 13:34:19 +01:00
Mateusz Jablonski
8708963c4f test: don't call real cpuid function in ULT
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-02-05 14:56:26 +01:00
Mateusz Jablonski
739d181026 refactor: correct naming of enum class constants 6/n
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-13 14:48:52 +01:00
Mateusz Jablonski
939a37c445 test: start alarm handler just before RUN_ALL_TESTS
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-30 23:40:20 +01:00
Mateusz Jablonski
c9664e6bad refactor: rename global debug manager to debugManager
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-30 13:00:59 +01:00
Mateusz Jablonski
8e3caef814 test: add support for alarm in Windows ULT
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-27 14:24:45 +01:00
Mateusz Jablonski
c7daa7a960 test: add per test case timeout
fail unit test when takes more than 5s
fail aub test when takes more than 20s

add mechanism to control timeout per aub/mt/unit test
disable tests with fstream

Related-To: NEO-7006

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-11-27 12:58:11 +01:00
Mateusz Jablonski
f9f5377218 test: remove gmock from metrics ult
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-27 09:38:23 +02:00
Mateusz Jablonski
4dfa12c8eb fix: add mechanism to detect gpu timestamp overflows
unify naming CpuGpu to GpuCpu

Related-To: NEO-8394
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-10-19 16:31:06 +02:00
Dunajski, Bartosz
71e36f85b4 refactor: capability to run multiple targets in unit tests
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2023-10-13 14:19:13 +02:00
Mateusz Jablonski
c22482f6f7 test: unify main function for test targets
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-07-28 20:00:45 +02:00