Invention Grant
- Patent Title: System and method for fast hardware atomic queue allocation
- Patent Title (中): 用于快速硬件原子队列分配的系统和方法
-
Application No.: US11848203Application Date: 2007-08-30
-
Publication No.: US07865638B1Publication Date: 2011-01-04
- Inventor: David Wyatt
- Applicant: David Wyatt
- 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 ; G06F12/00

Abstract:
One embodiment of the invention sets forth a method for performing a queue allocation operation that includes receiving a memory address associated with a queue allocation aperture, where the memory address is read by a client to request memory space in a memory queue for a payload, computing a payload size based on the memory address, determining an insertion pointer for the payload based on a first position of a horizon pointer, where the insertion pointer indicates a location within the memory queue for the client to insert the payload, adjusting the horizon pointer to a second position based on the payload size, and returning the insertion pointer to the client. Such an approach enables multiple clients to advantageously request and obtain space within a shared memory queue in a single atomic operation, thereby allowing clients to share a memory queue more efficiently relative to prior art approaches.
Information query