GPU Programming

What is a characteristic of the tensor cores (matrix units) in GPUs?

  1. AThey compute products and sums of small matrices in a single instruction, greatly accelerating AI mainly with low-precision numbers
  2. BThey are sensors that measure a physical quantity called a tensor
  3. CThey are circuits dedicated to drawing shadows in graphics
Show answer and explanation

Answer: A. They compute products and sums of small matrices in a single instruction, greatly accelerating AI mainly with low-precision numbers

A tensor core multiplies and accumulates small matrices, such as 4 × 4 or 16 × 16, in a single instruction. For the same area and power it performs many times more work than ordinary units doing one multiply and add at a time. It is mostly used with low precisions such as FP16, BF16, FP8 and INT8, greatly speeding up the matrix products that dominate neural network training and inference.

  • A. Correct. They are units specialized for matrix multiplication.
  • B. They are not sensors.
  • C. They are not for shadow rendering.