c5265e08c6182c450aed33f6a58d44c3af30bbbb
SWDEV-86836 - Enhance caching library class to prepare one-stage kernel caching by: 0. Moving cache storage setup into constructor 1. Controlling cache storage size 2. Explicit cache cleanup a. -kcache-wipe is off by default; when turned on, the caching directory would be wiped off b. Here it's just an option. The implementation (the call of wipeCacheFolders()) will be added in the compiler library 3. Enforcing cache miss (actual compilation enforcing and adding a new entry to the cache storage). a. -kcache-enforce-miss is off by default; when turned on, the real compilation will be enforced b. Here it's just an option. The implementation will be added in the compiler library ReviewBoardURL = http://ocltc.amd.com/reviews/r/9726/ Affected files ... ... //depot/stg/opencl/drivers/opencl/compiler/lib/utils/OPTIONS.def#134 edit ... //depot/stg/opencl/drivers/opencl/compiler/tools/caching/cache.cpp#12 edit ... //depot/stg/opencl/drivers/opencl/compiler/tools/caching/cache.hpp#7 edit
Opis
No description provided
Languages
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
Pozostałe
1.1%