Compiler optimization based on collectivity analysis
AssigneeInternational Business Machines Corporation
InventorsYaxun Liu, Ilie G. Tanase, Ettore Tiotto
Life of this patent
Estimating the term…
Abstract
An embodiment is directed to determining, by a compiler, that a call to a named barrier is matched across all of a plurality of threads, and based at least in part on determining that the call to the named barrier is matched across all of the plurality of threads, replacing, by the compiler, the named barrier with an unnamed barrier.
Claims10
A method for optimizing a barrier comprising:
- determining, by a compiler, that a call to a named barrier is matched across all of a plurality of threads;
- and
- based at least in part on determining that the call to the named barrier is matched across all of the plurality of threads, replacing, by the compiler, the named barrier with an unnamed barrier.
A computer program product comprising a computer readable storage medium having computer readable program code stored thereon that, when executed by a compiler, performs a method for optimizing a barrier, the method comprising:
- determining that a call to a named barrier is matched across all of a plurality of threads;
- and
- based at least in part on determining that the call to the named barrier is matched across all of the plurality of threads, replacing the named barrier with an unnamed barrier.
Dependencies are inferred from the claim text.