{"id":{"repo_id":"gatech","oai_identifier":"oai:repository.gatech.edu:1853/75646"},"canonical_url":"https://search.ndltd.org/etd/gatech/oai:repository.gatech.edu:1853/75646","repository":{"repo_id":"gatech","name":"Georgia Tech","base_url":"https://repository.gatech.edu/server/oai/request"},"display":{"title":"Dynamic Analysis of Data Inconsistencies and Data Races in OpenMP Programs","abstract":"OpenMP is a popular intra-node parallel programming model that supports several problem decomposition approaches, including task parallelism, data parallelism, and heterogeneous parallelism. When OpenMP introduces new parallel paradigms or features, it must ensure that these additions align with the existing constructs to maintain consistency and avoid unspecified behaviors. New features can result in revisions to the behavior of existing constructs, which may in turn require programmers to re-evaluate their understanding of existing constructs and adapt their code accordingly. Consequently, writing correct OpenMP programs can be challenging even for experienced programmers. To alleviate the intricacy of writing correct OpenMP programs, this thesis outlines several dynamic analysis techniques that help programmers identify programming errors in OpenMP programs. First, we describe various studies on device offloading, a recent OpenMP feature still in its developmental phase. Our studies reveal discrepancies between the LLVM implementation and the intended runtime behavior of device offloading. Additionally, erroneous usage of device offloading constructs can lead to an assortment of memory anomalies. Since these memory anomalies can generate disparities between host variables and their corresponding counterparts on accelerator devices, we classify such bugs as data inconsistencies. By establishing permissible memory accesses on the host and accelerator, this thesis introduces a dynamic approach to detect data inconsistencies automatically. The dynamic approach leverages a per-variable state transition model, which can be used to establish the validity of the memory location before executing any memory accesses. Beyond data inconsistencies, this thesis also delves into novel dynamic approaches for identifying data races in OpenMP programs. By extending the SPD3 race detection algorithm, originally designed for async-finish task parallelism, our dynamic race detection approach can handle a large subset of parallel constructs in OpenMP, thereby checking more precise happens-before relations among tasks relative to existing per-thread vector-clock-based approaches.","abstract_html":"OpenMP is a popular intra-node parallel programming model that supports several problem decomposition approaches, including task parallelism, data parallelism, and heterogeneous parallelism. When OpenMP introduces new parallel paradigms or features, it must ensure that these additions align with the existing constructs to maintain consistency and avoid unspecified behaviors. New features can result in revisions to the behavior of existing constructs, which may in turn require programmers to re-evaluate their understanding of existing constructs and adapt their code accordingly. Consequently, writing correct OpenMP programs can be challenging even for experienced programmers. To alleviate the intricacy of writing correct OpenMP programs, this thesis outlines several dynamic analysis techniques that help programmers identify programming errors in OpenMP programs. First, we describe various studies on device offloading, a recent OpenMP feature still in its developmental phase. Our studies reveal discrepancies between the LLVM implementation and the intended runtime behavior of device offloading. Additionally, erroneous usage of device offloading constructs can lead to an assortment of memory anomalies. Since these memory anomalies can generate disparities between host variables and their corresponding counterparts on accelerator devices, we classify such bugs as data inconsistencies. By establishing permissible memory accesses on the host and accelerator, this thesis introduces a dynamic approach to detect data inconsistencies automatically. The dynamic approach leverages a per-variable state transition model, which can be used to establish the validity of the memory location before executing any memory accesses. Beyond data inconsistencies, this thesis also delves into novel dynamic approaches for identifying data races in OpenMP programs. By extending the SPD3 race detection algorithm, originally designed for async-finish task parallelism, our dynamic race detection approach can handle a large subset of parallel constructs in OpenMP, thereby checking more precise happens-before relations among tasks relative to existing per-thread vector-clock-based approaches.","abstract_has_math":false,"creators":["Yu, Lechen"],"institution":"Georgia Institute of Technology","degree_name":null,"degree_level":"Doctoral","degree_discipline":null,"degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Sarkar, Vivek"],"committee_chairs":[],"committee_members":["Pande, Santosh","Zhang, Qirun","Kim, Hyesoon","Cogumbreiro, Tiago"],"year":2024,"date_issued":"2024-07-25","date_published":"2024-07-25","updated_at":"2026-11-19T04:25:43Z","subjects":["Dynamic Analysis","OpenMP","Accelerator"],"languages":["en_US"],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1853/75646","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1853/75646","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","download_url":null,"download_label":null,"download_source":null,"access_status":null,"embargo_until":null,"access_note":null},"source_record":{"url":"https://repository.gatech.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepository.gatech.edu%3A1853%2F75646","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Sarkar, Vivek"]},{"key":"dc:contributor.committeemember","label":"Committee Member","values":["Pande, Santosh","Zhang, Qirun","Kim, Hyesoon","Cogumbreiro, Tiago"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["College of Computing","School of Computer Science"]},{"key":"dc:creator","label":"Author","values":["Yu, Lechen"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2024-08-22T15:17:34Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2024-08-22T15:17:34Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2024-08"]},{"key":"dc:date.issued","label":"Date","values":["2024-07-25"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["August 2024"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2024-08-22T15:17:35Z"]},{"key":"dc:publisher","label":"Institution","values":["Georgia Institute of Technology"]},{"key":"dc:relation.advisorentity","label":"Dc Relation Advisorentity","values":["8579ad6d-7415-4b85-acb4-f0f64097a57d"]},{"key":"dc:relation.ispartofseries","label":"Dc Relation Ispartofseries","values":["Doctor of Philosophy with a Major in Computer Science"]},{"key":"dc:relation.orgunit","label":"Dc Relation Orgunit","values":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021","6b42174a-e0e1-40e3-a581-47bed0470a1e"]},{"key":"dc:relation.seriesentity","label":"Dc Relation Seriesentity","values":["41e6384f-fa8d-4c63-917f-a26900b10f64"]},{"key":"dc:type","label":"Dc Type","values":["Text","Dissertation"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Doctoral"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Dynamic Analysis","OpenMP","Accelerator"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en_US"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1853/75646"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["OpenMP is a popular intra-node parallel programming model that supports several problem decomposition approaches, including task parallelism, data parallelism, and heterogeneous parallelism. When OpenMP introduces new parallel paradigms or features, it must ensure that these additions align with the existing constructs to maintain consistency and avoid unspecified behaviors. New features can result in revisions to the behavior of existing constructs, which may in turn require programmers to re-evaluate their understanding of existing constructs and adapt their code accordingly. Consequently, writing correct OpenMP programs can be challenging even for experienced programmers. To alleviate the intricacy of writing correct OpenMP programs, this thesis outlines several dynamic analysis techniques that help programmers identify programming errors in OpenMP programs. First, we describe various studies on device offloading, a recent OpenMP feature still in its developmental phase. Our studies reveal discrepancies between the LLVM implementation and the intended runtime behavior of device offloading. Additionally, erroneous usage of device offloading constructs can lead to an assortment of memory anomalies. Since these memory anomalies can generate disparities between host variables and their corresponding counterparts on accelerator devices, we classify such bugs as data inconsistencies. By establishing permissible memory accesses on the host and accelerator, this thesis introduces a dynamic approach to detect data inconsistencies automatically. The dynamic approach leverages a per-variable state transition model, which can be used to establish the validity of the memory location before executing any memory accesses. Beyond data inconsistencies, this thesis also delves into novel dynamic approaches for identifying data races in OpenMP programs. By extending the SPD3 race detection algorithm, originally designed for async-finish task parallelism, our dynamic race detection approach can handle a large subset of parallel constructs in OpenMP, thereby checking more precise happens-before relations among tasks relative to existing per-thread vector-clock-based approaches."]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["Ph.D."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Dynamic Analysis of Data Inconsistencies and Data Races in OpenMP Programs"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]}]}],"canonical_facts":{"dc:contributor.advisor":["Sarkar, Vivek"],"dc:contributor.committeemember":["Pande, Santosh","Zhang, Qirun","Kim, Hyesoon","Cogumbreiro, Tiago"],"dc:contributor.department":["Computer Science"],"dc:contributor.other":["College of Computing","School of Computer Science"],"dc:creator":["Yu, Lechen"],"dc:date.accessioned":["2024-08-22T15:17:34Z"],"dc:date.available":["2024-08-22T15:17:34Z"],"dc:date.created":["2024-08"],"dc:date.issued":["2024-07-25"],"dc:date.submitted":["August 2024"],"dc:date.updated":["2024-08-22T15:17:35Z"],"dc:description.abstract":["OpenMP is a popular intra-node parallel programming model that supports several problem decomposition approaches, including task parallelism, data parallelism, and heterogeneous parallelism. When OpenMP introduces new parallel paradigms or features, it must ensure that these additions align with the existing constructs to maintain consistency and avoid unspecified behaviors. New features can result in revisions to the behavior of existing constructs, which may in turn require programmers to re-evaluate their understanding of existing constructs and adapt their code accordingly. Consequently, writing correct OpenMP programs can be challenging even for experienced programmers. To alleviate the intricacy of writing correct OpenMP programs, this thesis outlines several dynamic analysis techniques that help programmers identify programming errors in OpenMP programs. First, we describe various studies on device offloading, a recent OpenMP feature still in its developmental phase. Our studies reveal discrepancies between the LLVM implementation and the intended runtime behavior of device offloading. Additionally, erroneous usage of device offloading constructs can lead to an assortment of memory anomalies. Since these memory anomalies can generate disparities between host variables and their corresponding counterparts on accelerator devices, we classify such bugs as data inconsistencies. By establishing permissible memory accesses on the host and accelerator, this thesis introduces a dynamic approach to detect data inconsistencies automatically. The dynamic approach leverages a per-variable state transition model, which can be used to establish the validity of the memory location before executing any memory accesses. Beyond data inconsistencies, this thesis also delves into novel dynamic approaches for identifying data races in OpenMP programs. By extending the SPD3 race detection algorithm, originally designed for async-finish task parallelism, our dynamic race detection approach can handle a large subset of parallel constructs in OpenMP, thereby checking more precise happens-before relations among tasks relative to existing per-thread vector-clock-based approaches."],"dc:description.degree":["Ph.D."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/1853/75646"],"dc:language.iso":["en_US"],"dc:publisher":["Georgia Institute of Technology"],"dc:relation.advisorentity":["8579ad6d-7415-4b85-acb4-f0f64097a57d"],"dc:relation.ispartofseries":["Doctor of Philosophy with a Major in Computer Science"],"dc:relation.orgunit":["c8892b3c-8db6-4b7b-a33a-1b67f7db2021","6b42174a-e0e1-40e3-a581-47bed0470a1e"],"dc:relation.seriesentity":["41e6384f-fa8d-4c63-917f-a26900b10f64"],"dc:subject":["Dynamic Analysis","OpenMP","Accelerator"],"dc:title":["Dynamic Analysis of Data Inconsistencies and Data Races in OpenMP Programs"],"dc:type":["Text","Dissertation"],"dspace:entity.type":["Publication"],"thesis:degree_level":["Doctoral"]},"updated_at":"2026-11-19T04:25:43Z"}