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
/* Copyright 1993-2009 NVIDIA Corporation. All rights reserved. | |
Modified by Mark Zwolinski, December 2009 | |
Modified by Robert McGibbon, August 2013 | |
*/ | |
#ifdef __APPLE__ | |
#include <OpenCL/opencl.h> | |
#else | |
#include <CL/cl.h> | |
#endif | |
#include <stdlib.h> |
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
#/bin/sh | |
cd ~ | |
git clone https://github.com/viennacl/viennacl-dev.git | |
cd viennacl-dev | |
mkdir build && cd build | |
cmake .. | |
make | |
ubunut_version=`lsb_release --release | cut -f2` | |
echo $ubunut_version |
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
#!/bin/bash | |
sudo sh -c "echo 'deb http://security.ubuntu.com/ubuntu utopic-security main' >> /etc/apt/sources.list" | |
sudo apt-get -y update | |
sudo apt-get -y install build-essential libncurses-dev fakeroot kernel-package | |
sudo apt-get -y install linux-source | |
sudo apt-get -y install linux-image-3.16.0-43-generic linux-headers-3.16.0-43 linux-source-3.16.0 | |
cd /usr/src |
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
#!/bin/sh | |
# Install and compile Caffe on NVIDIA Jetson TK1 Development Kit | |
sudo add-apt-repository universe | |
sudo apt-get update | |
sudo apt-get install libprotobuf-dev protobuf-compiler gfortran \ | |
libboost-dev cmake libleveldb-dev libsnappy-dev \ | |
libboost-thread-dev libboost-system-dev \ | |
libatlas-base-dev libhdf5-serial-dev libgflags-dev \ | |
libgoogle-glog-dev liblmdb-dev -y |
NewerOlder