Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1607.00291

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Mathematical Software

arXiv:1607.00291 (cs)
[Submitted on 1 Jul 2016 (v1), last revised 11 Jul 2017 (this version, v4)]

Title:High-Performance Tensor Contraction without Transposition

Authors:Devin A. Matthews
View a PDF of the paper titled High-Performance Tensor Contraction without Transposition, by Devin A. Matthews
View PDF
Abstract:Tensor computations--in particular tensor contraction (TC)--are important kernels in many scientific computing applications. Due to the fundamental similarity of TC to matrix multiplication (MM) and to the availability of optimized implementations such as the BLAS, tensor operations have traditionally been implemented in terms of BLAS operations, incurring both a performance and a storage overhead. Instead, we implement TC using the flexible BLIS framework, which allows for transposition (reshaping) of the tensor to be fused with internal partitioning and packing operations, requiring no explicit transposition operations or additional workspace. This implementation, TBLIS, achieves performance approaching that of MM, and in some cases considerably higher than that of traditional TC. Our implementation supports multithreading using an approach identical to that used for MM in BLIS, with similar performance characteristics. The complexity of managing tensor-to-matrix transformations is also handled automatically in our approach, greatly simplifying its use in scientific applications.
Comments: 24 pages, 8 figures, uses pgfplots
Subjects: Mathematical Software (cs.MS); Distributed, Parallel, and Cluster Computing (cs.DC); Performance (cs.PF)
MSC classes: 15A69
ACM classes: G.4
Cite as: arXiv:1607.00291 [cs.MS]
  (or arXiv:1607.00291v4 [cs.MS] for this version)
  https://doi.org/10.48550/arXiv.1607.00291
arXiv-issued DOI via DataCite
Journal reference: SIAM Journal on Scientific Computing 2018 40:1, C1-C24
Related DOI: https://doi.org/10.1137/16M108968X
DOI(s) linking to related resources

Submission history

From: Devin Matthews [view email]
[v1] Fri, 1 Jul 2016 15:37:59 UTC (107 KB)
[v2] Wed, 17 Aug 2016 21:16:54 UTC (177 KB)
[v3] Fri, 10 Feb 2017 20:49:01 UTC (182 KB)
[v4] Tue, 11 Jul 2017 15:03:52 UTC (182 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled High-Performance Tensor Contraction without Transposition, by Devin A. Matthews
  • View PDF
  • TeX Source
  • Other Formats
view license
Current browse context:
cs.MS
< prev   |   next >
new | recent | 2016-07
Change to browse by:
cs
cs.DC
cs.PF

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Devin Matthews
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack