Files
compute-runtime/shared/source/helpers
Maciej Bielski c9726dbb10 refactor: simplify tracking CacheRegion reservations
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>
2024-12-09 16:50:28 +01:00
..
2023-01-25 09:16:39 +01:00
2023-01-11 09:10:45 +01:00
2023-01-11 09:10:45 +01:00
2023-02-10 20:26:13 +01:00
2024-10-02 16:14:40 +02:00
2023-01-16 11:45:55 +01:00
2023-01-10 07:56:16 +01:00
2022-12-08 16:14:38 +01:00
2023-04-13 10:46:47 +02:00
2022-12-08 16:14:38 +01:00