{"id":{"repo_id":"ohiolink","oai_identifier":"oai:etd.ohiolink.edu:osu1408969385"},"canonical_url":"https://search.ndltd.org/etd/ohiolink/oai:etd.ohiolink.edu:osu1408969385","repository":{"repo_id":"ohiolink","name":"OhioLINK","base_url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai"},"display":{"title":"Vectorization and Register Reuse in High Performance Computing","abstract":"Automatic vectorization is crucial for attaining maximum performance onmodern processors in a performance portable fashion. There issignificant room for improvement over techniques in existing compilers,as demonstrated in this work, through careful synthesis of vectorizedcode and application of aggressive performance optimizations, especiallyin the domains of tensor contractions and stencils. Tensor contractionsare a class of computation used extensively in computational chemistrywhich are essentially higher-dimension matrix multiplication. Vectorcode synthesis for tensor contractions has been explored, utilizing anovel in-register transpose for efficiently accessing tensors with SIMDvectors along any dimension. Aggressive use of unroll-and-jam and looppermutation optimizations is able to increase register reuse andamortize the cost of expensive vector operations.Stencils are a critical part of many scientific codes including PDEsolvers and image processing. This work presents a framework forreordering operations in regular loop computations, such as stencils, byutilizing the associativity and commutativity of operations. Thefreedom to reorder computations involving associative operators has beenwidely recognized and exploited in designing parallel algorithms and toa more limited extent in optimizing compilers. The reordering ofoperations enables substantially improved register reuse through reducedregister pressure, resulting in up to 4x performance improvement forexisting benchmarks. The multidimensional retiming formalismcharacterizes the space of valid implementations in conjunction withother transformations from the vector code synthesis used for tensorcontractions.Given the transformations used to optimize high performance software,there are many parameters which create a space of possible variants fromwhich the best, or nearly best, candidate must be found. In addition toauto-tuning over the space of synthesized vector codes, two models havebeen developed for selecting a high performance variant at compile time. The first model is based on estimating the total number of SIMDinstructions executed and demonstrated and for a set of benchmarkkernels achieved a mean performance of 73% of the best observedperformance across multiple architectures and compilers. The secondmodel used features extracted from the assembly code generated by thecompiler which were then processed by machine learning algorithms. Byconsidering a linear combination of the most successful models, a meanperformance of 89% of the best observed was achieved in the same testsas the first model.This research has shown that integration of tile code generationtechniques with existing automatic tiling and parallelizing algorithmsbased on the polyhedral model can produce significant performanceimprovements on modern architectures such as Intel's Many IntegratedCore. Additionally, these techniques have been applied in productionsoftware to automatically produce high performance code on multiplearchitectures for the dominant computational kernel in MADNESS.","abstract_html":"Automatic vectorization is crucial for attaining maximum performance onmodern processors in a performance portable fashion. There issignificant room for improvement over techniques in existing compilers,as demonstrated in this work, through careful synthesis of vectorizedcode and application of aggressive performance optimizations, especiallyin the domains of tensor contractions and stencils. Tensor contractionsare a class of computation used extensively in computational chemistrywhich are essentially higher-dimension matrix multiplication. Vectorcode synthesis for tensor contractions has been explored, utilizing anovel in-register transpose for efficiently accessing tensors with SIMDvectors along any dimension. Aggressive use of unroll-and-jam and looppermutation optimizations is able to increase register reuse andamortize the cost of expensive vector operations.Stencils are a critical part of many scientific codes including PDEsolvers and image processing. This work presents a framework forreordering operations in regular loop computations, such as stencils, byutilizing the associativity and commutativity of operations. Thefreedom to reorder computations involving associative operators has beenwidely recognized and exploited in designing parallel algorithms and toa more limited extent in optimizing compilers. The reordering ofoperations enables substantially improved register reuse through reducedregister pressure, resulting in up to 4x performance improvement forexisting benchmarks. The multidimensional retiming formalismcharacterizes the space of valid implementations in conjunction withother transformations from the vector code synthesis used for tensorcontractions.Given the transformations used to optimize high performance software,there are many parameters which create a space of possible variants fromwhich the best, or nearly best, candidate must be found. In addition toauto-tuning over the space of synthesized vector codes, two models havebeen developed for selecting a high performance variant at compile time. The first model is based on estimating the total number of SIMDinstructions executed and demonstrated and for a set of benchmarkkernels achieved a mean performance of 73% of the best observedperformance across multiple architectures and compilers. The secondmodel used features extracted from the assembly code generated by thecompiler which were then processed by machine learning algorithms. Byconsidering a linear combination of the most successful models, a meanperformance of 89% of the best observed was achieved in the same testsas the first model.This research has shown that integration of tile code generationtechniques with existing automatic tiling and parallelizing algorithmsbased on the polyhedral model can produce significant performanceimprovements on modern architectures such as Intel&#x27;s Many IntegratedCore. Additionally, these techniques have been applied in productionsoftware to automatically produce high performance code on multiplearchitectures for the dominant computational kernel in MADNESS.","abstract_has_math":false,"creators":["Stock, Kevin Alan"],"institution":"The Ohio State University","degree_name":"Doctor of Philosophy","degree_level":"doctoral","degree_discipline":"Computer Science and Engineering","degree_department":null,"school":null,"contributors":[],"advisors":["Sadayappan, P"],"committee_chairs":[],"committee_members":[],"year":2014,"date_issued":"2014","date_published":"2014","updated_at":"2026-11-27T04:39:58Z","subjects":["Computer Science","Computer Engineering","SIMD","High Performance Computing","Autovectorization","Tensor contractions","Stencils"],"languages":["English"],"rights":["unrestricted","This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center."],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"http://rave.ohiolink.edu/etdc/view?acc_num=osu1408969385","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"http://rave.ohiolink.edu/etdc/view?acc_num=osu1408969385","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%3Aohiolink%3Aoai%3Aetd.ohiolink.edu%3Aosu1408969385","prefix":"oai_dc"},"source_record":{"url":"https://etd.ohiolink.edu/acprod/odb_etd/ws/oai/oai?verb=GetRecord&metadataPrefix=oai_etdms&identifier=oai%3Aetd.ohiolink.edu%3Aosu1408969385","prefix":"oai_etdms"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Sadayappan, P"]},{"key":"dc:creator","label":"Author","values":["Stock, Kevin Alan"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2014"]},{"key":"dc:publisher","label":"Institution","values":["The Ohio State University / OhioLINK"]},{"key":"dc:type","label":"Dc Type","values":["Electronic Thesis or Dissertation"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science and Engineering"]},{"key":"thesis:degree_level","label":"Degree Level","values":["doctoral"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Doctor of Philosophy"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["The Ohio State University"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Computer Science","Computer Engineering","SIMD","High Performance Computing","Autovectorization","Tensor contractions","Stencils"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["English"]},{"key":"dc:rights","label":"Dc Rights","values":["unrestricted","This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center."]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["http://rave.ohiolink.edu/etdc/view?acc_num=osu1408969385"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["Automatic vectorization is crucial for attaining maximum performance onmodern processors in a performance portable fashion. There issignificant room for improvement over techniques in existing compilers,as demonstrated in this work, through careful synthesis of vectorizedcode and application of aggressive performance optimizations, especiallyin the domains of tensor contractions and stencils. Tensor contractionsare a class of computation used extensively in computational chemistrywhich are essentially higher-dimension matrix multiplication. Vectorcode synthesis for tensor contractions has been explored, utilizing anovel in-register transpose for efficiently accessing tensors with SIMDvectors along any dimension. Aggressive use of unroll-and-jam and looppermutation optimizations is able to increase register reuse andamortize the cost of expensive vector operations.Stencils are a critical part of many scientific codes including PDEsolvers and image processing. This work presents a framework forreordering operations in regular loop computations, such as stencils, byutilizing the associativity and commutativity of operations. Thefreedom to reorder computations involving associative operators has beenwidely recognized and exploited in designing parallel algorithms and toa more limited extent in optimizing compilers. The reordering ofoperations enables substantially improved register reuse through reducedregister pressure, resulting in up to 4x performance improvement forexisting benchmarks. The multidimensional retiming formalismcharacterizes the space of valid implementations in conjunction withother transformations from the vector code synthesis used for tensorcontractions.Given the transformations used to optimize high performance software,there are many parameters which create a space of possible variants fromwhich the best, or nearly best, candidate must be found. In addition toauto-tuning over the space of synthesized vector codes, two models havebeen developed for selecting a high performance variant at compile time. The first model is based on estimating the total number of SIMDinstructions executed and demonstrated and for a set of benchmarkkernels achieved a mean performance of 73% of the best observedperformance across multiple architectures and compilers. The secondmodel used features extracted from the assembly code generated by thecompiler which were then processed by machine learning algorithms. Byconsidering a linear combination of the most successful models, a meanperformance of 89% of the best observed was achieved in the same testsas the first model.This research has shown that integration of tile code generationtechniques with existing automatic tiling and parallelizing algorithmsbased on the polyhedral model can produce significant performanceimprovements on modern architectures such as Intel's Many IntegratedCore. Additionally, these techniques have been applied in productionsoftware to automatically produce high performance code on multiplearchitectures for the dominant computational kernel in MADNESS."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf","p.172","5.08 MB"]},{"key":"dc:title","label":"Title","values":["Vectorization and Register Reuse in High Performance Computing"]}]}],"canonical_facts":{"dc:contributor.advisor":["Sadayappan, P"],"dc:creator":["Stock, Kevin Alan"],"dc:date":["2014"],"dc:description":["Automatic vectorization is crucial for attaining maximum performance onmodern processors in a performance portable fashion. There issignificant room for improvement over techniques in existing compilers,as demonstrated in this work, through careful synthesis of vectorizedcode and application of aggressive performance optimizations, especiallyin the domains of tensor contractions and stencils. Tensor contractionsare a class of computation used extensively in computational chemistrywhich are essentially higher-dimension matrix multiplication. Vectorcode synthesis for tensor contractions has been explored, utilizing anovel in-register transpose for efficiently accessing tensors with SIMDvectors along any dimension. Aggressive use of unroll-and-jam and looppermutation optimizations is able to increase register reuse andamortize the cost of expensive vector operations.Stencils are a critical part of many scientific codes including PDEsolvers and image processing. This work presents a framework forreordering operations in regular loop computations, such as stencils, byutilizing the associativity and commutativity of operations. Thefreedom to reorder computations involving associative operators has beenwidely recognized and exploited in designing parallel algorithms and toa more limited extent in optimizing compilers. The reordering ofoperations enables substantially improved register reuse through reducedregister pressure, resulting in up to 4x performance improvement forexisting benchmarks. The multidimensional retiming formalismcharacterizes the space of valid implementations in conjunction withother transformations from the vector code synthesis used for tensorcontractions.Given the transformations used to optimize high performance software,there are many parameters which create a space of possible variants fromwhich the best, or nearly best, candidate must be found. In addition toauto-tuning over the space of synthesized vector codes, two models havebeen developed for selecting a high performance variant at compile time. The first model is based on estimating the total number of SIMDinstructions executed and demonstrated and for a set of benchmarkkernels achieved a mean performance of 73% of the best observedperformance across multiple architectures and compilers. The secondmodel used features extracted from the assembly code generated by thecompiler which were then processed by machine learning algorithms. Byconsidering a linear combination of the most successful models, a meanperformance of 89% of the best observed was achieved in the same testsas the first model.This research has shown that integration of tile code generationtechniques with existing automatic tiling and parallelizing algorithmsbased on the polyhedral model can produce significant performanceimprovements on modern architectures such as Intel's Many IntegratedCore. Additionally, these techniques have been applied in productionsoftware to automatically produce high performance code on multiplearchitectures for the dominant computational kernel in MADNESS."],"dc:format":["application/pdf","p.172","5.08 MB"],"dc:identifier":["http://rave.ohiolink.edu/etdc/view?acc_num=osu1408969385"],"dc:language":["English"],"dc:publisher":["The Ohio State University / OhioLINK"],"dc:rights":["unrestricted","This thesis or dissertation is protected by copyright: some rights reserved. It is licensed for use under a Creative Commons license. Specific terms and permissions are available from this document's record in the OhioLINK ETD Center."],"dc:subject":["Computer Science","Computer Engineering","SIMD","High Performance Computing","Autovectorization","Tensor contractions","Stencils"],"dc:title":["Vectorization and Register Reuse in High Performance Computing"],"dc:type":["Electronic Thesis or Dissertation"],"thesis:degree_discipline":["Computer Science and Engineering"],"thesis:degree_level":["doctoral"],"thesis:degree_name":["Doctor of Philosophy"],"thesis:institution_name":["The Ohio State University"]},"updated_at":"2026-11-27T04:39:58Z"}