发明授权
US08402229B1 System and method for enabling interoperability between application programming interfaces
有权
用于实现应用程序编程接口之间的互操作性的系统和方法
- 专利标题: System and method for enabling interoperability between application programming interfaces
- 专利标题(中): 用于实现应用程序编程接口之间的互操作性的系统和方法
-
申请号: US12031682申请日: 2008-02-14
-
公开(公告)号: US08402229B1公开(公告)日: 2013-03-19
- 发明人: Nicholas Patrick Wilt , Ian A. Buck , Nolan David Goodnight
- 申请人: Nicholas Patrick Wilt , Ian A. Buck , Nolan David Goodnight
- 申请人地址: US CA Santa Clara
- 专利权人: NVIDIA Corporation
- 当前专利权人: NVIDIA Corporation
- 当前专利权人地址: US CA Santa Clara
- 代理机构: Patterosn & Sheridan, LLP
- 主分类号: G06F13/16
- IPC分类号: G06F13/16
摘要:
One embodiment of the present invention sets forth a method for sharing graphics objects between a compute unified device architecture (CUDA) application programming interface (API) and a graphics API. The CUDA API includes calls used to alias graphics objects allocated by the graphics API and, subsequently, synchronize accesses to the graphics objects. When an application program emits a “register” call that targets a particular graphics object, the CUDA API ensures that the graphics object is in the device memory, and maps the graphics object into the CUDA address space. Subsequently, when the application program emits “map” and “unmap” calls, the CUDA API respectively enables and disables accesses to the graphics object through the CUDA API. Further, the CUDA API uses semaphores to synchronize accesses to the shared graphics object. Finally, when the application program emits an “unregister” call, the CUDA API configures the computing system to disregard interoperability constraints.
信息查询