{"id":{"repo_id":"santa-clara","oai_identifier":"oai:scholarcommons.scu.edu:cseng_mstr-1058"},"canonical_url":"https://search.ndltd.org/etd/santa-clara/oai:scholarcommons.scu.edu:cseng_mstr-1058","repository":{"repo_id":"santa-clara","name":"Santa Clara University","base_url":"https://scholarcommons.scu.edu/do/oai/"},"display":{"title":"Efficient Inference Of Performance Models in OpenMP Applications","abstract":"Choosing the best OpenMP parameters such as thread count, scheduling type, and chunk size is essential for optimizing parallel program performance. One of the promising approaches is to infer a (pre-trained) performance model at runtime to determine the parameters to run OpenMP parallel regions. Such a performance prediction model can require programs’ code information such as intermediate representation (IR) and other at-runtime information (e.g., input sizes) to make a performance prediction. In such a scenario, extracting or querying the IR information at runtime can create a significant runtime overhead. This thesis proposes a compiler-asssited tuning framework that shifts IR extraction and instrumentation to compile time using custom LLVM passes, embedding static code features and enabling lightweight runtime inference just before parallel region execution. The approach reduces runtime overhead, and supports selective tuning based on input size and problem complexity. Experimental evaluation on Polybench and NPB benchmarks shows that compiler-assisted inference substantially reduces runtime overhead compared to runtime-only methods, making autotuning practical at scale. Optimizations including a Cython-based inference backend, batched inference calls, and static filtering further enhance efficiency.","abstract_html":"Choosing the best OpenMP parameters such as thread count, scheduling type, and chunk size is essential for optimizing parallel program performance. One of the promising approaches is to infer a (pre-trained) performance model at runtime to determine the parameters to run OpenMP parallel regions. Such a performance prediction model can require programs’ code information such as intermediate representation (IR) and other at-runtime information (e.g., input sizes) to make a performance prediction. In such a scenario, extracting or querying the IR information at runtime can create a significant runtime overhead. This thesis proposes a compiler-asssited tuning framework that shifts IR extraction and instrumentation to compile time using custom LLVM passes, embedding static code features and enabling lightweight runtime inference just before parallel region execution. The approach reduces runtime overhead, and supports selective tuning based on input size and problem complexity. Experimental evaluation on Polybench and NPB benchmarks shows that compiler-assisted inference substantially reduces runtime overhead compared to runtime-only methods, making autotuning practical at scale. Optimizations including a Cython-based inference backend, batched inference calls, and static filtering further enhance efficiency.","abstract_has_math":false,"creators":["Punjabi, Gaurav"],"institution":null,"degree_name":"Master of Science (MS)","degree_level":"Thesis","degree_discipline":"Computer Science and Engineering","degree_department":null,"school":null,"contributors":["Younghyun Cho"],"advisors":[],"committee_chairs":[],"committee_members":[],"year":null,"date_issued":"","date_published":null,"updated_at":"2026-11-27T05:35:40Z","subjects":["OpenMP autotuning","machine learning","LLVM intermediate representation","compile-time analysis","runtime inference","parallel programming","performance optimization","compiler instrumentation","Cython","static code analysis","Polybench","NPB","Computer Engineering","Engineering"],"languages":[],"rights":[],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://scholarcommons.scu.edu/cseng_mstr/58","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://scholarcommons.scu.edu/cseng_mstr/58","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Asanta-clara%3Aoai%3Ascholarcommons.scu.edu%3Acseng_mstr-1058","prefix":"oai_dc"},"source_record":{"url":"https://scholarcommons.scu.edu/do/oai/?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Ascholarcommons.scu.edu%3Acseng_mstr-1058","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor","label":"Contributor","values":["Younghyun Cho"]},{"key":"dc:creator","label":"Author","values":["Punjabi, Gaurav"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.available","label":"Dc Date Available","values":["2026-01-09T08:00:00Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2025-09-01T07:00:00Z"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science and Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science (MS)"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["OpenMP autotuning","machine learning","LLVM intermediate representation","compile-time analysis","runtime inference","parallel programming","performance optimization","compiler instrumentation","Cython","static code analysis","Polybench","NPB","Computer Engineering","Engineering"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://scholarcommons.scu.edu/cseng_mstr/58"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["Choosing the best OpenMP parameters such as thread count, scheduling type, and chunk size is essential for optimizing parallel program performance. One of the promising approaches is to infer a (pre-trained) performance model at runtime to determine the parameters to run OpenMP parallel regions. Such a performance prediction model can require programs’ code information such as intermediate representation (IR) and other at-runtime information (e.g., input sizes) to make a performance prediction. In such a scenario, extracting or querying the IR information at runtime can create a significant runtime overhead. This thesis proposes a compiler-asssited tuning framework that shifts IR extraction and instrumentation to compile time using custom LLVM passes, embedding static code features and enabling lightweight runtime inference just before parallel region execution. The approach reduces runtime overhead, and supports selective tuning based on input size and problem complexity. Experimental evaluation on Polybench and NPB benchmarks shows that compiler-assisted inference substantially reduces runtime overhead compared to runtime-only methods, making autotuning practical at scale. Optimizations including a Cython-based inference backend, batched inference calls, and static filtering further enhance efficiency."]},{"key":"dc:title","label":"Title","values":["Efficient Inference Of Performance Models in OpenMP Applications"]}]}],"canonical_facts":{"dc:contributor":["Younghyun Cho"],"dc:creator":["Punjabi, Gaurav"],"dc:date.available":["2026-01-09T08:00:00Z"],"dc:date.created":["2025-09-01T07:00:00Z"],"dc:description.abstract":["Choosing the best OpenMP parameters such as thread count, scheduling type, and chunk size is essential for optimizing parallel program performance. One of the promising approaches is to infer a (pre-trained) performance model at runtime to determine the parameters to run OpenMP parallel regions. Such a performance prediction model can require programs’ code information such as intermediate representation (IR) and other at-runtime information (e.g., input sizes) to make a performance prediction. In such a scenario, extracting or querying the IR information at runtime can create a significant runtime overhead. This thesis proposes a compiler-asssited tuning framework that shifts IR extraction and instrumentation to compile time using custom LLVM passes, embedding static code features and enabling lightweight runtime inference just before parallel region execution. The approach reduces runtime overhead, and supports selective tuning based on input size and problem complexity. Experimental evaluation on Polybench and NPB benchmarks shows that compiler-assisted inference substantially reduces runtime overhead compared to runtime-only methods, making autotuning practical at scale. Optimizations including a Cython-based inference backend, batched inference calls, and static filtering further enhance efficiency."],"dc:identifier":["https://scholarcommons.scu.edu/cseng_mstr/58"],"dc:subject":["OpenMP autotuning","machine learning","LLVM intermediate representation","compile-time analysis","runtime inference","parallel programming","performance optimization","compiler instrumentation","Cython","static code analysis","Polybench","NPB","Computer Engineering","Engineering"],"dc:title":["Efficient Inference Of Performance Models in OpenMP Applications"],"thesis:degree_discipline":["Computer Science and Engineering"],"thesis:degree_level":["Thesis"],"thesis:degree_name":["Master of Science (MS)"]},"updated_at":"2026-11-27T05:35:40Z"}