Patent · US Active

Virtual memory structure for coprocessors having memory allocation limitations

US8904068B2 · kind B2 · utility

8Cited by
5References
20Claims
0Family size

Assignee

Inventors

Key dates

Filing dateMay 9, 2012
Grant dateDec 2, 2014
Priority date
Expiry dateJun 1, 2033

Classification

  • Technology area (CPC G)Physics
  • CPC primaryG06F2212/253
  • WIPO fieldComputer technology
  • WIPO sectorElectrical engineering

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.

Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.