Patents
US 10,248,908 B2#12048962 Most CitedActiveUnited States (USPTO)Utility

Alternative loop limits for accessing data in multi-dimensional tensors

9Forward Citations (#12048962 Global)
1.3/yrCitation Velocity (#4583321 Global)
1.74Citation PageRank (#18193192 Global)
27Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Methods, systems, and apparatus for accessing a N-dimensional tensor are described. In some implementations, a method includes, for each of one or more first iterations of a first nested loop, performing iterations of a second nested loop that is nested within the first nested loop until a first loop bound for the second nested loop is reached. A number of iterations of the second nested loop for the one or more first iterations of the first nested loop is limited by the first loop bound in response to the second nested loop having a total number of iterations that exceeds a value of a hardware property of the computing system. After a penultimate iteration of the first nested loop has completed, one or more iterations of the second nested loop are performed for a final iteration of the first nested loop until an alternative loop bound is reached.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method performed by a computing system for accessing an N-dimensional tensor, comprising: determining that a number of tensor elements of a particular dimension of the N-dimensional tensor is not an exact multiple of a number of individual computing units of the computing system that will be used to determine memory addresses for the tensor elements and in response: generating a first loop for controlling a number of iterations of a second loop used to traverse the particular dimension; determining a first loop bound for the second loop and an alternative loop bound for the second loop based

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (27)

PatentTitleYearCitations
US 5,375,238 ANesting management mechanism for use in loop control system199445
US 5,752,037 AMethod of prefetching data for references with multiple stride directions199835
US 5,958,048 AArchitectural support for software pipelining of nested loops199999
US 2001021972 A1Mapping circuitry and method—16
US 6,374,403 B1Programmatic method for reducing cost of control in parallel processes2002133
US 6,438,747 B1Programmatic iteration scheduling for parallel processors2002117
US 2004034754 A1Method and system for memory management optimization—72
US 2004088529 A1Method and system for the design of pipelines of processors—14
US 2004093550 A1Matrix multiplication in a Galois field for forward error correction—28
US 2004187102 A1Combining write-barriers within an inner loop with fixed step—36
US 7,225,439 B2Combining write-barriers within an inner loop with fixed step20078
US 2008141013 A1Digital processor with control means for the execution of nested loops—28
US 2008301697 A1Multiple task management between processors—30
US 2009055815 A1Eliminate Maximum Operation in Loop Bounds with Loop Versioning—18
US 7,631,305 B2Methods and products for processing loop nests200941
US 2010122066 A1Instruction method for facilitating efficient coding and instruction fetch of loop construct—29
US 2010169612 A1Data-Processing Unit for Nested-Loop Instructions—34
US 2010274972 A1Systems, methods, and apparatuses for parallel computing—162
US 2012023316 A1Parallel loop management—20
US 8,448,157 B2Eliminating redundant operations for common properties using shared real registers201312
US 8,539,211 B2Allocating registers for loop variables in a multi-threaded processor201311

Non-Patent Literature (5)

  • Ahlander, K. (2002). Einstein summation for multidimensional arrays. Computers & Mathematics with Applications, 44(8-9), 1007-1017. (Year: 2002).
  • Aho et al. "Compilers-Principles, Techniques, Tools," Compiler-Principles Techniques Tools, Addison Wesley, Jan. 1, 2007, 6 pages.
  • Aho et al. “Compilers—Principles, Techniques, Tools,” Compiler—Principles Techniques Tools, Addison Wesley, Jan. 1, 2007, 6 pages.
  • Balasa, F. et al. (1994). Transformation of nested loops with modulo indexing to affine recurrences. Parallel Processing Letters, 4(03), 271-280. (Year: 1994).
  • Bibireata, A. et al. (2004). "Memory-Constrained Data Locality Optimization for Tensor Contractions". LCPC 2003, LNCS 2958, pp. 93-108, 2004. (Year: 2004).