Skip to content

Instantly share code, notes, and snippets.

@ksuperman
ksuperman / cuda-setup.md
Created March 11, 2017 05:20 — forked from soareschen/cuda-setup.md
CUDA setup on Ubuntu 16.04 and LXD

This gist explains the steps required to install CUDA on Ubuntu 16.04 as well as enabling it inside LXD containers.

The setup assumes GTX 10 series hardware, tested with my GTX 1070.

Driver Installation

Download the latest Nvidia driver at http://www.nvidia.com/Download/index.aspx.

On 64-bit systems, install 32-bit OpenGL libaries first so that the driver will install