GPU: CUDA architecture

CUDA is Nvidia’s initiative to define a programming model and hardware architecture which aims to allow GPUs to be unified with CPUs for compute. There are various aspects of CUDA and we will try to gain an appreciation for it in this article. An application which wants to use GPU for some general purpose compute has to define a kernel function (C interface). This kernel function is run on lots of data elements in parallel. Each GPU can run different kernels, possibly from different applications. One kernel submitted to the GPU runs as a grid. Each grid consists of many thread blocks. Each thread block consists of many threads.

November 2, 2017 · 1 min · Bharath

GPU: Nvidia architectures

GPU microarchitectures: Tesla -> Fermi -> Kepler -> Maxwell -> Pascal -> Volta AWS P3 uses Tesla V100 cards — Volta microarchitecture. AWS G3 uses Tesla M60 cards — Maxwell microarchitecure. AWS G2 uses Tesla GRID K520 cards — Kepler microarchitecture. AWS P2 uses Tesla K80 cards (GK210 GPU) — Kepler microarchitecture. AWS CG1 uses Tesla M2050 cards — Fermi microarchitecture. GCE provides K80 and P100. A tensorcore is a logic circuit which allows 16x16 matrix multiplication followed by addition as a primitive. This speeds up the inner loops of deep learning programs.

November 1, 2017 · 1 min · Bharath

g2.2xlarge GPU basics

A Graphics Processing Unit is a specialized processor usually sitting on a special card with its own memory. It does not have interrupts or virtual memory. For example EC2’s g2.2xlarge machine has the following graphics card. 00:03.0 VGA compatible controller: nVidia Corporation GK104GL [GRID K520] (rev a1) GRID K520 belongs to Nvidia’s Tesla card series and has GRID support (which allows GPU sharing). It plugs into a PCI slot on the motherboard. Each such card has 2 GK104GL GPUs, two 4GB RAM units, and 2x1536 CUDA cores. I will explain in detail below. ...

November 12, 2016 · 2 min · Bharath