Detecting memory hazards in parallel computing
Abstract
A computer-implemented method, computer-readable media, and a computerized system to track and detect data hazards are provided. The computerized system includes processors configured to execute instructions associated with a multithreaded program. The computerized system allocates memory for the multithreaded program and creates threads for execution on the processors. The memory may include a reserved area for tracking information. The threads access the allocated memory in accordance with the multithreaded program and the memory including the tracking information is updated based on the threads' memory access. In turn, the processors generate notifications of data hazard based on the tracking information stored in the allocated memory.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 2.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A computer-implemented method for tracking data hazards in a parallel processing system executing a multithreaded program, the method comprising: allocating memory for data utilized by the multithreaded program; reserving a portion of the allocated memory for tracking access to the memory; creating one or more threads to implement the multithreaded program and to access the memory; observing memory access patterns by the one or more threads; and storing the access patterns in the reserved portion of the allocated memory.
- Claim 2Depends on #1
The computer-implemented method of claim 1 , further comprising: generating a notification when a data hazard is detected.
- Claim 3Depends on #2
The computer-implemented method of claim 2 , wherein the notification includes the data hazard and the segment of the multithreaded program that corresponds to th
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 2014108874 A1 | Detecting memory hazards in parallel computing | — | 5 |
| US 9,274,875 B2 | Detecting memory hazards in parallel computing | 2016 | 0 |
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- A data hazard detection method for DSP with heavily compressed instruction set-Published Date: Oct. 18-21, 2004 http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1435136.
- A data hazard detection method for DSP with heavily compressed instruction set—Published Date: Oct. 18-21, 2004 http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=1435136.
- SHARP: efficient loop scheduling with data hazard reduction on multiple pipeline DSP systems-Published Date: Oct. 30-Nov. 1, 1996 http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=558358.
- SHARP: efficient loop scheduling with data hazard reduction on multiple pipeline DSP systems—Published Date: Oct. 30-Nov. 1, 1996 http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=558358.
- Trace table based approach for pipelined microprocessor verification-Published Date: Jun. 22-25, 1997 http://citeseer.ist.psu.edu/viewdoc/download;jsessionid=F40D050954A5BE0636E69AF364E49DC8?doi=10.1.1.23.8390&rep=rep1&type=pdf.