{"id":{"repo_id":"mit","oai_identifier":"oai:dspace.mit.edu:1721.1/123152"},"canonical_url":"https://search.ndltd.org/etd/mit/oai:dspace.mit.edu:1721.1/123152","repository":{"repo_id":"mit","name":"MIT","base_url":"https://dspace.mit.edu/oai/request"},"display":{"title":"Vector-aware space cuts in stencil computations","abstract":"This thesis presents work on how cache-efficient serial and parallel stencil computations can be optimized to efficiently use vector instructions on modern general-purpose processors. A stencil computation iteratively updates each point of a d-dimensional grid based on a function of itself and its nearby neighbors. Stencil computations have a wide range of applications from simulation to machine learning, and are often time-intensive. Although a stencil can be computed by repeatedly looping over its d- dimensional grid, previous studies have shown that various parallel and cache-efficient algorithms, including recursive cache-oblivious algorithms, can compute stencils more efficiently. However, these recursive cache-oblivious algorithms can disrupt vectorization and increase the number of instructions required for the computation. Vector-aware space cuts can be used to preserve vectorization in serial and parallel cache-oblivious algorithms for stencil computations, thereby improving their performance. I present improved theoretical analyses of the commonly used and efficient parallel cache-oblivious stencil algorithm due to Frigo and Strumpen to account for vector operations, and we show that vector-aware space cuts improve the asymptotic work -- total computation -- of the algorithm by a factor of the maximum vector width. I present an improved analysis of the algorithm's span -- length of a longest path of dependencies in the computation -- to be O(rhw1 / lg(2(r??1))), where r is the number of trapezoids created in a parallel cut. I show that these theoretical improvements are borne out in practice by demonstrating up to a 1:61 X speed-up in the serial stencil computation and a 1:08 X speed-up in the parallel computation.","abstract_html":"This thesis presents work on how cache-efficient serial and parallel stencil computations can be optimized to efficiently use vector instructions on modern general-purpose processors. A stencil computation iteratively updates each point of a d-dimensional grid based on a function of itself and its nearby neighbors. Stencil computations have a wide range of applications from simulation to machine learning, and are often time-intensive. Although a stencil can be computed by repeatedly looping over its d- dimensional grid, previous studies have shown that various parallel and cache-efficient algorithms, including recursive cache-oblivious algorithms, can compute stencils more efficiently. However, these recursive cache-oblivious algorithms can disrupt vectorization and increase the number of instructions required for the computation. Vector-aware space cuts can be used to preserve vectorization in serial and parallel cache-oblivious algorithms for stencil computations, thereby improving their performance. I present improved theoretical analyses of the commonly used and efficient parallel cache-oblivious stencil algorithm due to Frigo and Strumpen to account for vector operations, and we show that vector-aware space cuts improve the asymptotic work -- total computation -- of the algorithm by a factor of the maximum vector width. I present an improved analysis of the algorithm&#x27;s span -- length of a longest path of dependencies in the computation -- to be O(rhw1 / lg(2(r??1))), where r is the number of trapezoids created in a parallel cut. I show that these theoretical improvements are borne out in practice by demonstrating up to a 1:61 X speed-up in the serial stencil computation and a 1:08 X speed-up in the parallel computation.","abstract_has_math":false,"creators":["Ren, Stephanie,M. Eng.Massachusetts Institute of Technology."],"institution":"Massachusetts Institute of Technology","degree_name":"Master","degree_level":null,"degree_discipline":null,"degree_department":"EECS","school":null,"contributors":[],"advisors":["Tao B. Schardl and Helen Xu."],"committee_chairs":[],"committee_members":[],"year":2019,"date_issued":"2019","date_published":"2019","updated_at":"2026-11-27T04:20:04Z","subjects":["Electrical Engineering and Computer Science."],"languages":["en"],"rights":["MIT theses are protected by copyright. They may be viewed, downloaded, or printed from this source but further reproduction or distribution in any format is prohibited without written permission."],"rights_urls":["http://dspace.mit.edu/handle/1721.1/7582"],"identifier_entries":[{"key":"dc:identifier.oclc","label":"OCLC","values":["1128868615"],"render_values":[{"text":"1128868615","href":null,"code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://hdl.handle.net/1721.1/123152","outbound_label":"Handle","outbound_source":"dc:identifier.uri","record_url":"https://hdl.handle.net/1721.1/123152","record_label":"Repository record","record_kind":"handle","record_source":"dc:identifier.uri","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%3Amit%3Aoai%3Adspace.mit.edu%3A1721.1%2F123152","prefix":"oai_dc"},"source_record":{"url":"https://dspace.mit.edu/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Adspace.mit.edu%3A1721.1%2F123152","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Tao B. Schardl and Helen Xu."]},{"key":"dc:contributor.department","label":"Department","values":["EECS"]},{"key":"dc:contributor.other","label":"Dc Contributor Other","values":["Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science."]},{"key":"dc:creator","label":"Author","values":["Ren, Stephanie,M. Eng.Massachusetts Institute of Technology."]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2019-12-05T18:06:19Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2019-12-05T18:06:19Z"]},{"key":"dc:date.copyright","label":"Dc Date Copyright","values":["2019"]},{"key":"dc:date.issued","label":"Date","values":["2019"]},{"key":"dc:publisher","label":"Institution","values":["Massachusetts Institute of Technology"]},{"key":"dc:type","label":"Dc Type","values":["Thesis"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["Electrical Engineering and Computer Science."]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["en"]},{"key":"dc:rights","label":"Dc Rights","values":["MIT theses are protected by copyright. They may be viewed, downloaded, or printed from this source but further reproduction or distribution in any format is prohibited without written permission."]},{"key":"dc:rights.uri","label":"Rights URI","values":["http://dspace.mit.edu/handle/1721.1/7582"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.oclc","label":"OCLC","values":["1128868615"]},{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/1721.1/123152"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"cerif:openaire","label":"Cerif Openaire","values":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"1dd20559-72d8-4849-ab7d-828c1e72ff7b\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>Vector-aware space cuts in stencil computations</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2019</PublicationDate> <Authors> <Author> <DisplayName>Ren, Stephanie,M. Eng.Massachusetts Institute of Technology.</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Massachusetts Institute of Technology</DisplayName> <OrgUnit /> </Publisher> </Publishers> <License>http://dspace.mit.edu/handle/1721.1/7582</License> <Keyword>Electrical Engineering and Computer Science.</Keyword> <Abstract>This thesis presents work on how cache-efficient serial and parallel stencil computations can be optimized to efficiently use vector instructions on modern general-purpose processors. A stencil computation iteratively updates each point of a d-dimensional grid based on a function of itself and its nearby neighbors. Stencil computations have a wide range of applications from simulation to machine learning, and are often time-intensive. Although a stencil can be computed by repeatedly looping over its d- dimensional grid, previous studies have shown that various parallel and cache-efficient algorithms, including recursive cache-oblivious algorithms, can compute stencils more efficiently. However, these recursive cache-oblivious algorithms can disrupt vectorization and increase the number of instructions required for the computation. Vector-aware space cuts can be used to preserve vectorization in serial and parallel cache-oblivious algorithms for stencil computations, thereby improving their performance. I present improved theoretical analyses of the commonly used and efficient parallel cache-oblivious stencil algorithm due to Frigo and Strumpen to account for vector operations, and we show that vector-aware space cuts improve the asymptotic work -- total computation -- of the algorithm by a factor of the maximum vector width. I present an improved analysis of the algorithm's span -- length of a longest path of dependencies in the computation -- to be O(rhw1 / lg(2(r??1))), where r is the number of trapezoids created in a parallel cut. I show that these theoretical improvements are borne out in practice by demonstrating up to a 1:61 X speed-up in the serial stencil computation and a 1:08 X speed-up in the parallel computation.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"]},{"key":"dc:description","label":"Description","values":["This electronic version was submitted by the student author. The certified thesis is available in the Institute Archives and Special Collections.","Thesis: M. Eng., Massachusetts Institute of Technology, Department of Electrical Engineering and Computer Science, 2019","Cataloged from student-submitted PDF version of thesis.","Includes bibliographical references (pages 71-76)."]},{"key":"dc:description.abstract","label":"Abstract","values":["This thesis presents work on how cache-efficient serial and parallel stencil computations can be optimized to efficiently use vector instructions on modern general-purpose processors. A stencil computation iteratively updates each point of a d-dimensional grid based on a function of itself and its nearby neighbors. Stencil computations have a wide range of applications from simulation to machine learning, and are often time-intensive. Although a stencil can be computed by repeatedly looping over its d- dimensional grid, previous studies have shown that various parallel and cache-efficient algorithms, including recursive cache-oblivious algorithms, can compute stencils more efficiently. However, these recursive cache-oblivious algorithms can disrupt vectorization and increase the number of instructions required for the computation. Vector-aware space cuts can be used to preserve vectorization in serial and parallel cache-oblivious algorithms for stencil computations, thereby improving their performance. I present improved theoretical analyses of the commonly used and efficient parallel cache-oblivious stencil algorithm due to Frigo and Strumpen to account for vector operations, and we show that vector-aware space cuts improve the asymptotic work -- total computation -- of the algorithm by a factor of the maximum vector width. I present an improved analysis of the algorithm's span -- length of a longest path of dependencies in the computation -- to be O(rhw1 / lg(2(r??1))), where r is the number of trapezoids created in a parallel cut. I show that these theoretical improvements are borne out in practice by demonstrating up to a 1:61 X speed-up in the serial stencil computation and a 1:08 X speed-up in the parallel computation."]},{"key":"dc:description.collection","label":"Dc Description Collection","values":["M.Eng. Massachusetts Institute of Technology, Department of Electrical Engineering and Computer Science"]},{"key":"dc:description.degree","label":"Dc Description Degree","values":["M.Eng."]},{"key":"dc:description.imported","label":"Dc Description Imported","values":["2019-12-05T18:06:18Z"]},{"key":"dc:description.statementofresponsibility","label":"Dc Description Statementofresponsibility","values":["by Stephanie Ren."]},{"key":"dc:format.extent","label":"Dc Format Extent","values":["76 pages"]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Vector-aware space cuts in stencil computations"]},{"key":"dspace:entity.type","label":"Dspace Entity Type","values":["Publication"]},{"key":"others:access_status","label":"Others Access Status","values":["unknown"]}]}],"canonical_facts":{"cerif:openaire":["<Publication xmlns=\"https://www.openaire.eu/cerif-profile/1.1/\" id=\"1dd20559-72d8-4849-ab7d-828c1e72ff7b\"> <Type xmlns=\"https://www.openaire.eu/cerif-profile/vocab/COAR_Publication_Types\">http://purl.org/coar/resource_type/c_1843</Type> <Language>en</Language> <Title>Vector-aware space cuts in stencil computations</Title> <PublishedIn> <Publication> </Publication> </PublishedIn> <PublicationDate>2019</PublicationDate> <Authors> <Author> <DisplayName>Ren, Stephanie,M. Eng.Massachusetts Institute of Technology.</DisplayName> <Affiliation> <OrgUnit> </OrgUnit> </Affiliation> </Author> </Authors> <Editors> </Editors> <Publishers> <Publisher> <DisplayName>Massachusetts Institute of Technology</DisplayName> <OrgUnit /> </Publisher> </Publishers> <License>http://dspace.mit.edu/handle/1721.1/7582</License> <Keyword>Electrical Engineering and Computer Science.</Keyword> <Abstract>This thesis presents work on how cache-efficient serial and parallel stencil computations can be optimized to efficiently use vector instructions on modern general-purpose processors. A stencil computation iteratively updates each point of a d-dimensional grid based on a function of itself and its nearby neighbors. Stencil computations have a wide range of applications from simulation to machine learning, and are often time-intensive. Although a stencil can be computed by repeatedly looping over its d- dimensional grid, previous studies have shown that various parallel and cache-efficient algorithms, including recursive cache-oblivious algorithms, can compute stencils more efficiently. However, these recursive cache-oblivious algorithms can disrupt vectorization and increase the number of instructions required for the computation. Vector-aware space cuts can be used to preserve vectorization in serial and parallel cache-oblivious algorithms for stencil computations, thereby improving their performance. I present improved theoretical analyses of the commonly used and efficient parallel cache-oblivious stencil algorithm due to Frigo and Strumpen to account for vector operations, and we show that vector-aware space cuts improve the asymptotic work -- total computation -- of the algorithm by a factor of the maximum vector width. I present an improved analysis of the algorithm's span -- length of a longest path of dependencies in the computation -- to be O(rhw1 / lg(2(r??1))), where r is the number of trapezoids created in a parallel cut. I show that these theoretical improvements are borne out in practice by demonstrating up to a 1:61 X speed-up in the serial stencil computation and a 1:08 X speed-up in the parallel computation.</Abstract> <Access xmlns=\"http://purl.org/coar/access_right\" > </Access> </Publication>"],"dc:contributor.advisor":["Tao B. Schardl and Helen Xu."],"dc:contributor.department":["EECS"],"dc:contributor.other":["Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science."],"dc:creator":["Ren, Stephanie,M. Eng.Massachusetts Institute of Technology."],"dc:date.accessioned":["2019-12-05T18:06:19Z"],"dc:date.available":["2019-12-05T18:06:19Z"],"dc:date.copyright":["2019"],"dc:date.issued":["2019"],"dc:description":["This electronic version was submitted by the student author. The certified thesis is available in the Institute Archives and Special Collections.","Thesis: M. Eng., Massachusetts Institute of Technology, Department of Electrical Engineering and Computer Science, 2019","Cataloged from student-submitted PDF version of thesis.","Includes bibliographical references (pages 71-76)."],"dc:description.abstract":["This thesis presents work on how cache-efficient serial and parallel stencil computations can be optimized to efficiently use vector instructions on modern general-purpose processors. A stencil computation iteratively updates each point of a d-dimensional grid based on a function of itself and its nearby neighbors. Stencil computations have a wide range of applications from simulation to machine learning, and are often time-intensive. Although a stencil can be computed by repeatedly looping over its d- dimensional grid, previous studies have shown that various parallel and cache-efficient algorithms, including recursive cache-oblivious algorithms, can compute stencils more efficiently. However, these recursive cache-oblivious algorithms can disrupt vectorization and increase the number of instructions required for the computation. Vector-aware space cuts can be used to preserve vectorization in serial and parallel cache-oblivious algorithms for stencil computations, thereby improving their performance. I present improved theoretical analyses of the commonly used and efficient parallel cache-oblivious stencil algorithm due to Frigo and Strumpen to account for vector operations, and we show that vector-aware space cuts improve the asymptotic work -- total computation -- of the algorithm by a factor of the maximum vector width. I present an improved analysis of the algorithm's span -- length of a longest path of dependencies in the computation -- to be O(rhw1 / lg(2(r??1))), where r is the number of trapezoids created in a parallel cut. I show that these theoretical improvements are borne out in practice by demonstrating up to a 1:61 X speed-up in the serial stencil computation and a 1:08 X speed-up in the parallel computation."],"dc:description.collection":["M.Eng. Massachusetts Institute of Technology, Department of Electrical Engineering and Computer Science"],"dc:description.degree":["M.Eng."],"dc:description.imported":["2019-12-05T18:06:18Z"],"dc:description.statementofresponsibility":["by Stephanie Ren."],"dc:format.extent":["76 pages"],"dc:format.mimetype":["application/pdf"],"dc:identifier.oclc":["1128868615"],"dc:identifier.uri":["https://hdl.handle.net/1721.1/123152"],"dc:language.iso":["en"],"dc:publisher":["Massachusetts Institute of Technology"],"dc:rights":["MIT theses are protected by copyright. They may be viewed, downloaded, or printed from this source but further reproduction or distribution in any format is prohibited without written permission."],"dc:rights.uri":["http://dspace.mit.edu/handle/1721.1/7582"],"dc:subject":["Electrical Engineering and Computer Science."],"dc:title":["Vector-aware space cuts in stencil computations"],"dc:type":["Thesis"],"dspace:entity.type":["Publication"],"others:access_status":["unknown"],"thesis:degree_name":["Master"]},"updated_at":"2026-11-27T04:20:04Z"}