Legal claims defining the scope of protection, as filed with the USPTO.
1. A method for managing a parallel cache hierarchy in a processing unit, the method comprising: receiving an instruction from a scheduler unit, wherein the instruction comprises a load instruction or a store instruction, and wherein the instruction is associated with an address that identifies a memory region; determining that the instruction includes a cache operations modifier that identifies a policy for caching data associated with the instruction at one or more levels of the parallel cache hierarchy; and executing the instruction and caching the data associated with the instruction based on the cache operations modifier, wherein the data is cached if the address is in a local memory region, and the data is not cached if the address is in a global region.
2. The method of claim 1 , wherein the parallel cache hierarchy includes an L1 cache level and an L2 cache level.
3. The method of claim 2 , wherein each processor included in the processing unit includes a different L1 cache at the L1 cache level, the L2 cache level includes at least one L2 cache that each processor is configured to access.
4. The method of claim 2 , wherein the cache operations modifier is implemented to cause the data associated with the instruction to be cached at both the L1 cache level and the L2 cache level.
5. The method of claim 4 , wherein the data associated with the instruction is cached at each of the L1 cache level and the L2 cache level with an evict-first eviction policy.
6. The method of claim 2 , wherein the cache operations modifier is implemented to invalidate and discard the data cached in the L1 cache following a load instruction.
7. The method of claim 2 , wherein the cache operations modifier is implemented to cause the data associated with the instruction to be cached at the L2 cache level and not cached at the L1 cache level.
8. The method of claim 7 , wherein the data associated with the instruction is cached at the L2 cache level with an evict-first eviction policy.
9. The method of claim 1 , wherein the cache operations modifier is implemented to cause data associated with a store instruction to be cached with a write-back policy or a write-through policy.
10. The method of claim 1 , wherein the cache operations modifier is implemented to cause data associated with a load instruction to be cached with a volatile fetch-always policy.
11. A system for managing a parallel cache hierarchy, the system comprising: a processor, configured to: receive an instruction that comprises a load instruction or a store instruction, wherein the instruction is associated with an address that identifies a memory region, determine that the instruction includes a cache operations modifier that identifies a policy for caching data associated with the instruction at one or more levels of the parallel cache hierarchy; and execute the instruction and cache the data associated with the instruction based on the cache operations modifier, wherein the data is cached if the address is in a local memory region, and the data is not cached if the address is in a global region.
12. The system of claim 11 , wherein the parallel cache hierarchy includes an L1 cache level and an L2 cache level.
13. The system of claim 12 , wherein each processor included in the processing unit includes a different L1 cache at the L1 cache level, the L2 cache level includes at least one L2 cache that each processor is configured to access.
14. The system of claim 12 , wherein the cache operations modifier is implemented to cause the data associated with the instruction to be cached at both the L1 cache level and the L2 cache level.
15. The system of claim 14 , wherein the data associated with the instruction is cached at each of the L1 cache level and the L2 cache level with an evict-first eviction policy.
16. The system of claim 12 , wherein the cache operations modifier is implemented to invalidate and discard the data cached in the L1 cache following a load instruction.
17. The system of claim 12 , wherein the cache operations modifier is implemented to cause the data associated with the instruction to be cached at the L2 cache level and not cached at the L1 cache level.
18. The system of claim 17 , wherein the data associated with the instruction is cached at the L2 cache level with an evict-first eviction policy.
19. The system of claim 11 , wherein the cache operations modifier is implemented to cause data associated with a store instruction to be cached with a write-back policy or a write-through policy.
20. The system of claim 11 , wherein the cache operations modifier is implemented to cause data associated with a load instruction to be cached with a volatile fetch-always policy.
Unknown
May 2, 2017
Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.