Show simple item record

dc.contributor.authorWon, Jaeyeon
dc.contributor.authorAhrens, Willow
dc.contributor.authorCollin, Teodoro Fields
dc.contributor.authorEmer, Joel S.
dc.contributor.authorAmarasinghe, Saman
dc.date.accessioned2025-12-04T20:01:26Z
dc.date.available2025-12-04T20:01:26Z
dc.date.issued2025-10-09
dc.identifier.issn2475-1421
dc.identifier.urihttps://hdl.handle.net/1721.1/164202
dc.description.abstractThis paper introduces the continuous tensor abstraction, allowing indices to take real-number values (e.g., A[3.14]). It also presents continuous tensor algebra expressions, such as Cx,y = Ax,y ∗ Bx,y, where indices are defined over a continuous domain. This work expands the traditional tensor model to include continuous tensors. Our implementation supports piecewise-constant tensors, on which infinite domains can be processed in finite time. We also introduce a new tensor format for efficient storage and a code generation technique for automatic kernel generation. For the first time, our abstraction expresses domains like computational geometry and computer graphics in the language of tensor programming. Our approach demonstrates competitive or better performance to hand-optimized kernels in leading libraries across diverse applications. Compared to hand-implemented libraries on a CPU, our compiler-based implementation achieves an average speedup of 9.20× on 2D radius search with ∼60× fewer lines of code (LoC), 1.22× on genomic interval overlapping queries (with ∼18× LoC saving), and 1.69× on trilinear interpolation in Neural Radiance Field (with ∼6× LoC saving).en_US
dc.publisherACMen_US
dc.relation.isversionofhttps://doi.org/10.1145/3763146en_US
dc.rightsCreative Commons Attributionen_US
dc.rights.urihttps://creativecommons.org/licenses/by/4.0/en_US
dc.sourceAssociation for Computing Machineryen_US
dc.titleThe Continuous Tensor Abstraction: Where Indices Are Realen_US
dc.typeArticleen_US
dc.identifier.citationJaeyeon Won, Willow Ahrens, Teodoro Fields Collin, Joel S. Emer, and Saman Amarasinghe. 2025. The Continuous Tensor Abstraction: Where Indices Are Real. Proc. ACM Program. Lang. 9, OOPSLA2, Article 368 (October 2025), 29 pages.en_US
dc.contributor.departmentMassachusetts Institute of Technology. Department of Electrical Engineering and Computer Scienceen_US
dc.relation.journalProceedings of the ACM on Programming Languagesen_US
dc.identifier.mitlicensePUBLISHER_POLICY
dc.eprint.versionFinal published versionen_US
dc.type.urihttp://purl.org/eprint/type/JournalArticleen_US
eprint.statushttp://purl.org/eprint/status/PeerRevieweden_US
dc.date.updated2025-11-01T07:57:13Z
dc.language.rfc3066en
dc.rights.holderThe author(s)
dspace.date.submission2025-11-01T07:57:14Z
mit.journal.volume9en_US
mit.journal.issueOOPSLA2en_US
mit.licensePUBLISHER_CC
mit.metadata.statusAuthority Work and Publication Information Neededen_US


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record