Invention Grant
US08904068B2 Virtual memory structure for coprocessors having memory allocation limitations
有权
具有存储器分配限制的协处理器的虚拟存储器结构
- Patent Title: Virtual memory structure for coprocessors having memory allocation limitations
- Patent Title (中): 具有存储器分配限制的协处理器的虚拟存储器结构
-
Application No.: US13467611Application Date: 2012-05-09
-
Publication No.: US08904068B2Publication Date: 2014-12-02
- Inventor: Luke Durant , Ze Long
- Applicant: Luke Durant , Ze Long
- Applicant Address: US CA Santa Clara
- Assignee: NVIDIA Corporation
- Current Assignee: NVIDIA Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Patterson & Sheridan, LLP
- Main IPC: G06F3/00
- IPC: G06F3/00 ; G06F13/00

Abstract:
One embodiment sets forth a technique for dynamically allocating memory during multi-threaded program execution for a coprocessor that does not support dynamic memory allocation, memory paging, or memory swapping. The coprocessor allocates an amount of memory to a program as a put buffer before execution of the program begins. If, during execution of the program by the coprocessor, a request presented by a thread to store data in the put buffer cannot be satisfied because the put buffer is full, the thread notifies a worker thread. The worker thread processes a notification generated by the thread by dynamically allocating a swap buffer within a memory that cannot be accessed by the coprocessor. The worker thread then pages the put buffer into the swap buffer during execution of the program to empty the put buffer, thereby enabling threads executing on the coprocessor to dynamically receive memory allocations during execution of the program.
Public/Granted literature
- US20130305009A1 VIRTUAL MEMORY STRUCTURE FOR COPROCESSORS HAVING MEMORY ALLOCATION LIMITATIONS Public/Granted day:2013-11-14
Information query