Back to search

McGill University

Supporting shared variables and atomic functions in the earth-C language

Abstract

dc:description.abstract

EARTH-C is a parallel dialect of the C language. The language was designed with simple and expressive extensions to C, which provide some information about control parallelism and data locality to the compiler. EARTH-C is compiled using EARTH-McCAT compiler, which generates EARTH Threaded-C as its target code. Although EARTH-C appears to be quite useful for expressing irregular parallelism, it does have some limitations when we try to access variables concurrently. In this thesis, we discuss the expressibility problem and the consistency problem. The expressibility problem limits the programmer's ability to implement some parallel programming techniques in EARTH-C, while the consistency problem prevents the programmer from accessing variables concurrently. To solve those problems, we introduce shared variables and atomic functions into the EARTH-C language. These extensions to EARTH-C were designed and implemented within the EARTH-McCAT compiler. We discuss both the language extensions and a set of benchmarks used to test them. Our solution strategy proved to be simple and effective. It did not destroy any part of the EARTH-McCAT compiler and added more power to the EARTH-C language.

Degree

thesis:*
Name thesis:degree_name
Master of Science
Grantor dc:publisher
McGill University
Year dc:date.issued
1997

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Ghobrial, Shereen.
Advisor dc:contributor.advisor
  • Hendren, Laurie (Supervisor)

Subjects

dc:subject × 1

Rights

dc:rights
Statement dc:rights
  • All items in eScholarship@McGill are protected by copyright with all rights reserved unless otherwise indicated.
Language dc:language.iso
en

Identifiers

dc:identifier.*
OCLC
893436083
Dc Identifier Other
hyrax:3x816p49j

Chain of custody

source
Harvested from
McGill University
Base URL
mcgill.scholaris.ca/server/oai/request
Last updated
2026-11-27
Source record
OAI-PMH GetRecord
related terms
citation

Ghobrial, Shereen.. Supporting shared variables and atomic functions in the earth-C language. McGill University, 1997. https://doi.org/10.82308/46856