Updated 4/11/2018
Here's my experience of installing the NVIDIA CUDA kit 9.0 on a fresh install of Ubuntu Desktop 16.04.4 LTS.
Updated 4/11/2018
Here's my experience of installing the NVIDIA CUDA kit 9.0 on a fresh install of Ubuntu Desktop 16.04.4 LTS.
| from collections import OrderedDict | |
| import itertools | |
| import re | |
| # order of rules is very important | |
| # this + ordered dict guarantees iteration order | |
| def add_to(od, tups): | |
| for tup in tups: | |
| od.update({tup[0]: tup[1]}) | |
| return od |