- Update HISTORY.md
- Commit the changes:
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
- Update version number (can also be minor or major)
bumpversion patch
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
In general, check the crt/host_config.h
file to find out which versions are supported.
Sometimes it is possible to hack the requirements there to get some newer versions working, too :)
Thrust version can be found in $CUDA_ROOT/include/thrust/version.h
.
Download Archives: https://developer.nvidia.com/cuda-toolkit-archive
Release notes for CUDA Toolkit (CTK):
from __future__ import print_function | |
import multiprocessing | |
import ctypes | |
import numpy as np | |
def shared_array(shape): | |
""" | |
Form a shared memory numpy array. | |
ssh user@remote gpg --export-secret-key KeyId | gpg --allow-secret-key-import --import |
\usepackage{mathtools} | |
\DeclarePairedDelimiter\abs{\lvert}{\rvert}% | |
\DeclarePairedDelimiter\norm{\lVert}{\rVert} | |
\makeatletter | |
\let\oldabs\abs | |
\def\abs{\@ifstar{\oldabs}{\oldabs*}} | |
\let\oldnorm\norm | |
\def\norm{\@ifstar{\oldnorm}{\oldnorm*}} | |
\makeatother |
def addcolorbar(ax, im, pos='right', size='5%', pad=0.05, orientation='vertical', | |
stub=False, max_ticks=None, label=None): | |
''' | |
add a colorbar to a matplotlib image. | |
ax -- the axis object the image is drawn in | |
im -- the image (return value of ax.imshow(...)) | |
When changed, please update: | |
https://gist.github.com/skuschel/85f0645bd6e37509164510290435a85a |
# /etc/nginx/sites-enabled/some.domain | |
# Change the server name {some.domain} | |
# Change the {host.of.notebook} and {port} in the following locations | |
server { | |
listen 80; | |
# Change the server name {some.domain} | |
server_name some.domain; | |
location / { | |
# Change the {host.of.notebook} and {port} | |
proxy_pass http://host.of.notebook:port; |
# http://www.nvidia.com/download/driverResults.aspx/117079/en-us | |
wget http://us.download.nvidia.com/tesla/375.51/nvidia-driver-local-repo-ubuntu1604_375.51-1_amd64.deb | |
sudo dpkg -i nvidia-driver-local-repo-ubuntu1604_375.51-1_amd64.deb | |
sudo apt-get update | |
sudo apt-get -y install cuda-drivers | |
echo "Reboot required." |