Memory pools in a memory model for a unified computing system
A method and system for providing memory in a computer system. The method includes receiving a memory access request for a shared memory address from a processor, mapping the received memory access request to at least one virtual memory pool to produce a mapping result, and providing the mapping result to the processor.
1. A method for providing memory in a computer system, the method comprising:
receiving a memory access request for a shared memory address;
mapping the received memory access request to at least one virtual memory pool to produce a mapping result; and
performing the memory access request using the mapping result.
2. The method of claim 1 , wherein the mapping of the memory access request to the at least one memory pool to produce a mapping result depends on a processor from which the memory operation originated.
3. The method of claim 1 , wherein a processor uses the mapping result to perform the memory access request.
4. The method of claim 1 , wherein the at least one virtual memory pool is associated with at least one memory resource.
5. The method of claim 1 , wherein the at least one virtual memory pool is associated with only one physical memory resource.
6. The method of claim 1 , wherein the at least one virtual memory pool is associated with a plurality of physical memory resources.
7. The method of claim 1 , wherein the at least one virtual memory pool is not accessible by one processor of a plurality of processors.
8. The method of claim 1 , wherein the at least one virtual memory pool is accessible by all processors of a plurality of processors.
9. The method of claim 1 , wherein the at least one virtual memory pool is accessible only by a specific type of processor.
10. A computer system comprising:
a shared memory;
a processor; and
a memory instruction mapper, wherein the memory instruction mapper is configured to:
receive a memory access request for a shared memory address from the processor;
map the received memory access request to at least one virtual memory pool to produce a mapping result; and
provide the mapping result to the processor.
11. The computer system of claim 10 , wherein the mapping of the memory access request to the at least one virtual memory pool to produce a mapping result depends on the processor from which the memory operation originated.
12. The computer system of claim 10 , wherein the processor is configured to perform the memory access request using the mapping result.
13. The computer system of claim 10 , wherein the processor uses the mapping result to perform the memory access request.
14. The computer system of claim 10 , wherein the at least one virtual memory pool is associated with at least one memory resource.
15. The computer system of claim 10 , wherein the at least one virtual memory pool is associated with only one physical memory resource.
16. The computer system of claim 10 , wherein the at least one virtual memory pool is associated with a plurality of physical memory resources.
17. The computer system of claim 10 , wherein the at least one virtual memory pool is not accessible by one processor of a plurality of processors.
18. The computer system of claim 10 , wherein the at least one virtual memory pool is accessible by all processors of a plurality of processors.
19. The computer system of claim 10 , wherein the at least one virtual memory pool is accessible only by a specific type of processor.