2016-05-04 16:18:00 +03:00
|
|
|
Marian
|
|
|
|
======
|
2016-05-04 13:07:44 +03:00
|
|
|
A C++ gpu-specific parallel automatic differentiation library
|
|
|
|
with operator overloading.
|
2016-05-04 01:43:39 +03:00
|
|
|
|
2016-05-04 16:18:00 +03:00
|
|
|
In honour of Marian Rejewski, a Polish mathematician and
|
2016-05-04 13:07:44 +03:00
|
|
|
cryptologist.
|
2016-05-04 16:18:00 +03:00
|
|
|
|
2016-09-13 15:04:23 +03:00
|
|
|
Installation
|
|
|
|
------------
|
|
|
|
|
|
|
|
Requirements:
|
|
|
|
|
2016-09-15 18:02:25 +03:00
|
|
|
* g++ with c++11
|
2016-09-13 15:04:23 +03:00
|
|
|
* CUDA and CuDNN
|
2016-09-15 18:02:25 +03:00
|
|
|
* Boost (>= 1.56)
|
2016-09-13 15:04:23 +03:00
|
|
|
|
|
|
|
Exporting some paths for CuDNN may be required (put it, for example, in your `.bashrc` file):
|
|
|
|
|
|
|
|
export PATH=$PATH:$HOME/.local/bin:/usr/local/cuda/bin
|
2016-09-15 18:02:25 +03:00
|
|
|
export LIBRARY_PATH=$LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs:/usr/local/cudnn-5/lib64
|
|
|
|
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/usr/local/cuda/lib64/stubs:/usr/local/cudnn-5/lib64
|
2016-09-13 15:04:23 +03:00
|
|
|
export CPATH=$CPATH:/usr/local/cudnn-5/include
|
|
|
|
|
|
|
|
Compilation with `cmake > 3.5`:
|
|
|
|
|
2016-09-13 15:05:07 +03:00
|
|
|
mkdir build
|
2016-09-13 15:32:25 +03:00
|
|
|
cd build
|
2016-09-13 15:05:07 +03:00
|
|
|
cmake ..
|
|
|
|
make -j
|
2016-09-13 15:04:23 +03:00
|
|
|
|
2016-09-16 19:28:00 +03:00
|
|
|
To compile API documentation using Doxygen, first cd to the build directory, and then:
|
|
|
|
|
|
|
|
make doc
|