![]() Leverage features of the mechanism to simplify implementation: - The maximum number of possible cache-region reservations is a small value known at compile-time - Each reservation is unique (described by `CacheRegion`) so can have a dedicated entry with either zero (free) or non-zero (reserved) value So, there is no need for a dynamic collection (unordered_map here) to keep track of reservations. A simple array is enough for that purpose. Also, add some helper-code to enable array-indexing with the values of `CacheRegion` enum. Related-To: NEO-12837 Signed-off-by: Maciej Bielski <maciej.bielski@intel.com> |
||
---|---|---|
.. | ||
generate_cpp_array | ||
offline_compiler | ||
source | ||
test | ||
wsl_compute_helper | ||
CMakeLists.txt |