![]() 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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
compiler_cache_linux.cpp | ||
os_compiler_cache_helper.cpp |