Invention Grant
- Patent Title: CPU-to-GPU and GPU-to-GPU atomics
-
Application No.: US14011671Application Date: 2013-08-27
-
Publication No.: US09830210B2Publication Date: 2017-11-28
- Inventor: Jerome F. Duluk, Jr. , John Mashey , Mark Hairgrove , James Leroy Deming , Cameron Buschardt , Brian Fahs
- Applicant: NVIDIA CORPORATION
- Applicant Address: US CA Santa Clara
- Assignee: NVIDIA Corporation
- Current Assignee: NVIDIA Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Artegis Law Group, LLP
- Main IPC: G06F12/02
- IPC: G06F12/02 ; G06F11/07 ; G06T1/60 ; G06T1/20

Abstract:
One embodiment of the present invention includes techniques for a first processing unit to perform an atomic operation on a memory page shared with a second processing unit. The memory page is associated with a page table entry corresponding to the first processing unit. Before executing the atomic operation, an MMU included in the first processing unit evaluates an atomic permission bit that is included in the page table entry. If the MMU determines that the atomic permission bit is inactive, then the two processing units coordinate to change the permission status of the memory page. As part of the status change, the atomic permission bit in the page table entry is activated. Subsequently, the first processing unit performs the atomic operation uninterrupted by the second processing unit. Advantageously, coordinating the processing unit via the atomic permission bit ensures the proper and efficient execution of the atomic operation.
Public/Granted literature
- US20140267334A1 CPU-TO-GPU AND GPU-TO-GPU ATOMICS Public/Granted day:2014-09-18
Information query