This forces clCompile outputs (clLink inputs) to use llvm bc format
unless underlying compiler's preferred IR is spirV.
Related-To: NEO-16362
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
Prototype support for OCL C in L0 runtime
Can be used with zeModuleCreate and ze_module_format_t=3
Related-To: GSD-11827
Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
When relocation points to symbol that is not defined within module mark
it as optional. When symbol is available at dynamic linking time then
info from the function is retrieved but when the symbol is not available
then ignore the dependency.
Any unresolved symbol needed for module linking is already handled
in a separate place.
Related-To: NEO-16243, NEO-16263, NEO-16262, NEO-16268
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
- 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>
This is prep work for the future implementation of pooling these allocations.
Related-To: NEO-12287
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
Environment flags set in
GivenIgcEnvVarSetWhenGetDefaultCacheConfigThenWarningIsPrinted were
leaking to other tests, causing them to fail in some scenarios.
Resolves: NEO-15578
Signed-off-by: Naklicki, Mateusz <mateusz.naklicki@intel.com>
Replaced manual environment setup and cleanup with RAII-based
MockEnvironBackup in tests that check IGC_* variables. This ensures
proper isolation, automatic restoration, and prevents side effects
between tests when IGC environment variables are present.
Related-To: NEO-12721
Signed-off-by: Aleksandra Nizio <aleksandra.nizio@intel.com>
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>
Enhance StreamCapture class to mimic gtest's CaptureStdout/Stderr functionality.
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>
- use correct size alignment of implicit arg buffer, crossthread data
should start after the buffer without extra padding
Related-To: NEO-14449
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
Build with only LNL enabled failed
due to unused static variable.
Variable is still used when other platforms
are enabled, so ``[[maybe_unused]]`` was added
to allow LNL-only builds to succeed.
Signed-off-by: Jack Myers <jack.myers@intel.com>
Related-To: NEO-14849
- use correct size alignment of implicit arg buffer, crosshtread data
should start after the buffer without extra padding
Related-To: NEO-14449
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
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>
This patch adds following includes to the whitelist:
<cm/cm.h>
<cm/cmtl.h>
Related-To: NEO-13641
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>