Date: 2500-01-01 Draft: false Math: mathjax
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install pathogen package manager | |
mkdir -p ~/.vim/autoload ~/.vim/bundle && \ | |
curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim | |
# Install other packages | |
cd ~/.vim/bundle | |
git clone https://github.com/nvie/vim-flake8.git |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export DEBIAN_FRONTEND=noninteractive | |
sudo apt-get update -q -y | |
sudo apt-get -q -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" install linux-generic | |
wget http://developer.download.nvidia.com/compute/cuda/7.5/Prod/local_installers/cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb | |
sudo dpkg -i cuda-repo-ubuntu1404-7-5-local_7.5-18_amd64.deb | |
sudo apt-get update -q -y | |
sudo apt-get install cuda -q -y | |
echo ' /usr/local/cuda/lib64 | |
/usr/local/cuda/lib' | sudo tee -a /etc/ld.so.conf.d/cuda.conf > /dev/null |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NVCC=/usr/local/cuda/bin/nvcc | |
CCFLAGS=-std=c++11 --expt-extended-lambda -G -Xcompiler -rdynamic -m64 $(CFLAGS) | |
ARCH=-gencode arch=compute_35,code=sm_35 | |
LIBS=-lcudart | |
TARGET=run | |
SOURCES = TestBincount.cu histogram.cu | |
OBJECTS = $(SOURCES:%.cu=%.o) | |
all: $(TARGET) |
OlderNewer