compute-runtime/shared/source
Fabian Zwolinski ee53bf0839 fix: linux cl_cache eviction mechanism
Fixed and refactored eviction mechanism works as follows:
- eviction is needed only if
total size of cache binaries + size of the new binary exceed cache limit
- single evition call removes files with a summed size of 1/3 of the cache limit
- if new binary can not fit in the cache size limit
even after eviction, it will not be saved
- cache limit applies only to
files in cache directory with .cl_cache/.l0_cache extension.
Only these files are counted and only these files are removed

Minor:
- rename variables for better readability
- add `const` where possible

Related-To: NEO-4262
Signed-off-by: Fabian Zwolinski <fabian.zwolinski@intel.com>
2023-12-05 09:35:48 +01:00
..
ail refactor: correct variable naming 2023-12-04 13:45:53 +01:00
assert_handler fix: add log about printing assertion failure from kernel 2023-11-03 15:32:07 +01:00
aub refactor: rename global debug manager to debugManager 2023-11-30 13:00:59 +01:00
aub_mem_dump refactor: rename global debug manager to debugManager 2023-11-30 13:00:59 +01:00
built_ins refactor: correct variable naming 2023-12-04 13:45:53 +01:00
command_container refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
command_stream refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
commands
compiler_interface fix: linux cl_cache eviction mechanism 2023-12-05 09:35:48 +01:00
debug_settings performance: add power throttling debug key 2023-12-04 15:03:33 +01:00
debugger refactor: rename register offsets and constants 2023-12-04 18:31:39 +01:00
device refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
device_binary_format refactor: correct variable naming 2023-12-04 19:02:36 +01:00
direct_submission refactor: rename register offsets and constants 2023-12-04 18:31:39 +01:00
dll feature: add support for release 12.74 2023-12-05 08:01:31 +01:00
execution_environment fix: Correct AIL initialization in runtime 2023-12-01 02:42:10 +01:00
gen8 refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
gen9 refactor: rename register offsets and constants 2023-12-04 18:31:39 +01:00
gen11 refactor: rename WALKER_TYPE to DefaultWalkerType 2023-12-04 16:29:32 +01:00
gen12lp refactor: correct naming of internal usm flags 2023-12-04 17:10:40 +01:00
gen_common fix: fix compilation error in clang on Windows (2/n) 2023-10-24 15:59:06 +02:00
generated feature: Add heapless mode programming in l0 1/n 2023-12-01 17:01:01 +01:00
gmm_helper refactor: rename global debug manager to debugManager 2023-11-30 13:00:59 +01:00
helpers refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
image refactor: rename global debug manager to debugManager 2023-11-30 13:00:59 +01:00
indirect_heap refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
kernel refactor: correct naming of internal fp atomic ext flags 2023-12-04 19:02:53 +01:00
memory_manager refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
memory_properties feature: Add support for CL_DEVICE_HANDLE_LIST_KHR 2023-05-05 15:17:20 +02:00
os_interface refactor: correct naming of internal fp atomic ext flags 2023-12-04 19:02:53 +01:00
page_fault_manager refactor: rename global debug manager to debugManager 2023-11-30 13:00:59 +01:00
pin refactor: rename global debug manager to debugManager 2023-11-30 13:00:59 +01:00
program refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
release_helper feature: add support for release 12.74 2023-12-05 08:01:31 +01:00
sku_info fix: don't transfer FtrTile64Optimization to gmmlib 2023-10-27 08:07:58 +02:00
tbx fix: fix compilation error in clang on Windows (2/n) 2023-10-24 15:59:06 +02:00
unified_memory refactor: correct naming of internal usm flags 2023-12-04 17:10:40 +01:00
utilities refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
xe_hpc_core refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
xe_hpg_core refactor: remove redundant definitions KB/MB/GB 2023-12-05 08:55:18 +01:00
CMakeLists.txt fix: fix compilation error in clang on Windows (2/n) 2023-10-24 15:59:06 +02:00
enable_cores.cmake feature: Add default ip version values to helper 2023-06-02 12:10:21 +02:00