US 12,360,909 B2
Last use cache policy
Jimshed Mirza, Markham (CA)
Assigned to ATI TECHNOLOGIES ULC, Markham (CA)
Filed by ATI TECHNOLOGIES ULC, Markham (CA)
Filed on Sep. 29, 2022, as Appl. No. 17/955,888.
Prior Publication US 2024/0111681 A1, Apr. 4, 2024
Int. Cl. G06F 12/0877 (2016.01)
CPC G06F 12/0877 (2013.01) [G06F 2212/60 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An apparatus for implementing a last use cache policy, the apparatus comprising:
a cache comprising a plurality of cache lines; and
a cache controller configured to:
retrieve one or more memory attributes from memory, wherein the one or more memory attributes are associated with a memory address and are stored in the memory as part of allocation of the memory address;
store the one or more memory attributes retrieved from memory in a cache line of the cache;
receive a read command that includes the memory address; and
change a state of the cache line from dirty to a different state responsive to the one or more memory attributes stored in the cache line indicating that the read command comprises a last use of data at the memory address, wherein the one or more memory attributes stored in the cache line indicate that the data at the memory address is no longer needed after the read command.