Invention Grant
- Patent Title: Performing a local barrier operation
- Patent Title (中): 执行本地屏障操作
-
Application No.: US13683616Application Date: 2012-11-21
-
Publication No.: US08667502B2Publication Date: 2014-03-04
- Inventor: Charles J. Archer , Michael A. Blocksome , Joseph D. Ratterman , Brian E. Smith
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Biggers Kennedy Lenart Spraggins, LLP
- Main IPC: G06F9/46
- IPC: G06F9/46

Abstract:
Performing a local barrier operation with parallel tasks executing on a compute node including, for each task: retrieving a present value of a counter; calculating, in dependence upon the present value of the counter and a total number of tasks performing the local barrier operation, a base value, the base value representing the counter's value prior to any task joining the local barrier; calculating, in dependence upon the base value and the total number of tasks performing the local barrier operation, a target value of the counter, the target value representing the counter's value when all tasks have joined the local barrier; joining the local barrier, including atomically incrementing the value of the counter; and repetitively, until the present value of the counter is no less than the target value of the counter: retrieving the present value of the counter and determining whether the present value equals the target value.
Public/Granted literature
- US20130111496A1 PERFORMING A LOCAL BARRIER OPERATION Public/Granted day:2013-05-02
Information query