Filip Hazubski
936a3d2f31
build: kernels_bin update
...
Correct CompilerInterfaceOclElfCacheTest fixture.
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2025-05-16 15:08:04 +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
Fabian Zwoliński
285414e852
fix: cl_cache - add cm header includes to whitelist
...
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>
2025-01-21 10:22:03 +01:00
Fabian Zwoliński
bbaca5d8e2
feature: cl_cache - add support for whitelisted includes
...
Related-To: NEO-13641
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2025-01-20 15:07:14 +01:00
Fabian Zwoliński
ea5b586c37
fix: move pathExists out of sys calls and do not mock it
...
Moved pathExists from SysCalls to path.h.
In ULTs, use unchanged pathExists and mock stat, getFileAttributesA instead.
Add Windows and Linux ULTs for pathExists.
Signed-off-by: Fabian Zwoliński <fabian.zwolinski@intel.com>
2024-09-10 19:24:45 +02:00
Mateusz Jablonski
a67ef72210
fix: include hw ip version in compiler cache hash
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2024-06-11 15:55:06 +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 Hoppe
a9366fff48
refactor: print message with location when cache is enabled
...
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2024-04-11 17:08:39 +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
Fabian Zwolinski
a27dafd2e1
fix: cl_cache store binary and debug data in one file
...
Related-To: NEO-10045
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2024-02-29 10:13:15 +01:00
Mateusz Jablonski
a6458433dc
refactor: correct naming of enum class constants 9/n
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-12-19 10:36:25 +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
Kacper Kasper
abfed5a762
fix: add specialization constants to cache hash in spirv path
...
Related-To: NEO-4262
Signed-off-by: Kacper Kasper <kacper.k.kasper@intel.com>
2023-09-01 14:04:59 +02:00
Kacper Kasper
996c261430
fix: OclocIgcFacade->getIgcRevision() could return nullptr
...
* Make sure igcRevision is always initialized.
* Improve coverage.
Signed-off-by: Kacper Kasper <kacper.k.kasper@intel.com>
2023-08-31 12:57:27 +02:00
Kacper Kasper
991febcdf4
fix: extend cache hash with compiler commit sha, lib size and mtime
...
Related-To: NEO-4262
Signed-off-by: Kacper Kasper <kacper.k.kasper@intel.com>
2023-08-22 15:28:57 +02:00
Diedrich, Kamil
5a4a2ab8ab
feature: Add new environment variables for compiler cache
...
This patch add new environment variables to control compiler cache.
Works as follow: If persistent cache is set driver check if NEO_CACHE_DIR
is set. If not then driver checks XDG_CACHE_HOME - If exists
then driver create neo_compiler_cache folder, if
not then driver checks HOME directory. If each NEO_CACHE_DIR,
XDG_CACHE_HOME and HOME are not set then compiler cache is disabled.
Current support is for Linux only.
Signed-off-by: Diedrich, Kamil <kamil.diedrich@intel.com>
Related-To: NEO-4262
2023-05-12 10:21:27 +02:00
Diedrich, Kamil
5149d74141
refactor: Remove globaly enabled cl_cache
...
Current behaviour will be detecd path existence
Related-To: NEO-4262
Signed-off-by: Diedrich, Kamil <kamil.diedrich@intel.com>
2023-04-28 23:28:49 +02:00
Diedrich, Kamil
26ca64bb28
Add process safety to cl_cache on Linux
...
Current flow will be to have one synchronization point
config.file. Read remains unblocking, only write(caching)
operation will be blocking (lock on config.file)
Related-To: NEO-4262
Signed-off-by: Diedrich, Kamil <kamil.diedrich@intel.com>
2023-04-25 17:35:40 +02:00
Pawel Cieslak
31d68c42e6
fix mismatched-new-delete when using unique_ptr
...
Related-To: NEO-6511
Signed-off-by: Pawel Cieslak <pawel.cieslak@intel.com>
2023-02-14 08:07:13 +01:00
Mateusz Jablonski
43b790957d
style: format code using clang-format 15.0.6
...
Related-To: NEO-7500
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2023-01-05 10:33:47 +01:00
Dunajski, Bartosz
7ff37cd5fd
Ftr/WA flags cleanup
...
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
2022-10-26 12:11:31 +02:00
Baj, Tomasz
0eab93501c
Add cl_cache mechanism to ocloc
...
Related-To: NEO-6476
Signed-off-by: Baj, Tomasz <tomasz.baj@intel.com>
2022-09-30 12:03:02 +02:00
Mateusz Jablonski
527806b3ed
Use full path to include test.h 2/n
...
fix files in shared
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-12-15 13:09:50 +01:00
Bartosz Dunajski
995cb88bfa
Improve ftr/wa flags packing
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-11-25 16:05:57 +01:00
Artur Harasimiuk
35f135bbc8
compiler cache to store input into separate file
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-11-16 17:23:17 +01:00
Artur Harasimiuk
53223dc2b5
create trace files about cl_cache usage
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-10-29 18:21:49 +02:00
Mateusz Jablonski
aa0cb7a8bf
Add ult specific config to neo_shared_tests
...
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2021-10-12 08:55:47 +02:00
Artur Harasimiuk
b505bcdf79
move custom event listener to shared
...
Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
2021-09-20 16:46:50 +02:00
Bartosz Dunajski
a49b45a679
Initialize HwInfo in tests
...
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2021-06-30 17:59:46 +02:00
lgotszal
3bd4bca911
Copyright header update
...
Dates corrected in copyright headers to reflect original publication date
(2018 for OpenCL, 2020 for Level Zero).
Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
2021-05-17 20:38:19 +02:00
Mateusz Jablonski
f7dcafc295
Pass ClDeviceVector to Program's ctor
...
Related-To: NEO-5001
Change-Id: Ie0e4395fd3ed9a5df81c7075ef039092a0687b9c
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-10-19 18:47:11 +02:00
Mateusz Hoppe
d130575dd3
Cleanup header includes in tests
...
Change-Id: I37de20f7c074ddcb23f893b2cda7fd6fff7bd32b
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
2020-06-02 19:40:26 +02:00
Konstanty Misiak
aa8e9fb634
Rename ocl DeviceFixture and add shared tests specific one
...
Change-Id: Ib61e987388ba14b721a573e3e84332a7f6c9ef9c
Signed-off-by: Konstanty Misiak <konstanty.misiak@intel.com>
2020-06-01 15:44:05 +02:00
Mateusz Jablonski
441ff1fcdf
Don't use the entire std namespace
...
Change-Id: I2014117a154fb2c1a61af5c31baa228b4fb3dbc2
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-03-27 19:57:11 +01:00
Mateusz Jablonski
9dbeeea18f
Clang-format: restore sorting includes
...
Change-Id: I34eb993b562c77f56d8fbd51a02ee266c1f76678
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2020-02-24 10:22:30 +01:00
kamdiedrich
9e97b42ee6
Reorganization directory structure [4/n]
...
Change-Id: Ib868ed62d12ea8f9f123644219ba299e86a658ac
2020-02-24 01:04:42 +01:00