Method for transforming a multithreaded program for general execution
Abstract
A technique is disclosed for executing a program designed for multi-threaded operation on a general purpose processor. Original source code for the program is transformed from a multi-threaded structure into a computationally equivalent single-threaded structure. A transform operation modifies the original source code to insert code constructs for serial thread execution. The transform operation also replaces synchronization barrier constructs in the original source code with synchronization barrier code that is configured to facilitate serialization. The transformed source code may then be conventionally compiled and advantageously executed on the general purpose processor.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 2.
Claims (2 — 2 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method for executing a multi-threaded program on a single-threaded processor core, the method comprising: identifying a kernel function included within the multi-threaded program; enumerating a plurality of barrier synchronization calls within the kernel function; modifying the kernel function by replacing each enumerated barrier synchronization call within the kernel function with a plurality of barrier commands and inserting a plurality of execution control commands into the kernel function, wherein the plurality of execution control commands includes a switch command
- Claim 2Independent Claim
The method of cl
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 11,079,984 B2 | Image processing mechanism | 2021 | 0 |
| CN 106,648,886 A | Realization method and apparatus for distributed storage system | — | 4 |
References Cited — Backward Prior Art (2)
Non-Patent Literature (1)
- MCUDA: An Efficient Implementation of CUDA Kernels for Multi-core CPUs, 2008, Stratton et al.