README.md in cumo-0.2.5 vs README.md in cumo-0.3.0.pre1

- old
+ new

@@ -20,10 +20,21 @@ export LD_LIBRARY_PATH="$CUDA_PATH/lib64:$CUDA_PATH/lib:$LD_LIBRARY_PATH" export PATH="$CUDA_PATH/bin:$PATH" export LIBRARY_PATH="$CUDA_PATH/lib64:$CUDA_PATH/lib:$LIBRARY_PATH" ``` +To use cuDNN features, install cuDNN and set your environment variables as follows: + +``` +export CUDNN_ROOT_DIR=/path/to/cudnn +export CPATH=$CUDNN_ROOT_DIR/include:$CPATH +export LD_LIBRARY_PATH=$CUDNN_ROOT_DIR/lib64:$LD_LIBRARY_PATH +export LIBRARY_PATH=$CUDNN_ROOT_DIR/lib64:$LIBRARY_PATH +``` + +FYI: I use [cudnnenv](https://github.com/unnonouno/cudnnenv) to install cudnn under my home directory like `export CUDNN_ROOT_DIR=/home/sonots/.cudnn/active/cuda`. + ## Installation Add the following line to your Gemfile: ```ruby @@ -214,10 +225,10 @@ bundle exec gdb -x run.gdb --args ruby test/narray_test.rb ``` You may put a breakpoint by calling `cumo_debug_breakpoint()` at C source codes. -### Run tests only a specific line +### Run tests only a specific line `--location` option is available as: ``` bundle exec ruby test/narray_test.rb --location 121 ```