Show simple item record

dc.contributor.authorChou, Stephen
dc.contributor.authorKjolstad, Fredrik
dc.contributor.authorAmarasinghe, Saman
dc.date.accessioned2021-10-27T20:10:37Z
dc.date.available2021-10-27T20:10:37Z
dc.date.issued2018
dc.identifier.urihttps://hdl.handle.net/1721.1/135077
dc.description.abstract<jats:p>This paper shows how to build a sparse tensor algebra compiler that is agnostic to tensor formats (data layouts). We develop an interface that describes formats in terms of their capabilities and properties, and show how to build a modular code generator where new formats can be added as plugins. We then describe six implementations of the interface that compose to form the dense, CSR/CSF, COO, DIA, ELL, and HASH tensor formats and countless variants thereof. With these implementations at hand, our code generator can generate code to compute any tensor algebra expression on any combination of the aforementioned formats.</jats:p> <jats:p>To demonstrate our technique, we have implemented it in the taco tensor algebra compiler. Our modular code generator design makes it simple to add support for new tensor formats, and the performance of the generated code is competitive with hand-optimized implementations. Furthermore, by extending taco to support a wider range of formats specialized for different application and data characteristics, we can improve end-user application performance. For example, if input data is provided in the COO format, our technique allows computing a single matrix-vector multiplication directly with the data in COO, which is up to 3.6× faster than by first converting the data to CSR.</jats:p>
dc.language.isoen
dc.publisherAssociation for Computing Machinery (ACM)
dc.relation.isversionof10.1145/3276493
dc.rightsCreative Commons Attribution 4.0 International license
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/
dc.sourceACM
dc.titleFormat abstraction for sparse tensor algebra compilers
dc.typeArticle
dc.contributor.departmentMassachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory
dc.relation.journalProceedings of the ACM on Programming Languages
dc.eprint.versionFinal published version
dc.type.urihttp://purl.org/eprint/type/ConferencePaper
eprint.statushttp://purl.org/eprint/status/NonPeerReviewed
dc.date.updated2019-05-03T18:32:23Z
dspace.orderedauthorsChou, S; Kjolstad, F; Amarasinghe, S
dspace.date.submission2019-05-03T18:32:24Z
mit.journal.volume2
mit.journal.issueOOPSLA
mit.metadata.statusAuthority Work and Publication Information Needed


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record