hottub.patents
US 12,373,515 B2#3483854 Most CitedActiveUnited States (USPTO)Utility

Computational primitives using a matrix multiplication accelerator

0Forward Citations (#3483854 Global)
0.0/yrCitation Velocity (#3483854 Global)
0.00Citation PageRank (#3483854 Global)
40Prior Art Cited
8Structured Claims
0Drawings / Sheets

Abstract

A method for performing a fundamental computational primitive in a device is provided, where the device includes a processor and a matrix multiplication accelerator (MMA). The method includes configuring a streaming engine in the device to stream data for the fundamental computational primitive from memory, configuring the MMA to format the data, and executing the fundamental computational primitive by the device.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 40 · Forward citations: 0.

Claims (8)

  1. Claim 1Independent Claim

    A device comprising: a memory; a processor coupled to the memory; and a matrix multiplication accelerator (MMA) coupled to the processor and including a multiplier matrix buffer and a multiplicand matrix buffer, wherein the device is operable to: receive a data vector including a filter of a length greater than a width of the multiplicand matrix buffer; decompose the filter into a plurality of smaller filters, wherein sizes of the smaller filters are less than the width of the multiplicand matrix buffer; format the data vector based on a computational primitive; and configure, based on the computational primitive, the MMA to format the data vector.

  2. Claim 2Depends on #1

    The device of claim 1, wherein the processor is configurable to decompose the filter into the plurality of smaller filters.

  3. Claim 3Depends on #1

    The device of claim 1, wherein the data vector comprises a row of a matrix, and wherein the MMA is configurable to execute the computational primitive by at least copying the data vector to a column in the multiplicand matrix buffer.

  4. Claim 4Depends on #1

    The device of claim 1, wherein the device is operable to configure the MMA to offset load data in the multiplicand matrix buffer.

  5. Claim 5Depends on #1

    The device of claim 1, wherein the MMA is configurable to execute the computational primitive to generate an output, and wherein the processor is configurable to add zero padding to the output of the MMA.

  6. Claim 6Depends on #1

    The device of claim 1, wherein the MMA is configurable to execute the computational primitive to generate an output, and wherein the processor is configurable to perform seam removal on the output of the MMA.

  7. Claim 7Depends on #1

    The device of claim 1, wherein the MMA is configurable to execute the computational primitive to generate an output, and wherein the processor is configurable to perform column subsampling on the output of the MMA according to a specified stride.

  8. Claim 8Depends on #1

    The device of claim 1, further comprising a streaming engine configurable to tile data of a plurality of feature maps into a filtering matrix.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 17/367,389, filed Jul. 4, 2021, currently pending and scheduled to grant as U.S. Pat. No. 11,960,567 on Apr. 16, 2024, which is a continuation of U.S. patent application Ser. No. 15/907,356, filed Feb. 28, 2018, which claims benefit of U.S. Provisional Patent Application No. 62/465,620, filed Mar. 1, 2017, the entireties of all of which are incorporated herein by reference. BACKGROUND Applications such as speech recognition, intelligent industrial control, object detection and recognition, and vision are increasingly being migrated to embedded devices. Hardware acceleration may be needed in such devices to support the computational needs of the algorithms used in such applications. SUMMARY Examples of the present disclosure relate to implementing fundamental computational primitives using a matrix multiplication accelerator. In one aspect, a method for performing a fundamental computational primitive in a device is provided, where the device includes a processor and a matrix multiplication accelerator (MMA). The method includes configuring a streaming engine in the device to stream data for the fundamental computational primitive from memory, configuring the MMA to format the data, and executing the fundamental computational primitive by the device. In one aspect, a device is provided that includes a memory, a processor coupled to the memory, and a matrix multiplication accelerator (MMA) coupled to the processor, the MMA including a multiplier buffer and a first multiplicand buffer, wherein the device is operable to configure a streaming engine in the device to stream data for a fundamental computational primitive from the memory, configure the MMA to format the data and execute the fundamental computational primitive. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 depicts an example device configurable to implement fundamental computational primitives using a ma

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (40)

PatentTitleYearCitations

Non-Patent Literature (10)

  • Utku Aydoinat, et al.
  • “
  • An Open CL(TM) Deep Learning Accelerator on Arria 10
  • ”
  • , arxiv.org,Cornell University Library, 201 Olin Library, Cornell University Ithaca, NY 14853, Jan. 13, 2017, XP080741254.
  • Hussain Tassadaq, et al.
  • “
  • PPMC: A Program Pattern Based Mwmory Controller
  • ”
  • , Mar. 19, 2012, International Conference on Financial Cryptography and Data Security; [Lecture Notes in Computer Science; Lect. Noptes Computer], Springer, Berlin, Heidelberg, pp. 89-101, XP047379471, ISBN: 978-3-642-17318-9.