Disable compiler optimizations for linux dll unit tests, because they
made the tests use original instead of mock syscalls.
Ignore false-positive gcc warnings:
- Ignore restrict for gcc12 and maybe-uninitialized
for gcc >= 13 warnings in Release builds in the whole project
- Ignore array-bounds warnings in specific cases
Related-To: NEO-8116
Signed-off-by: Kindracki, Jakub Tomasz <jakub.tomasz.kindracki@intel.com>
- merge all the callbacks to single template class
- store callback functions in global arrays
- partially reuse callbacks on Linux
Related-To: NEO-11080
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>