Language level support for shared virtual memory
Abstract
Embodiments of the invention provide language support for CPU-GPU platforms. In one embodiment, code can be flexibly executed on both the CPU and GPU. CPU code can offload a kernel to the GPU. That kernel may in turn call preexisting libraries on the CPU, or make other calls into CPU functions. This allows an application to be built without requiring the entire call chain to be recompiled. Additionally, in one embodiment data may be shared seamlessly between CPU and GPU. This includes sharing objects that may have virtual functions. Embodiments thus ensure the right virtual function gets invoked on the CPU or the GPU if a virtual function is called by either the CPU or GPU.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 16 · Forward citations: 18.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method providing: shared memory semantics between a central processing unit (CPU) and a graphics processing unit (GPU) including allowing pointers to be passed and data structures to be shared as is between the CPU and GPU; sharing only a portion of virtual address space between the CPU and the GPU; if a GPU function is being called within a GPU function, performing the call as is; if a GPU function is being called within a CPU function, performing a remote call to the GPU; if a CPU function is being called within a CPU function, performing the call as is; and if a CPU function is being call
- Claim 2Depends on #1
The method claimed in claim 1 , wherein code can be flexibly executed on both the CPU and GPU.
- Claim 3Depends on #2
The method claimed in claim 2 , further comprising: offloading a kernel to th
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗