Commit Graph

437 Commits

Author SHA1 Message Date
Mateusz Jablonski
3b0b9f07a8 build: add cmake flag to skip mt unit tests
exclude mt test targets from ALL build

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-06-11 11:12:52 +02:00
Chodor, Jaroslaw
46c60290b9 refactor: introducing igfxfmid_wrapper
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2025-05-30 19:26:04 +02:00
Krzysztof Sprzaczkowski
de72e91269 feature: Native GPU fence synchronization object implementation
Related-To: NEO-10811
Signed-off-by: Krzysztof Sprzaczkowski <krzysztof.sprzaczkowski@intel.com>
2025-05-07 11:00:34 +02:00
Kamil Kopryk
3292256f74 build: disable stringop overflow also on gcc12
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-04-17 12:13:49 +02:00
Damian Tomczak
e6ff523a8e fix: heapless has the highest priority as builtin
Related-to: NEO-13973

Signed-off-by: Damian Tomczak <damian.tomczak@intel.com>
2025-03-20 08:10:44 +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
Vysochyn, Illia
f96fc552b2 feature: Add cmake flag NEO_BUILD_UNVERSIONED_OCLOC
Introduces the NEO_BUILD_UNVERSIONED_OCLOC flag (defaults to FALSE)
that builds ocloc without a version suffix if set to TRUE.
The default behavior is to build a versioned one.

Applies only to UNIX-family systems.

Related-To: NEO-13060

Signed-off-by: Vysochyn, Illia <illia.vysochyn@intel.com>
2025-02-05 18:56:45 +01:00
Mateusz Jablonski
0855e8a46d build: disable WDDM_LINUX for arm build config
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2025-02-03 17:04:03 +01:00
Kamil Kopryk
0966f12f9c build: disable link time opt on GCC14
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-23 00:46:25 +01:00
Kamil Kopryk
1840bf793f build: disable stringop-overflow warning for GCC13
Link to the GCC bug
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111073

Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-22 23:22:35 +01:00
Kamil Kopryk
b7d7424aab build: enable c++20
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-20 12:35:12 +01:00
Compute-Runtime-Validation
c8cbed8e9b Revert "feature: enable C++20"
This reverts commit 137e004767.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2025-01-17 02:48:11 +01:00
Kamil Kopryk
137e004767 feature: enable C++20
Related-To: NEO-10767
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2025-01-16 20:10:15 +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
Mateusz Jablonski
8f7bacdd95 feature: add eudebug interface class
eudebug interface is now hidden under EuDebugInterface class
shared code uses generic object and param values

layout of structs is guarded by static asserts

eudebug support is guarded by cmake flags:
- NEO_ENABLE_XE_EU_DEBUG_SUPPORT - enables eudebug in general
- NEO_USE_XE_EU_DEBUG_EXP_UPSTREAM - registers exp upstream uAPI support
- NEO_ENABLE_XE_PRELIM_DETECTION - registers prelim uAPI support

This way we can support two different xe-eudebug interfaces within
single binary.

In unit tests there is mock eudebug interface enabled (even if no
eudebug support is enabled by cmake flag).

Related-To: NEO-13472
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-12-13 17:07:12 +01:00
Mateusz Jablonski
f31b7646d0 build: cleanup compiler warning flags
remove flags that are enabled by -Wextra
stop ignoring unused usings/typedefs/variables
add reasons of excluding checks

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-11-29 17:58:50 +01:00
Chodor, Jaroslaw
22fe217567 refactor: cleanup around IGC library name mocking logic
This patchset improves mocking of IGC library name and adds
safety mechanism to ensure that global IGC library name gets
restored before test finishes.

Related-To: NEO-12747

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-11-15 18:32:59 +01:00
Filip Hazubski
f8f1557ec7 build: Update logic around serialized builtins compilation
Add log to explicitly state when serialized builtins compilation is enabled.
Correct logic to properly serialize kernel builds for single product.
Add chained per product dependencies.
Remove unused function.

Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2024-11-04 10:11:48 +01:00
Dominik Dabek
22a3ec948b fix: ulls controller sleep, windows
Request higher resolution for windows periodic timers for ulls
controller sleep.

Allows for controller thread to sleep with granularity of 1ms.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-10-24 18:07:04 +02:00
Mateusz Jablonski
8fbe873e1b build: correct setting for i915/xe prelim setting in package scripts
rename i915 flag to uppercase, for consistency
disable i915 / xe prelim by default in package scripts

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-10-09 15:55:59 +02:00
Mateusz Jablonski
d5812f49d7 refactor: remove not needed vme builtin related code
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-16 15:27:49 +02:00
Artur Harasimiuk
9eb71a8f29 build: set NEO_LEGACY_PLATFORMS_SUPPORT to FALSE by default
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-09-16 09:36:07 +02:00
Brandon Yates
ce122fb1fa build: Add option to use xe prelim headers for debugger
Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-09-11 11:20:26 +02:00
Mateusz Jablonski
3a51d68c5d build: correct message and include paths for i915/xe prelim headers
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-10 14:10:37 +02:00
Mateusz Jablonski
53e02bc615 build: add option to build with xe drm prelim headers
Xe drm prelim headers are taken from xe branch at
https://github.com/intel-gpu/drm-uapi-helper

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-09-06 16:17:55 +02:00
Compute-Runtime-Validation
5dbbaa39b9 Revert "fix: ulls controller sleep, windows"
This reverts commit 6455d4648c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-08-24 06:37:58 +02:00
Dominik Dabek
6455d4648c fix: ulls controller sleep, windows
Request higher resolution for windows periodic timers for ulls
controller sleep.

Allows for controller thread to sleep with granularity of 1ms.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-08-23 12:05:26 +02:00
Artur Harasimiuk
5bb1bc0396 build: add ocloc CURRENT and FORMER definitions
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-08-12 11:45:27 +02:00
Artur Harasimiuk
250601fd7b build: cleanup not needed variables from cmake
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-08-01 12:52:20 +02:00
Artur Harasimiuk
b6038de550 build: adjust name for legacy1 packages
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-07-31 16:20:08 +02:00
Mateusz Jablonski
b401d83110 test: add mechanism for detecting invalid test excludes
invalid test excludes are detected by default
cmake flag NEO_IGNORE_INVALID_TEST_EXCLUDES disables this validation

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-10 13:38:56 +02:00
Mateusz Jablonski
778645c11e feature: add initial support for Xe2 platforms
Related-To: NEO-8188, NEO-10774
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-07-09 10:30:27 +02:00
Brandon Yates
a432bdecc1 refactor: Reorganize xe debugger includes
Related-to: NEO-11365

Signed-off-by: Brandon Yates <brandon.yates@intel.com>
2024-07-02 12:28:11 +02:00
Pawel Cieslak
75cb7f85d2 build: set CMAKE_GENERATOR_TOOLSET only for VS generator
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2024-07-01 12:51:45 +02:00
Artur Harasimiuk
0f80818f59 refactor: cleanup not needed include in CMakeLists.txt
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-27 11:31:07 +02:00
Artur Harasimiuk
aa467ec10f ci: infra revision update
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-25 15:47:31 +02:00
Artur Harasimiuk
bbe11205e3 build: add cmake flags to control platform support
Related-To: NEO-6683
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-25 09:08:03 +02:00
Dominik Dabek
dc26b25169 Revert "fix: ulls controller sleep, windows"
This reverts commit 672cc0ebc7.

Resolves: HSD-18038912878, NEO-11770

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-06-21 14:10:43 +02:00
Dominik Dabek
672cc0ebc7 fix: ulls controller sleep, windows
Request higher resolution for windows periodic timers for ulls
controller sleep.

Allows for controller thread to sleep with granularity of 1ms.

Related-To: NEO-10800

Signed-off-by: Dominik Dabek <dominik.dabek@intel.com>
2024-06-18 06:28:15 +02:00
Artur Harasimiuk
ad374fbd8f build: allow use cl_cache in ocloc
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2024-06-13 16:06:15 +02:00
Mateusz Jablonski
af816b5729 build: explicitly enable symbols export from executable targets
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-07 17:51:45 +02:00
Mateusz Jablonski
726b79b6a7 test: update gtest version
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-06 15:26:54 +02:00
Mateusz Jablonski
f3fa58de15 refactor: define release helper sources only once
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-03 13:59:11 +02:00
Chodor, Jaroslaw
ad155da67a feature: Enabling platforms in ocloc by default
This feature enables supported platforms in ocloc even
if not enabled for driver.
Allows sharing single ocloc instance for multiple driver-platform
configurations

Related-To: NEO-10531

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
2024-05-28 12:09:47 +02:00
Mateusz Jablonski
08b38581de build: unify minimum required cmake version
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-05-21 13:10:17 +02:00
Weronika Kapusta
d6c16c1640 fix: remove compiler cache legacy implementation
Related-To: NEO-10679

Signed-off-by: Weronika Kapusta <weronika.kapusta@intel.com>
2024-05-06 18:28:35 +02:00
Mateusz Jablonski
8676b97412 build: add cmake flag to select platforms for aub generation
Related-To: NEO-11097
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-17 16:43:21 +02:00
Mateusz Jablonski
f60a8392bc build: enhance finding drm paths
Related-To: NEO-11160

Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-04-17 11:17:30 +02:00
Compute-Runtime-Validation
9568ee47e7 Revert "fix: remove compiler cache legacy implementation"
This reverts commit 864f42116c.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
2024-04-09 02:06:51 +02:00
Weronika Kapusta
864f42116c fix: remove compiler cache legacy implementation
Related-To: NEO-10679
Signed-off-by: Kapusta, Weronika <weronika.kapusta@intel.com>
2024-04-08 16:40:57 +02:00