A Parallel Scan Algorithm in the Tensor Core Unit Model

Abstract

We present a parallel scan (prefix sum) algorithm in the Tensor Core Unit (TCU) model of computation. The TCU model assumes that multiplication between two square matrices of constant size s is a basic operation. In the (s2, )-TCU model, we show that for inputs of size n, the algorithm has depth at most 2 s (n) and runs in O(n(1 + /s2)/p + (s2 + ) s (n)) time assuming p tensor core units. Equivalently, the algorithm performs O(n/s2) multiplications of square matrices of size s.

0

Turn this paper into a full lesson

ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…